Skip to content

Commit 62044a5

Browse files
Nemo157Joshua Nelson
authored and
Joshua Nelson
committed
Use specific colors rather than lighten/darken
lighten/darken only appear to apply when called from color properties, not for arbitrary variables.
1 parent df950a1 commit 62044a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/style/_themes.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
html {
33
--color-background-code: #f5f5f5;
44
--color-background: #fff;
5-
--color-border-light: lighten(#ddd, 5%);
5+
--color-border-light: #eaeaea;
66
--color-border: #ddd;
77
--color-doc-link-background: #333;
88
--color-doc-link-hover: #3061f3;
9-
--color-error-hover: darken(#d93d3d, 10%);
9+
--color-error-hover: #be2525;
1010
--color-error: #d93d3d;
1111
--color-macro: #068000;
1212
--color-menu-border: #cdcdcd;
@@ -16,8 +16,8 @@ html {
1616
--color-struct: #df3600;
1717
--color-type: #e57300;
1818
--color-url: #4d76ae;
19-
--color-warn-background: lighten(#e57300, 45%);
20-
--color-warn-hover: darken(#e57300, 10%);
19+
--color-warn-background: #ffe5cc;
20+
--color-warn-hover: #b25900;
2121
--color-warn: #e57300;
2222
}
2323

0 commit comments

Comments
 (0)