A year ago, I learned C, got familiar with GTK, and in the process, I wrote a wrapper for Wine that simplifies the configuration of many tedious tasks. Now, I don't have the time or energy to finish the project, but it had a convenient feature for adapting the Wine theme to the current GTK3 theme, which I extracted into a separate console utility. I know that Wine-staging has a 'mimicry' feature for the GTK theme, but it's implemented poorly; some widgets stop responding or don't display at all, and this has been the case for several years. My solution is much more usable, even though it is far from perfect.
The utility 'extracts' colors from the current GTK-3 theme and optimally adjusts them for use with WinAPI widgets. The algorithm is optimized for both light and dark themes. Unfortunately, the features of themes like 'Windows 95' make it impossible to achieve a modern flat design; in any case, some widgets are displayed incorrectly. For discerning users, there are several flags for finer adjustments.
Usage:
--prefix, -p $PATH ā path to the prefix
--not-run-winecfg, -w ā do not run Winecfg after applying the theme
--loader-dir, -l $DIR ā path to any Wine loader, for example, '/opt/wine-staging/bin'
--set-default, -d ā undo all color modifications and revert to default
--main-color, -m $COLOR ā arbitrary background color for the widgets, for example, '#fa4500'
--highlight-color, -c $COLOR ā color for highlighting selected widgets
--active-color, -a $COLOR ā color of the active window's title
--inactive-color, -i $COLOR ā color of the inactive window's title
--text-color, -t $COLOR ā text color
--contrast, -c $VALUE ā adjustment for the contrast of the final theme, from 0.1 to 2.0, default is 1.0
Source: linux.org.ru

