Skip to content

Announcement banner does not stand out in dark mode #798

Discussion options

You must be logged in to vote

So, I ended up doing it this way for a few reasons:

  • I wanted to have a neutral color, and this theme had started with only a light mode. So black was an easy choice.
  • mkdocs-material uses this approach for announcements (i.e. not changing colors, as can be seen on https://squidfunk.github.io/mkdocs-material/getting-started/ -- you might need to clear cookies & site data). I did end up with the specific colors being used being different -- it doesn't have the same flaw of having ~no distinction via color, vs the regular content/sidebar/header.
  • Personally, I don't want a bright banner on the top of a page in dark mode -- the contexts where I find myself using dark mode would mean that I wou…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@asmeurer
Comment options

@ETA444
Comment options

@asmeurer
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pradyunsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants