-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from zacharee/add-system-colors-scheme
Add predefined system-accent-colors color scheme file
- Loading branch information
Showing
5 changed files
with
40 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:root, | ||
html, | ||
body { | ||
/* add your css below */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
:root, | ||
html, | ||
body { | ||
/* add your css below */ | ||
|
||
} | ||
@import url("custom-base.css"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1 @@ | ||
/* only for about:* pages */ | ||
@-moz-document regexp("about:(?!blank|devtools).*") { | ||
:root, | ||
html, | ||
body { | ||
/* add your css below */ | ||
|
||
} | ||
} | ||
@import url("custom-base.css"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
:root, | ||
html, | ||
body { | ||
@media (prefers-color-scheme: dark) { | ||
--mf-accent-color: color-mix(in srgb, var(--mf-white) 15%, AccentColor) !important; | ||
--mf-tab-opacity: 0.9 !important; | ||
--mf-background-color-0: color-mix(in srgb, var(--mf-grey-900) 85%, var(--mf-accent-color)) !important; | ||
--mf-background-color-50: color-mix(in srgb, var(--mf-grey-900-white-4-percent) 85%, var(--mf-accent-color)) !important; | ||
--mf-background-color-100: color-mix(in srgb, var(--mf-grey-900-white-5-percent) 85%, var(--mf-accent-color)) !important; | ||
--mf-menu-background-color-hover: color-mix(in srgb, var(--mf-grey-800) 85%, var(--mf-accent-color)) !important; | ||
--mf-menu-border-color: color-mix(in srgb, var(--mf-grey-800) 85%, var(--mf-accent-color)) !important; | ||
--mf-text-on-accent: var(--mf-white) !important; | ||
--mf-secondary-button-text: var(--mf-white) !important; | ||
--mf-content-separator-color: color-mix(in srgb, #606164 90%, var(--mf-accent-color)) !important; | ||
--mf-selection-background-color: color-mix(in srgb, var(--mf-grey-900) 15%, var(--mf-accent-color)) !important; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
--mf-accent-color: color-mix(in srgb, var(--mf-grey-900) 15%, AccentColor); | ||
--mf-tab-opacity: 0.9; | ||
--mf-background-color-0: color-mix(in srgb, #dee1e6 90%, var(--mf-accent-color)); | ||
--mf-background-color-50: color-mix(in srgb, var(--mf-grey-100) 90%, var(--mf-accent-color)); | ||
--mf-background-color-100: color-mix(in srgb, var(--mf-white) 90%, var(--mf-accent-color)); | ||
--mf-menu-background-color-hover: color-mix(in srgb, var(--mf-background-color-0) 90%, var(--mf-accent-color)); | ||
--mf-menu-border-color: color-mix(in srgb, var(--mf-background-color-0) 90%, var(--mf-accent-color)); | ||
--mf-content-separator-color: color-mix(in srgb, #dbdcdd 90%, var(--mf-accent-color)); | ||
--mf-secondary-button-text: var(--mf-accent-color); | ||
--mf-selection-background-color: color-mix(in srgb, #dee1e6 10%, var(--mf-accent-color)); | ||
} | ||
} |