mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 04:18:28 -04:00
11 lines
309 B
SCSS
11 lines
309 B
SCSS
@use "sass:meta";
|
|
|
|
// hacky way to assign different HLJS themes to light/dark mode
|
|
.markdown {
|
|
@include meta.load-css("../node_modules/highlight.js/styles/stackoverflow-light.css");
|
|
}
|
|
|
|
[data-theme="dark"] .markdown {
|
|
@include meta.load-css("../node_modules/highlight.js/styles/stackoverflow-dark.css");
|
|
}
|