-
I recently updated my doks based sites to version In previous versions I set a static color for light and dark mode like this:
.mermaid {
...
...
background-color: rgba($lagoon-60, 0.5);
border-color: $midnight-600;
border-width: 1px;
border-style: solid;
border-radius: 5px;
} The background was set globally here: So doks 0.3.5 now introduced the darkmode settings in [dark-dark-mode] body .mermaid {
background-color: rgba($lagoon-40, 0.5);
} Unfortunately this doesn't affect anything. The rule doesn't seem to match and won't be applied. Do I use the wrong selector? Thanks for any help! 😄 |
Beta Was this translation helpful? Give feedback.
Answered by
h-enk
Oct 6, 2021
Replies: 1 comment 2 replies
-
What about: [data-dark-mode] body .mermaid {
background-color: rgba($lagoon-40, 0.5);
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
OCram85
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What about: