Firefox-UWP-Style
Firefox-UWP-Style copied to clipboard
Sun Valley + MDL2 Theme for Firefox
Firefox UWP Style
A theme that follows UWP styling.
Install
Select the appropriate file:
Copy the content inside the folder where userChrome.css file is located into your chrome folder.
Toggle toolkit.legacyUserProfileCustomizations.stylesheets
pref in about:config
and restart Firefox.
Styles
MDL2
The original 2015 UWP design. Follows MDL2 styling with the accent color and gray-on-black or gray-on-white elements.
Enabled by default.
Sun Valley
The 2021 Fluent Design refresh. Features heavy use of rounded corners and smoother colors.
Create boolean uwp.sun-valley
pref to enable.
Customize
Toggle layout.css.backdrop-filter.enabled
pref to enable acrylic blur in some menus.
Mica (WIP)
Requires MicaForEveryone and only works with Sun Valley style
In MicaForEveryone create a process rule and select firefox
then set the backdrop type to your preferred one and titlebar to System.
Create boolean uwp.sun-valley.mica
pref to enable.
On Nightly disable gfx.webrender.dcomp-win.enabled
since it causes rendering issues.
Custom CSS
If you want to change any rules use customChrome.css
and customContent.css
.
All the theme vars --uwp-*
can be overridden, Firefox vars too but only if they are not set using !important
.
Accent Color
If you want to override the accent color create two new prefs, both string type set to RGB Hex values.
Firefox 102 and older
ui.-moz-accent-color
=#FF00FF
Accent color
ui.-moz-accent-color-foreground
=#FFFFFF
Text color when the background is the accent color.
Firefox 103 and newer
ui.accentcolor
=#FF00FF
Accent color
ui.accentcolortext
=#FFFFFF
Text color when the background is the accent color.
Screenshots (Sun Valley)