Skip to content

Commit

Permalink
refactor dracula theme sass code
Browse files Browse the repository at this point in the history
  • Loading branch information
t-fritsch committed Sep 2, 2023
1 parent 3a830dd commit 81ea116
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
23 changes: 10 additions & 13 deletions css/theme/source/dracula.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,17 @@ $codeFont: "Fira Code", $systemFontsMono;
--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 {
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 {
li::marker {
color: var(--r-list-bullet-color);
Expand Down
3 changes: 0 additions & 3 deletions dist/theme/dracula.css
Original file line number Diff line number Diff line change
Expand Up @@ -372,15 +372,12 @@ section.has-light-background, section.has-light-background h1, section.has-light
.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);
}

.reveal ul li::marker, .reveal ol li::marker {
color: var(--r-list-bullet-color);
}

0 comments on commit 81ea116

Please sign in to comment.