Skip to content

Commit 58bb15f

Browse files
author
Adam Argyle
committed
pass contrast ratios
1 parent 164f393 commit 58bb15f

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

app/css/index.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
--surface: lch(5 0 0);
99
--text: lch(80 0 0);
1010
--white: lch(95 10 250);
11-
--brand: lch(64 30 247);
11+
--brand: lch(57 33 256);
12+
--brand-alt: lch(95 10 250);
1213

1314
@media (prefers-color-scheme: light) {
1415
--surface: lch(98 0 0);
1516
--text: lch(30 0 0);
1617
--white: lch(100 0 0);
17-
--brand: lch(65 64 250)
18+
--brand: lch(57 56 273)
1819
}
1920
}

app/css/logo.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
h1 {
2-
font-size: min(15vmin, 5rem);
2+
font-size: min(15vmin, 7rem);
33
font-weight: 100;
44
display: flex;
5+
color: var(--white);
56

67
@media (max-width: 720px) {
78
justify-content: center;
89
}
910

1011
& > span {
1112
&:nth-child(2) {
12-
color: cyan;
13+
color: deeppink;
1314
}
14-
&:nth-child(1) {
15+
&:nth-child(3) {
1516
font-weight: bold;
17+
color: var(--brand-alt);
1618
}
1719
}
1820
}
@@ -28,7 +30,8 @@ header {
2830
}
2931

3032
& > small {
31-
font-size: 1rem;
33+
font-size: 1.25rem;
3234
font-weight: 300;
35+
color: var(--brand-alt);
3336
}
3437
}

0 commit comments

Comments
 (0)