Skip to content

Commit

Permalink
Add to themes also (prevents being overriden on docs) (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminleonard authored Mar 28, 2024
1 parent e1282cd commit 740c245
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion components/dist/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,12 @@
margin-bottom: 2cm;
}

:root {
:root,
.yellow-theme,
.purple-theme,
.green-theme,
.blue-theme,
.red-theme {
--surface-default: white;
--surface-default-p3: var(--surface-default);
--content-default: black;
Expand Down
7 changes: 6 additions & 1 deletion components/src/assets/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,12 @@
margin-bottom: 2cm;
}

:root {
:root,
.yellow-theme,
.purple-theme,
.green-theme,
.blue-theme,
.red-theme {
--surface-default: white;
--surface-default-p3: var(--surface-default);
--content-default: black;
Expand Down

0 comments on commit 740c245

Please sign in to comment.