Skip to content

Commit a11a6b2

Browse files
committed
WIP: replace hard-coded #fff with the --main-bg property
This is a step in the right direction, but whether `--main-bg` can be reused for this, I doubt: it is not quite as bright as #fff, at least in light mode. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3e6b792 commit a11a6b2

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

assets/sass/application.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ code {
3434
}
3535

3636
pre {
37-
background-color: #fff;
37+
background-color: var(--main-bg);
3838
border: solid 1px #efeee6;
3939
border-radius: 3px;
4040
color: var(--orange);

assets/sass/forms.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ form#search {
5858

5959
&.focus {
6060
border-color: #007175;
61-
background-color: #fff;
61+
background-color: var(--main-bg);
6262
}
6363
}
6464

assets/sass/front-page.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ $monitor-height: 271px;
133133
height: $monitor-height - 45;
134134
padding-top: 45px;
135135
padding-left: 40px;
136-
color: #fff;
136+
color: var(--main-bg);
137137
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
138138

139139
h4 {
140140
font-weight: normal;
141-
color: #fff;
141+
color: var(--main-bg);
142142
font-size: 16px;
143143
}
144144

@@ -167,7 +167,7 @@ $monitor-height: 271px;
167167
padding: 5px 0;
168168
margin-top: 10px;
169169
font-size: 16px;
170-
color: #fff;
170+
color: var(--main-bg);
171171
text-align: center;
172172
background-image: linear-gradient(#1c868c, #186368);
173173
border-top: solid 1px #085e64;

assets/sass/layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ a.dropdown-trigger {
310310
position: absolute;
311311
z-index: 199;
312312
display: none;
313-
background-color: #fff;
313+
background-color: var(--main-bg);
314314
border: solid 1px var(--base-border-color-darker-8);
315315
@include border-radius(3px);
316316
@include box-shadow(0 1px 2px #ccc);

assets/sass/lists.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ol#about-nav {
103103

104104
&.current {
105105
@include background-image-2x($baseurl + "images/icons/nav-circles", 90px, 180px, 0 -90px);
106-
color: #fff;
106+
color: var(--main-bg);
107107
opacity: 1;
108108
}
109109

assets/sass/search.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
table {
2828
width: 100%;
2929
line-height: 1;
30-
background-color: #fff;
30+
background-color: var(--main-bg);
3131
@include border-bottom-right-radius(3px);
3232
@include border-bottom-left-radius(3px);
3333

@@ -61,13 +61,13 @@
6161

6262
&:hover,
6363
&.highlight {
64-
color: #fff;
64+
color: var(--main-bg);
6565
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
6666
background: #55bec4;
6767
background-image: linear-gradient(#55bec4, #54b2b7);
6868

6969
span {
70-
color: #fff;
70+
color: var(--main-bg);
7171
}
7272
}
7373
}

assets/sass/typography.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ code {
260260
line-height: $fixed-width-line-height;
261261
font-variant-ligatures: none;
262262
color: var(--orange);
263-
background-color: #fff;
263+
background-color: var(--main-bg);
264264
border: solid 1px #efeee6;
265265
}
266266

0 commit comments

Comments
 (0)