Skip to content

Commit fd04595

Browse files
Color fixes for dark color background
1 parent 414ce4d commit fd04595

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

assets/built/screen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ production stylesheet in assets/built/screen.css
7474

7575
:root.has-light-text,
7676
:is(.gh-navigation, .gh-footer).has-accent-color {
77-
--color-lighter-gray: rgb(0 0 0 / 0.1);
77+
--color-lighter-gray: rgb(255 255 255 / 0.1);
7878
--color-darker-gray: #fff;
7979
--color-secondary-text: rgb(255 255 255 / 0.64);
8080
--color-border: rgb(255 255 255 / 0.15);
@@ -254,8 +254,9 @@ a:hover {
254254
background-color: rgb(0 0 0 / 0.065);
255255
}
256256

257+
.has-light-text .gh-form:hover,
257258
.gh-footer.has-accent-color .gh-form:hover {
258-
background-color: rgb(0 0 0 / 0.15);
259+
background-color: rgb(255 255 255 / 0.15);
259260
}
260261

261262
.gh-form-input {
@@ -280,10 +281,12 @@ a:hover {
280281
opacity: 0.5;
281282
}
282283

284+
.has-light-text .gh-form-input,
283285
.gh-footer.has-accent-color .gh-form-input {
284286
color: #fff;
285287
}
286288

289+
.has-light-text .gh-form-input::placeholder,
287290
.gh-footer.has-accent-color .gh-form-input::placeholder {
288291
color: rgb(255 255 255 / 0.55);
289292
}
@@ -2404,8 +2407,6 @@ figcaption a {
24042407
/* 20. Design settings
24052408
/* ---------------------------------------------------------- */
24062409

2407-
/* 20.1. Typography */
2408-
24092410
.has-serif-title {
24102411
--factor: 1.15;
24112412
}
@@ -2539,13 +2540,6 @@ figcaption a {
25392540
font-size: 4.8rem;
25402541
}
25412542

2542-
2543-
/* 20.2. Colors */
2544-
2545-
.has-light-text .gh-form:hover {
2546-
background-color: rgb(0 0 0 / 0.2);
2547-
}
2548-
25492543
/* 21. Footer
25502544
/* ---------------------------------------------------------- */
25512545

partials/icons/arrow.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"></path></svg>
1+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" viewBox="0 0 256 256"><path d="M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"></path></svg>

0 commit comments

Comments
 (0)