I am having the same problem with Windows 10 64 bit & LibreOffice 6.0.6.2 Firefox themes are not showing. There seems to be some internet activity but when it finishes there are still no themes shown. I do like the ability to change the application and document colours so easily. Not a problem if themes are not possible in Windows but would be nice if possible as I have used them in the past.
Contrast themes use a small palette of colors (with a contrast ratio of at least 7:1) to help make elements in the UI easier to see, reduce eye strain, improve text readability, and accommodate user preferences.
Don't confuse contrast themes with light and dark themes, which support a much larger color palette and don't necessarily increase contrast or make things easier to see. For more on light and dark themes, see Color.
You can also press the left-Alt key + Shift key + Print screen (PrtScn on some keyboards) to quickly turn contrast themes on or off. If you have not selected a theme previously, the Aquatic theme is used by default (shown in the following image).
Windows apps have HighContrastAdjustment turned on by default. This sets all text color to white with a solid black highlight behind it, ensuring sufficient contrast against all backgrounds. If you are using brushes correctly, this setting should be turned off.
You can programmatically check if the current theme is a contrast theme through the AccessibilitySettings class (you must call the AccessibilitySettings constructor from a scope where the app is initialized and is already displaying content).
In the HighContrast ResourceDictionary (shown in the following code snippet), specify an appropriate SystemColor brush. See Contrast colors for details on picking one of the dynamic system HighContrast colors for the SystemColor brush.
This table shows the contrast theme colors and their recommended pairings. Each SystemColor resource is a variable that automatically updates the color when the user switches contrast themes.
In the following code snippet, we show how to pick a resource for BrandedPageBackgroundBrush. SystemColorWindowColor is a good choice here as BrandedPageBackgroundBrush indicates that it will be used for a background.
We use ThemeResource twice in the preceding example, once to reference SystemColorWindowColor and again to reference BrandedPageBackgroundBrush. Both are required for your app to theme correctly at run time. This is a good time to test out the functionality in your app. The Grid background will automatically update as you switch to a high contrast theme. It will also update when switching between different high contrast themes.
The brush names match one of the eight previously mentioned system colors exactly (with "Brush" appended). We recommend using a StaticResource instead of a local SolidColorBrush for performance reasons.
It's often helpful to look at the WinUI Gallery app to see how common controls use the SystemColor brushes. If installed already, open them by clicking the following links: WinUI 3 Gallery or WinUI 2 Gallery.
Platform controls provide built-in support for contrast themes, but you should be careful when customizing your application UI. Two of the most common issues occur when either the color of an element is hard-coded or an incorrect SystemColor resource is used.
In the following code snippet, we show a Grid element declared with a background color set to #E6E6E6 (a very light grey). If you hard-code the color in this way, you also override the background color across all themes. For example, if the user selects the Aquatic contrast theme, instead of white text on a near black background, the text color in this app changes to white while the background remains light grey. The very low contrast between text and background could make this app very difficult to use.
Instead, we recommend using the ThemeResource markup extension to reference a color in the ThemeDictionaries collection of a ResourceDictionary. This enables the automatic substitution of colors and brushes based on the user's current theme.
Pages, panes, popups, and bars should all use SystemColorWindowColor for their background. Add a contrast theme-only border only where necessary to preserve important boundaries in your UI.
In contrast themes, items in a ListView have their background set to SystemColorHighlightColor when the user hovers over, presses, or selects them. A common issue with complex list items occurs when the content of the list item fails to invert its color, making the items impossible to read.
I have created these themes with them, including specific background and text colours, and I want to export them to a .theme file to use in a GPO to automatically have it apply to their account.
Problem is, I cannot find a single bit of information about this on the internet, only tons of articles on how to disable or enable high-contrast.
I installed the inspired theme, but it seems it only gets applied to some windows. In the image below, it shows mousepad and leafpad where the theme is getting applied on mousepad but not on leafpad. Tried a few different themes and still get the same result.
Based simply on the screenshot, I would say that it looks like you would also need to change the window manager theme (Settings Manager > Window Manager) to match if one is provided by the theme (or another similar one, to support SSD window decorations. The reason it is working on mousepad could be that you are using a newer CSD-enabled version of mousepad and the theme supports CSD decorations.
I have explored this extensively and checked on windows forums and there is no way to do a direct port of this as of right now. It has to be done by hand. Perhaps a developer could write a shell script or program that could automatically make these conversions (which probably wouldn't be too hard on the Linux side of things because of the standardized format of icon themes).
Currently I'm doing this by hand with a Windows app called Icon Packager by Stardock. How to handle windows part I am unsure as I am not a windows developer. I think it could probably be done for a lot of applications using shell scripts and regedit though... hmmmm perhaps.
This link might also be useful if anyone else decides to take up this project. I'm considering doing it myself but I have a few other priorities to finish up first. -us/windows/desktop/shell/how-to-assign-a-custom-icon-to-a-file-type
Now I understand that there are specific VCL themes you can select from the project options for an application and some of those are Windows 10 related however in the application I'm building I was wanting to provide a choice to the user of either an unthemed VCL application which uses the Windows 10 OS theme or one of the VCL themes but my current experiments suggest that an unthemed VCL application does not use the OS theme.
Go to the project options dialog, Application -> Manifest node. Do you have the "enable run-time themes" checkbox checked? (Caption may be different, i'm extrapolating from a german IDE here). If you use a custom manifest for the application it needs to contain the equivalent entry for that.
Enable Runtime Themes and using VCL Styles are different things. The former is enabled in the Application Manifest settings while the latter is configured in Application Appearance. A Default Style setting of Windows should use the OS Style. Note that both require to Enable Runtime Themes.
I have a high contrast theme in Windows 10. White text, gray background. Pretty much identical to the screenshot that Hunam posted. Windows 10 theme management is trash, but the high contrast setting is mandatory for certain window elements to have custom colors.
The fact that it overrides colors in web browsers is an ABSOLUTE NIGHTMARE. Websites are designed with specific color themes to give their own contrast to different elements on the page (borders, links, buttons, interactive elements, mouseover highlights, text boxes, etc).
Disable this feature. It is not even needed in Brave as the Brave Appearance Settings already is outstanding for selecting a Dark or Light background. You can also change font colors and a host of other appearance settings that work for people who use High Contrast.
I had been wondering if there would be a solution since Chrome ended up having a similar problem.
Just saw the Forced Colors solution. Outstanding! Everything that update had broken for me, has now been fixed. Brave is back!
I am using Linux Mint with Cinnamon.Whenever I install a theme, it changes the 'system' elements, like the menu and taskbar, but not the window borders or buttons or the like. I went on the 'Other Settings' tab in the 'Themes' window, but no options other than the ones that came with the system appear. Specifically, I want the Holo theme to be system-wide.
The theme of the widget library (aka. toolkit), which is usually primarily GTK. "Primarily", because in fact the toolkit used by an application is determined by the application itself, but the most common one is GTK. The DE (desktop environment) includes a bunch of applications of its own and these will all use the same toolkit; Cinnamon is a GTK based DE. However, keep in mind that it's possible to run applications which don't use GTK, in which case, they will probably not match the theme.
The theme used by the window manager. The window manager is a layer underneath the DE, and it determines how windows look and behave. They employ themes too, but these are unrelated to any widget theme. Unlike the widget toolkit, the window is not determined per application, and so the border, titlebar, etc. will appear the same regardless.
c80f0f1006