Skip to content

Commit bb2ca4f

Browse files
authored
Merge pull request #765 from weihanglo/fix/quote-table-colors
Fix table and quote related color
2 parents 7fb2d54 + 42aded9 commit bb2ca4f

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

src/theme/css/variables.css

+29-29
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/* Themes */
1111

1212
.ayu {
13-
--bg: #0f1419;
13+
--bg: hsl(210, 25%, 8%);
1414
--fg: #c5c5c5;
1515

1616
--sidebar-bg: #14191f;
@@ -32,12 +32,12 @@
3232
--theme-popup-border: #5c6773;
3333
--theme-hover: #191f26;
3434

35-
--quote-bg: #262933;
36-
--quote-border: lighten(var(--quote-bg), 5%);
35+
--quote-bg: hsl(226, 15%, 17%);
36+
--quote-border: hsl(226, 15%, 22%);
3737

38-
--table-border-color: lighten(var(--bg), 5%);
39-
--table-header-bg: lighten(var(--bg), 20%);
40-
--table-alternate-bg: lighten(var(--bg), 3%);
38+
--table-border-color: hsl(210, 25%, 13%);
39+
--table-header-bg: hsl(210, 25%, 28%);
40+
--table-alternate-bg: hsl(210, 25%, 11%);
4141

4242
--searchbar-border-color: #848484;
4343
--searchbar-bg: #424242;
@@ -50,7 +50,7 @@
5050
}
5151

5252
.coal {
53-
--bg: #141617;
53+
--bg: hsl(200, 7%, 8%);
5454
--fg: #98a3ad;
5555

5656
--sidebar-bg: #292c2f;
@@ -72,12 +72,12 @@
7272
--theme-popup-border: #43484d;
7373
--theme-hover: #1f2124;
7474

75-
--quote-bg: #242637;
76-
--quote-border: lighten(var(--quote-bg), 5%);
75+
--quote-bg: hsl(234, 21%, 18%);
76+
--quote-border: hsl(234, 21%, 23%);
7777

78-
--table-border-color: lighten(var(--bg), 5%);
79-
--table-header-bg: lighten(var(--bg), 20%);
80-
--table-alternate-bg: lighten(var(--bg), 3%);
78+
--table-border-color: hsl(200, 7%, 13%);
79+
--table-header-bg: hsl(200, 7%, 28%);
80+
--table-alternate-bg: hsl(200, 7%, 11%);
8181

8282
--searchbar-border-color: #aaa;
8383
--searchbar-bg: #b7b7b7;
@@ -90,7 +90,7 @@
9090
}
9191

9292
.light {
93-
--bg: #ffffff;
93+
--bg: hsl(0, 0%, 100%);
9494
--fg: #333333;
9595

9696
--sidebar-bg: #fafafa;
@@ -112,12 +112,12 @@
112112
--theme-popup-border: #cccccc;
113113
--theme-hover: #e6e6e6;
114114

115-
--quote-bg: #f2f7f9;
116-
--quote-border: darken(var(--quote-bg), 5%);
115+
--quote-bg: hsl(197, 37%, 96%);
116+
--quote-border: hsl(197, 37%, 91%);
117117

118-
--table-border-color: darken(var(--bg), 5%);
119-
--table-header-bg: darken(var(--bg), 20%);
120-
--table-alternate-bg: darken(var(--bg), 3%);
118+
--table-border-color: hsl(0, 0%, 95%);
119+
--table-header-bg: hsl(0, 0%, 80%);
120+
--table-alternate-bg: hsl(0, 0%, 97%);
121121

122122
--searchbar-border-color: #aaa;
123123
--searchbar-bg: #fafafa;
@@ -130,7 +130,7 @@
130130
}
131131

132132
.navy {
133-
--bg: #161923;
133+
--bg: hsl(226, 23%, 11%);
134134
--fg: #bcbdd0;
135135

136136
--sidebar-bg: #282d3f;
@@ -152,12 +152,12 @@
152152
--theme-popup-border: #737480;
153153
--theme-hover: #282e40;
154154

155-
--quote-bg: #262933;
156-
--quote-border: lighten(var(--quote-bg), 5%);
155+
--quote-bg: hsl(226, 15%, 17%);
156+
--quote-border: hsl(226, 15%, 22%);
157157

158-
--table-border-color: lighten(var(--bg), 5%);
159-
--table-header-bg: lighten(var(--bg), 20%);
160-
--table-alternate-bg: lighten(var(--bg), 3%);
158+
--table-border-color: hsl(226, 23%, 16%);
159+
--table-header-bg: hsl(226, 23%, 31%);
160+
--table-alternate-bg: hsl(226, 23%, 14%);
161161

162162
--searchbar-border-color: #aaa;
163163
--searchbar-bg: #aeaec6;
@@ -170,7 +170,7 @@
170170
}
171171

172172
.rust {
173-
--bg: #e1e1db;
173+
--bg: hsl(60, 9%, 87%);
174174
--fg: #262625;
175175

176176
--sidebar-bg: #3b2e2a;
@@ -192,12 +192,12 @@
192192
--theme-popup-border: #b38f6b;
193193
--theme-hover: #99908a;
194194

195-
--quote-bg: #c1c1bb;
196-
--quote-border: darken(var(--quote-bg), 5%);
195+
--quote-bg: hsl(60, 5%, 75%);
196+
--quote-border: hsl(60, 5%, 70%);
197197

198-
--table-border-color: darken(var(--bg), 5%);
198+
--table-border-color: hsl(60, 9%, 82%);
199199
--table-header-bg: #b3a497;
200-
--table-alternate-bg: darken(var(--bg), 3%);
200+
--table-alternate-bg: hsl(60, 9%, 84%);
201201

202202
--searchbar-border-color: #aaa;
203203
--searchbar-bg: #fafafa;

0 commit comments

Comments
 (0)