Skip to content

Commit 660b1d2

Browse files
committed
fix colour contrast
1 parent 7cbb874 commit 660b1d2

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Wireframe/style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ As well as useful links to learn more */
1717
https://scrimba.com/learn-css-variables-c026
1818
====== Design Palette ====== */
1919
:root {
20-
--paper: oklch(7 0 0);
20+
--color: oklch(0.6 0.25 20);
21+
--paper: oklch(0.98 0.01 20);
2122
--ink: color-mix(in oklab, var(--color) 5%, black);
2223
--font: 100%/1.5 system-ui;
2324
--space: clamp(6px, 6px + 2vw, 15px);
@@ -71,7 +72,7 @@ footer {
7172
padding: var(--space) 0;
7273

7374
.red-text {
74-
color: red;
75+
color: #c92a2a;
7576
}
7677
}
7778

@@ -116,8 +117,8 @@ article {
116117
.article-link {
117118
text-decoration: none;
118119
color: white;
119-
background-color: #ff6b6b;
120-
border: 1px solid #ff6b6b;
120+
background-color: #d9383a;
121+
border: 1px solid #d9383a;
121122
border-radius: 4px;
122123
text-align: center;
123124
font-weight: bold;
@@ -130,7 +131,7 @@ article {
130131
}
131132

132133
.article-link:hover {
133-
background-color: #d9383a;
134-
border-color: #d9383a;
134+
background-color: #a61e22;
135+
border-color: #a61e22;
135136
color: white;
136137
}

0 commit comments

Comments
 (0)