Skip to content

Commit c3b9d9e

Browse files
committed
Increase contrast for AA accessibility
1 parent b96fc5a commit c3b9d9e

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

src/scss/themes/ng/body.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ textarea {
8787
width: 100%;
8888
min-width: $input-min-width;
8989
font-size: inherit;
90-
color: $button-color;
90+
color: inherit;
9191
border: 1px solid $input-border;
9292
border-top-color: darken($input-border, 3%);
9393
border-radius: $input-radius;
@@ -779,7 +779,7 @@ li > div {
779779
}
780780

781781
.cui-label {
782-
color: $secondary-color;
782+
color: hsl(205,5%,43%);
783783
font-size: 12px;
784784

785785
&-size-mini {
@@ -2776,6 +2776,10 @@ a[role="button"].cui-button-appearance-link {
27762776
.cui-toolbar {
27772777
background: none;
27782778
}
2779+
2780+
.cui-label {
2781+
color: $header-color;
2782+
}
27792783
}
27802784
}
27812785

src/scss/themes/ng/header.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ $font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, s
7575
$font-size: 13px;
7676
$line-height: 16px;
7777

78-
$secondary-color: hsl(205,5%,45%);
79-
$muted-color: hsl(205,5%,60%);
80-
$disabled-color: hsl(205,7%,73%);
81-
$subtle-color: hsl(205,10%,79%);
78+
$secondary-color: hsl(205,0%,46%);
79+
$muted-color: $secondary-color;
80+
$disabled-color: $secondary-color;
81+
$subtle-color: $secondary-color;
8282

8383
$header-background: hsl(205,13%,87%);
8484
$header-border: hsl(205,6%,75%);
@@ -110,7 +110,7 @@ $button-font-size: $font-size;
110110

111111
$input-border: hsl(205,20%,79%);
112112
$input-radius: $button-radius;
113-
$input-placeholder: hsl(205,10%,75%);
113+
$input-placeholder: $secondary-color;
114114
$input-shadow: 0 1px hsla(0,0%,0%,.03) inset, 0 2px hsla(0,0%,0%,.01) inset;
115115
$input-width: 275px;
116116
$input-background: $foreground;

0 commit comments

Comments
 (0)