Skip to content

Commit 424dc3c

Browse files
committed
add tests for additional-themes
1 parent 5632c18 commit 424dc3c

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

test_book/book.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ edition = "2018"
99

1010
[output.html]
1111
mathjax-support = true
12+
additional-css = ["orange.css"]
13+
additional-theme = ["Orange"]
1214

1315
[output.html.playground]
1416
editable = true

test_book/orange.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.orange {
2+
--bg: #f6f6ef;
3+
--fg: Black;
4+
5+
--sidebar-bg: #ff6600;
6+
--sidebar-fg: Black;
7+
--sidebar-non-existant: color-mix(in srgb, var(--sidebar-bg) 75%, Black);
8+
--sidebar-active: White;
9+
--sidebar-spacer: color-mix(in srgb, var(--sidebar-bg) 95%, Black);
10+
11+
--scrollbar: #8F8F8F;
12+
13+
--icons: #747474;
14+
--icons-hover: #000000;
15+
16+
--links: #828282;
17+
18+
--inline-code-color: Black
19+
20+
--theme-popup-bg: #fafafa;
21+
--theme-popup-border: #cccccc;
22+
--theme-hover: #e6e6e6;
23+
24+
--quote-bg: #e9e9ed;
25+
--quote-border: #8f8f9d;
26+
27+
--table-border-color: hsl(0, 0%, 95%);
28+
--table-header-bg: hsl(0, 0%, 80%);
29+
--table-alternate-bg: hsl(0, 0%, 97%);
30+
31+
--searchbar-border-color: #aaa;
32+
--searchbar-bg: #fafafa;
33+
--searchbar-fg: #000;
34+
--searchbar-shadow-color: #aaa;
35+
--searchresults-header-fg: #666;
36+
--searchresults-border-color: #888;
37+
--searchresults-li-bg: #e4f2fe;
38+
--search-mark-bg: #a2cff5;
39+
}

0 commit comments

Comments
 (0)