Skip to content

Commit fb6839b

Browse files
104 improve theme contrasts to ensure wcag aa or aaa compliance (#125)
* fix: make chimera theme main color darker * fix: improve chimera-blues contrasts * fix: improve chimera-autumn contrasts
1 parent 7c6c8da commit fb6839b

File tree

6 files changed

+59
-59
lines changed

6 files changed

+59
-59
lines changed

build/chimera-autumn.css

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/chimera-blues.css

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/chimera.css

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/themes/chimera-autumn.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ $font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
33
"Helvetica Neue", Arial, "Noto Sans", sans-serif;
44

55
//Color palette
6-
$Chimera: hsl(25, 80%, 55%); // Rusty Red
7-
$Chimera-dark: hsl(25, 80%, 40%); // Dark Rust
8-
$Chimera-darker: hsl(25, 80%, 25%); // Deep Rust
6+
$Chimera: hsl(25, 80%, 37%); // Rusty Red
7+
$Chimera-dark: hsl(25, 80%, 32%); // Dark Rust
8+
$Chimera-darker: hsl(25, 80%, 27%); // Deep Rust
99
$Chimera-text: hsl(25, 50%, 20%); // Dark Brown (revised for better contrast)
1010
$Chimera-text-secondary: #fff; // Dark Gray
1111
$Chimera-text-disabled: hsl(25, 50%, 40%);
12-
$Chimera-bg: hsl(30, 45%, 95%); // Soft Orange
13-
$Chimera-bg-secondary: hsl(30, 30%, 90%);
14-
$Chimera-link: hsl(25, 80%, 55%);
12+
$Chimera-bg: hsl(30, 45%, 97%); // Soft Orange
13+
$Chimera-bg-secondary: hsl(30, 45%, 90%);
14+
$Chimera-link: hsl(25, 80%, 37%);
1515
$Chimera-focus: hsl(202, 80%, 50%);
1616
$Chimera-fill: hsla(25, 80%, 55%, 10%);
1717
$Chimera-border: hsl(25, 25%, 80%);

src/themes/chimera-blues.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ $font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
33
"Helvetica Neue", Arial, "Noto Sans", sans-serif;
44

55
//Color palette
6-
$Chimera: hsl(210, 100%, 55%); // Rusty Red
6+
$Chimera: hsl(210, 100%, 45%); // Rusty Red
77
$Chimera-dark: hsl(210, 100%, 40%); // Dark Rust
8-
$Chimera-darker: hsl(210, 100%, 30%); // Deep Rust
8+
$Chimera-darker: hsl(210, 100%, 35%); // Deep Rust
99
$Chimera-text: rgb(38, 37, 59);
1010
$Chimera-text-secondary: #fff; // Dark Gray
1111
$Chimera-text-disabled: hsl(243, 20%, 60%);
1212
$Chimera-bg: hsl(0, 0%, 100%); // Soft Orange
13-
$Chimera-bg-secondary: hsl(209, 91%, 95%);
14-
$Chimera-link: hsl(210, 100%, 55%);
13+
$Chimera-bg-secondary: hsl(209, 91%, 97%);
14+
$Chimera-link: hsl(210, 100%, 45%);
1515
$Chimera-focus: hsl(210, 100%, 70%);
1616
$Chimera-fill: hsla(202, 80%, 55%, 10%);
1717
$Chimera-border: hsl(202, 25%, 80%);

src/themes/chimera.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ $font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
33
"Helvetica Neue", Arial, "Noto Sans", sans-serif;
44

55
//Color palette
6-
$Chimera: hsl(173, 100%, 33%);
7-
$Chimera-dark: hsl(173, 100%, 23%);
8-
$Chimera-darker: hsl(173, 100%, 13%);
6+
$Chimera: hsl(173, 100%, 25%);
7+
$Chimera-dark: hsl(173, 100%, 20%);
8+
$Chimera-darker: hsl(173, 100%, 15%);
99
$Chimera-text: hsl(0, 0%, 25%);
1010
$Chimera-text-secondary: #ffff;
1111
$Chimera-text-disabled: hsl(0, 0%, 65%);
1212
$Chimera-bg: hsl(40, 30%, 100%);
1313
$Chimera-bg-secondary: hsl(60, 5%, 95%);
14-
$Chimera-link: hsl(173, 100%, 33%);
14+
$Chimera-link: hsl(173, 100%, 25%);
1515
$Chimera-focus: hsl(267, 60%, 60%);
1616
$Chimera-fill: hsla(173, 100%, 33%, 10%);
1717
$Chimera-border: hsl(0, 0%, 90%);

0 commit comments

Comments
 (0)