docs.page icon indicating copy to clipboard operation
docs.page copied to clipboard

Separete theme color for dark mode

Open bartekpacia opened this issue 2 years ago • 3 comments

I'd like to be able to set different theme color for light and dark mode. E.g my company has an accent color (bright yellow) that looks OK on black background, but on white background it's barely legible.

So I'm proposing introducing:

themeDark, in addition to them (there is already logo and logoDark)

bartekpacia avatar Jan 18 '23 10:01 bartekpacia

This seems reasonable, wdyt @Ehesp?

Salakar avatar Jan 19 '23 07:01 Salakar

Started this here: https://github.com/invertase/docs.page/tree/feat/dark-theme

Need to properly try it out.

Ehesp avatar Jan 19 '23 11:01 Ehesp

Thanks so much! :)

Also while we're at it, it'd be nice to also add faviconDark (same case, my company's logo is black and white – https://patrol.leancode.co).

bartekpacia avatar Jan 19 '23 11:01 bartekpacia