Navigation Menu

Skip to content

Commit

Permalink
style: Enhanced theme config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 27, 2022
1 parent 96fe372 commit 69dc301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/styles/markdown.less
Expand Up @@ -98,6 +98,7 @@

[data-color-mode*='dark'] .wmde-markdown,
[data-color-mode*='dark'] .wmde-markdown-var,
.wmde-markdown-var[data-color-mode*='dark'],
.wmde-markdown[data-color-mode*='dark'],
body[data-color-mode*='dark'] {
color-scheme: dark;
Expand Down Expand Up @@ -147,6 +148,7 @@ body[data-color-mode*='dark'] {

[data-color-mode*='light'] .wmde-markdown,
[data-color-mode*='light'] .wmde-markdown-var,
.wmde-markdown-var[data-color-mode*='light'],
.wmde-markdown[data-color-mode*='light'],
body[data-color-mode*='light'] {
color-scheme: light;
Expand Down

0 comments on commit 69dc301

Please sign in to comment.