sunhat/themes/firefox/user.js

15 lines
739 B
JavaScript

// Edge-Frfox - user.js
// https://github.com/bmFtZQ/edge-frfox
// This file contains the settings required for the theme to function correctly.
// Enables the userChrome.css and userContent.css files.
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
// Allows the theme's SVG icons to be coloured properly.
user_pref("svg.context-properties.content.enabled", true);
// Allows colours used in the theme to be mixed with others.
user_pref("layout.css.color-mix.enabled", true);
// Allows theme to use different colours for light/dark mode.
user_pref("layout.css.light-dark.enabled", true);
// Enables the CSS :has() selector, required for hide tabs toolbar tweak.
user_pref("layout.css.has-selector.enabled", true);