Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wet-moose-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": minor
---

Change `contrast` input background to `bgColor-default`
3 changes: 2 additions & 1 deletion src/forms/form-control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ textarea.form-control {
}

// Inputs with contrast for easy light gray backgrounds against white.
// changing the value to default as to not remove the class all together, but deprecate the visual distinction for "contrast"
Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment has a grammatical error. 'all together' should be 'altogether' (one word) when meaning 'completely' or 'entirely'.

Suggested change
// changing the value to default as to not remove the class all together, but deprecate the visual distinction for "contrast"
// changing the value to default as to not remove the class altogether, but deprecate the visual distinction for "contrast"

Copilot uses AI. Check for mistakes.

Copy link
Preview

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment should start with a capital letter for consistency with standard comment formatting.

Suggested change
// changing the value to default as to not remove the class all together, but deprecate the visual distinction for "contrast"
// Changing the value to default as to not remove the class all together, but deprecate the visual distinction for "contrast"

Copilot uses AI. Check for mistakes.

.input-contrast {
background-color: var(--bgColor-muted, var(--color-canvas-inset));
background-color: var(--bgColor-default);

&:focus {
background-color: var(--bgColor-default, var(--color-canvas-default));
Expand Down
Loading