Skip to content

Commit

Permalink
fix(light): change token used in Listbox, Tile, Select components (#1…
Browse files Browse the repository at this point in the history
…2984)

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 18, 2023
1 parent eb1e4e8 commit f4d0253
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/styles/scss/components/combo-box/_combo-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

// V11: Possibly deprecate
.#{$prefix}--combo-box.#{$prefix}--list-box--light:hover {
background-color: $field;
background-color: $field-02;
}

.#{$prefix}--combo-box .#{$prefix}--text-input::-ms-clear {
Expand Down
4 changes: 2 additions & 2 deletions packages/styles/scss/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}

.#{$prefix}--dropdown--light {
background-color: $field;
background-color: $field-02;

&:hover {
background-color: $field-hover;
Expand Down Expand Up @@ -353,7 +353,7 @@

// V11: Possibly deprecate
&.#{$prefix}--dropdown--light:hover {
background-color: $field;
background-color: $field-02;
}
}

Expand Down
6 changes: 3 additions & 3 deletions packages/styles/scss/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ $list-box-menu-width: rem(300px);

// V11: Possibly deprecate
.#{$prefix}--list-box--expanded:hover.#{$prefix}--list-box--light:hover {
background-color: $field;
background-color: $field-02;
}

.#{$prefix}--list-box .#{$prefix}--text-input {
Expand Down Expand Up @@ -155,7 +155,7 @@ $list-box-menu-width: rem(300px);
// V11: Possibly deprecate
// Light variation for 'list-box'
.#{$prefix}--list-box--light {
background-color: $field;
background-color: $field-02;

&:hover {
background-color: $field-hover;
Expand Down Expand Up @@ -183,7 +183,7 @@ $list-box-menu-width: rem(300px);

// V11: Possibly deprecate
.#{$prefix}--list-box--light.#{$prefix}--list-box--disabled {
background-color: $field;
background-color: $field-02;
}

.#{$prefix}--list-box--disabled,
Expand Down
4 changes: 2 additions & 2 deletions packages/styles/scss/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@
}

.#{$prefix}--select--light .#{$prefix}--select-input {
background-color: $field;
background-color: $field-02;

&:hover {
background-color: $field-hover;
}

&:disabled,
&:hover:disabled {
background-color: $field;
background-color: $field-02;
color: $text-disabled;
cursor: not-allowed;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/scss/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

// V11: Possibly deprecate
.#{$prefix}--tile--light {
background-color: $layer;
background-color: $layer-02;
}

.#{$prefix}--tile--clickable,
Expand Down

0 comments on commit f4d0253

Please sign in to comment.