Skip to content

Commit

Permalink
add tests for additional-themes
Browse files Browse the repository at this point in the history
  • Loading branch information
expikr committed Apr 16, 2023
1 parent 5632c18 commit 424dc3c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_book/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ edition = "2018"

[output.html]
mathjax-support = true
additional-css = ["orange.css"]
additional-theme = ["Orange"]

[output.html.playground]
editable = true
Expand Down
39 changes: 39 additions & 0 deletions test_book/orange.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.orange {
--bg: #f6f6ef;
--fg: Black;

--sidebar-bg: #ff6600;
--sidebar-fg: Black;
--sidebar-non-existant: color-mix(in srgb, var(--sidebar-bg) 75%, Black);
--sidebar-active: White;
--sidebar-spacer: color-mix(in srgb, var(--sidebar-bg) 95%, Black);

--scrollbar: #8F8F8F;

--icons: #747474;
--icons-hover: #000000;

--links: #828282;

--inline-code-color: Black

--theme-popup-bg: #fafafa;
--theme-popup-border: #cccccc;
--theme-hover: #e6e6e6;

--quote-bg: #e9e9ed;
--quote-border: #8f8f9d;

--table-border-color: hsl(0, 0%, 95%);
--table-header-bg: hsl(0, 0%, 80%);
--table-alternate-bg: hsl(0, 0%, 97%);

--searchbar-border-color: #aaa;
--searchbar-bg: #fafafa;
--searchbar-fg: #000;
--searchbar-shadow-color: #aaa;
--searchresults-header-fg: #666;
--searchresults-border-color: #888;
--searchresults-li-bg: #e4f2fe;
--search-mark-bg: #a2cff5;
}

0 comments on commit 424dc3c

Please sign in to comment.