Skip to content

Commit 20dda6f

Browse files
author
JoelCDL
committed
Change relative color calculations from percents to decimal
Fixes #1
1 parent 2c99525 commit 20dda6f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css/base.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
/* Modal body */
44

55
.cookie-notice {
6-
--color-blue: oklch(from steelblue calc(l - 16%) c h);
6+
--color-blue: oklch(from steelblue calc(l - 0.15) c h);
77
--color-gold: oklch(from orange l c calc(h + 10));
88
--color-tan: oklch(from antiquewhite l calc(c - 0.025) h);
9-
--color-black-blue: oklch(from steelblue calc(l - 35%) calc(c - 0.05) h);
10-
--color-light-blue: oklch(from deepskyblue calc(l - 5%) c h);
9+
--color-black-blue: oklch(from midnightblue l calc(c - 0.1) h);
10+
--color-light-blue: oklch(from deepskyblue calc(l - 0.05) c h);
1111

1212
position: fixed;
1313
inset: auto 0 0;

0 commit comments

Comments
 (0)