vuepress-theme-reco/styles/mode.styl
reco_luan bc74019dac feat: add dark mode(part.3)
1. move SearchBox.vue to local
2. general adaptation work
2019-11-28 11:49:03 +08:00

13 lines
388 B
Stylus

:root
--background-color $backgroundColor
--box-shadow $boxShadow
--box-shadow-hover $boxShadowHover
--text-color $textColor
--border-color $borderColor
@media (prefers-color-scheme: dark)
--background-color $backgroundColorDark
--box-shadow $boxShadowDark
--box-shadow-hover $boxShadowHoverDark
--text-color $textColorDark
--border-color $borderColorDark