Skip to content

Commit 015808d

Browse files
authored
fix: align dark mode neutral background contrast (#540)
1 parent 7a3e2b0 commit 015808d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/buttons/src/_color.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
@apply active:bg-blue-600/16;
8484
@apply active:text-blue-400;
8585

86-
@apply disabled:bg-grey-500/8 !important;
86+
@apply disabled:bg-white/8 !important;
8787
@apply disabled:text-grey-700 !important;
8888
}
8989

packages/forms/src/_input/_color.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
@apply [&:not(select)]:[&:not([type="color"])]:[&:not([type="file"])]:read-only:bg-grey-500/8;
7272

7373
@apply disabled:border-grey-800 !important;
74-
@apply disabled:bg-grey-500/8 !important;
74+
@apply disabled:bg-white/8 !important;
7575
@apply disabled:text-grey-700 !important;
7676
}
7777

packages/forms/src/_toggle/_color.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106

107107
.c-field__radio:disabled + .c-field__label::before,
108108
.c-field__checkbox:disabled + .c-field__label::before {
109-
@apply bg-grey-500/24 !important;
109+
@apply bg-white/24 !important;
110110
}
111111

112112
/* stylelint-enable selector-max-specificity */

0 commit comments

Comments
 (0)