mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-02-08 08:20:31 -08:00
Add: Option - userContent.page.proton_color.system_accent #76
This commit is contained in:
parent
f9b486d5e6
commit
c8f6ad806c
4 changed files with 24 additions and 1 deletions
|
|
@ -15,4 +15,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include Option("userContent.page.proton_color.system_accent") {
|
||||
:host, :root {
|
||||
--in-content-primary-button-text-color: -moz-accent-color-foreground !important;
|
||||
--in-content-primary-button-background: -moz-accent-color !important;
|
||||
--in-content-primary-button-background-hover: color-mix(in srgb, black 10%, -moz-accent-color) !important;;
|
||||
--in-content-primary-button-background-active: color-mix(in srgb, black 20%, -moz-accent-color) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
user.js
2
user.js
|
|
@ -104,7 +104,9 @@ user_pref("userChrome.tab.bottom_rounded_corner", true);
|
|||
|
||||
// -- User Content -------------------------------------------------------------
|
||||
// user_pref("userContent.player.ui.twoline", true);
|
||||
|
||||
// user_pref("userContent.page.proton_color.dark_blue_accent", true);
|
||||
// user_pref("userContent.page.proton_color.system_accent", true);
|
||||
|
||||
// == Theme Default Settings ===================================================
|
||||
// -- User Chrome --------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -2994,6 +2994,9 @@
|
|||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
/*
|
||||
--toolbarbutton-border-radius: 4px;
|
||||
*/
|
||||
/** Reduce Padding ************************************************************/
|
||||
/*= Tab Bar - Distribution padding, radius ===================================*/
|
||||
@supports -moz-bool-pref("userChrome.tab.lepton_like_padding") or -moz-bool-pref("userChrome.tab.photon_like_padding") {
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@
|
|||
}
|
||||
}
|
||||
/** Activity Stream - Pocket order to last **********************************/
|
||||
@supports -moz-bool-pref("userContent.newTab.pocket_to_bottom") {
|
||||
@supports -moz-bool-pref("userContent.newTab.pocket_to_last") {
|
||||
.body-wrapper.on {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
|
@ -768,6 +768,15 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userContent.page.proton_color.system_accent") {
|
||||
:host,
|
||||
:root {
|
||||
--in-content-primary-button-text-color: -moz-accent-color-foreground !important;
|
||||
--in-content-primary-button-background: -moz-accent-color !important;
|
||||
--in-content-primary-button-background-hover: color-mix(in srgb, black 10%, -moz-accent-color) !important;
|
||||
--in-content-primary-button-background-active: color-mix(in srgb, black 20%, -moz-accent-color) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userContent.page.dark_mode") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue