Skip to content

Commit

Permalink
feat: Set explicit white background on text fields (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga authored Apr 17, 2024
1 parent 5f0b68d commit e22d48e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/css/src/components/search-field/search-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
}

.ams-search-field__input {
background-color: var(--ams-search-field-input-background-color);
box-shadow: var(--ams-search-field-input-box-shadow);
color: var(--ams-search-field-input-color);
font-family: var(--ams-search-field-input-font-family);
Expand Down
1 change: 1 addition & 0 deletions packages/css/src/components/text-area/text-area.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}

.ams-text-area {
background-color: var(--ams-text-area-background-color);
border: 0;
box-shadow: var(--ams-text-area-box-shadow);
color: var(--ams-text-area-color);
Expand Down
1 change: 1 addition & 0 deletions packages/css/src/components/text-input/text-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}

.ams-text-input {
background-color: var(--ams-text-input-background-color);
border: 0;
box-shadow: var(--ams-text-input-box-shadow);
color: var(--ams-text-input-color);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"padding-inline": { "value": "{ams.space.inside.xs}" }
},
"input": {
"background-color": { "value": "{ams.color.primary-white}" },
"box-shadow": {
"value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-black}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"ams": {
"text-area": {
"background-color": { "value": "{ams.color.primary-white}" },
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-black}" },
"color": { "value": "{ams.color.primary-black}" },
"font-family": { "value": "{ams.text.font-family}" },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"ams": {
"text-input": {
"background-color": { "value": "{ams.color.primary-white}" },
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-black}" },
"color": { "value": "{ams.color.primary-black}" },
"font-family": { "value": "{ams.text.font-family}" },
Expand Down

0 comments on commit e22d48e

Please sign in to comment.