Skip to content

Commit 67109bd

Browse files
authored
Change contrast input background to bgColor-default (#2907)
* change bg * Create wet-moose-beg.md
1 parent d89f16d commit 67109bd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/wet-moose-beg.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": minor
3+
---
4+
5+
Change `contrast` input background to `bgColor-default`

src/forms/form-control.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ textarea.form-control {
8585
}
8686

8787
// 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"
8889
.input-contrast {
89-
background-color: var(--bgColor-muted, var(--color-canvas-inset));
90+
background-color: var(--bgColor-default);
9091

9192
&:focus {
9293
background-color: var(--bgColor-default, var(--color-canvas-default));

0 commit comments

Comments
 (0)