We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
contrast
bgColor-default
1 parent d89f16d commit 67109bdCopy full SHA for 67109bd
.changeset/wet-moose-beg.md
@@ -0,0 +1,5 @@
1
+---
2
+"@primer/css": minor
3
4
+
5
+Change `contrast` input background to `bgColor-default`
src/forms/form-control.scss
@@ -85,8 +85,9 @@ textarea.form-control {
85
}
86
87
// Inputs with contrast for easy light gray backgrounds against white.
88
+// changing the value to default as to not remove the class all together, but deprecate the visual distinction for "contrast"
89
.input-contrast {
- background-color: var(--bgColor-muted, var(--color-canvas-inset));
90
+ background-color: var(--bgColor-default);
91
92
&:focus {
93
background-color: var(--bgColor-default, var(--color-canvas-default));
0 commit comments