Introduce Dark Mode
This commit mainly changes the color definitions. Mostly, those changes are semantically equally, but there are a few changes that occurred to align the color scheme within the app.
This commit is contained in:
9
app/javascript/highlight.scss
Normal file
9
app/javascript/highlight.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
// CSS for highlight.js
|
||||
|
||||
html[data-bs-theme="light"] {
|
||||
@import 'highlight.js/styles/base16/tomorrow';
|
||||
}
|
||||
|
||||
html[data-bs-theme="dark"] {
|
||||
@import 'highlight.js/styles/base16/tomorrow-night';
|
||||
}
|
Reference in New Issue
Block a user