Replies: 1 comment 1 reply
-
I'd say don't set the color, but add some SCSS: @include color-mode(dark) {
.math-inline img,
.math-block img {
filter: invert(1);
}
} I will add this to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, what's the best way to set the Color of the
math shortcode
dependent on dark bzw light mode? Perhaps that should be done automatically in the shortcode itself?any recommendations are welcome :-)
Beta Was this translation helpful? Give feedback.
All reactions