Created
February 16, 2024 14:51
-
-
Save peterbe/4b929d684c9cebf0ae4342ee79091b47 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* Orange color for light color scheme (Default) */ | |
/* Can be forced with data-theme="light" */ | |
[data-theme=light], | |
:root:not([data-theme=dark]) { | |
--pico-text-selection-color: rgba(244, 93, 44, 0.25); | |
--pico-primary: #bd3c13; | |
--pico-primary-background: #d24317; | |
--pico-primary-underline: rgba(189, 60, 19, 0.5); | |
--pico-primary-hover: #942d0d; | |
--pico-primary-hover-background: #bd3c13; | |
--pico-primary-focus: rgba(244, 93, 44, 0.5); | |
--pico-primary-inverse: #fff; | |
} | |
/* Orange color for dark color scheme (Auto) */ | |
/* Automatically enabled if user has Dark mode enabled */ | |
@media only screen and (prefers-color-scheme: dark) { | |
:root:not([data-theme]) { | |
--pico-text-selection-color: rgba(245, 107, 61, 0.1875); | |
--pico-primary: #f56b3d; | |
--pico-primary-background: #d24317; | |
--pico-primary-underline: rgba(245, 107, 61, 0.5); | |
--pico-primary-hover: #f8a283; | |
--pico-primary-hover-background: #e74b1a; | |
--pico-primary-focus: rgba(245, 107, 61, 0.375); | |
--pico-primary-inverse: #fff; | |
} | |
} | |
/* Orange color for dark color scheme (Forced) */ | |
/* Enabled if forced with data-theme="dark" */ | |
[data-theme=dark] { | |
--pico-text-selection-color: rgba(245, 107, 61, 0.1875); | |
--pico-primary: #f56b3d; | |
--pico-primary-background: #d24317; | |
--pico-primary-underline: rgba(245, 107, 61, 0.5); | |
--pico-primary-hover: #f8a283; | |
--pico-primary-hover-background: #e74b1a; | |
--pico-primary-focus: rgba(245, 107, 61, 0.375); | |
--pico-primary-inverse: #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment