1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-01-17 13:28:29 +01:00

refactor dracula theme sass code

This commit is contained in:
Thomas Fritsch 2023-09-02 12:21:54 +02:00
parent 3a830dd98f
commit 81ea116292
2 changed files with 10 additions and 16 deletions

View File

@ -86,20 +86,17 @@ $codeFont: "Fira Code", $systemFontsMono;
--r-list-bullet-color: #{$listBulletColor}; --r-list-bullet-color: #{$listBulletColor};
} }
.reveal strong, .reveal b {
color: var(--r-bold-color);
}
.reveal em, .reveal i, .reveal blockquote {
color: var(--r-italic-color);
}
.reveal code {
color: var(--r-inline-code-color);
}
// Dracula colored list bullets and numbers
.reveal { .reveal {
strong, b {
color: var(--r-bold-color);
}
em, i, blockquote {
color: var(--r-italic-color);
}
code {
color: var(--r-inline-code-color);
}
// Dracula colored list bullets and numbers
ul, ol { ul, ol {
li::marker { li::marker {
color: var(--r-list-bullet-color); color: var(--r-list-bullet-color);

View File

@ -372,15 +372,12 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal strong, .reveal b { .reveal strong, .reveal b {
color: var(--r-bold-color); color: var(--r-bold-color);
} }
.reveal em, .reveal i, .reveal blockquote { .reveal em, .reveal i, .reveal blockquote {
color: var(--r-italic-color); color: var(--r-italic-color);
} }
.reveal code { .reveal code {
color: var(--r-inline-code-color); color: var(--r-inline-code-color);
} }
.reveal ul li::marker, .reveal ol li::marker { .reveal ul li::marker, .reveal ol li::marker {
color: var(--r-list-bullet-color); color: var(--r-list-bullet-color);
} }