Announcement banner does not stand out in dark mode #798
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I am quite new to Furo, but I have been exploring the docs, and I found something I think is relevant. To change the colors you can override CSS elements using html_theme_options = {
"dark_css_variables": { # custom colors for bar in dark mode
"color-announcement-background": "#FEFA6D", # soft yellow
"color-announcement-text": "#000000" # black
},
"light_css_variables": { # custom colors for bar in light mode
"color-announcement-background": "#0000b3 ", # strong blue
"color-announcement-text": "#FFFFFF" # white
},
}
The element names for the color of the announcement bar background and text are found in the _colors.scss file: // Announcements
--color-announcement-background: #000000dd;
--color-announcement-text: #eeebee;
Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
So, I ended up doing it this way for a few reasons:
I'd be fine to change the color, but a light banner is something I'm hesitant toward right now. |
Beta Was this translation helpful? Give feedback.
So, I ended up doing it this way for a few reasons: