🐛(react) change most tertiary buttons to tertiary-text

Since the addition of tertiary-text variant, the original tertiary
variant has seen its background color changing from transparent to
greyscale-100, the change has impacted lots of components making
them look odd. So that's why I updated most of old tertiary to
tertiary-text.

Fixes #223
This commit is contained in:
Nathan Vasse
2024-01-08 11:36:43 +01:00
committed by NathanVss
parent 1787df0853
commit 5c5964cf9d
8 changed files with 20 additions and 20 deletions

View File

@@ -135,7 +135,7 @@ export const SelectMonoAux = ({
{clearable && !disabled && downshiftReturn.selectedItem && (
<>
<Button
color="tertiary"
color="tertiary-text"
size="nano"
aria-label={t(
"components.forms.select.clear_button_aria_label",
@@ -152,7 +152,7 @@ export const SelectMonoAux = ({
)}
<Button
color="tertiary"
color="tertiary-text"
size="nano"
className="c__select__inner__actions__open"
icon={

View File

@@ -109,7 +109,7 @@ export const SelectMultiAux = ({ children, ...props }: SelectMultiAuxProps) => {
props.selectedItems.length > 0 && (
<>
<Button
color="tertiary"
color="tertiary-text"
size="nano"
aria-label={t(
"components.forms.select.clear_all_button_aria_label",
@@ -125,7 +125,7 @@ export const SelectMultiAux = ({ children, ...props }: SelectMultiAuxProps) => {
</>
)}
<Button
color="tertiary"
color="tertiary-text"
size="nano"
className="c__select__inner__actions__open"
icon={