Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Button): use text-utility-default state tokens #1979

Merged
merged 1 commit into from
Jun 7, 2024
Merged
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
6 changes: 4 additions & 2 deletions src/components/Button/Button-v2.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,35 +200,37 @@
}
}

/* TODO-AH: EDS-1344 confirm color: var(--eds-theme-color-text-utility-interactive-secondary-hover) and -active */
.button--secondary.button--variant-neutral {
color: var(--eds-theme-color-text-utility-default-secondary);
border-color: currentColor;
background-color: var(--eds-theme-color-background-utility-default-no-emphasis);

&:hover {
color: var(--eds-theme-color-text-utility-default-secondary-hover);
border-color: var(--eds-theme-color-border-utility-default-medium-emphasis-hover);
background-color: var(--eds-theme-color-background-utility-default-no-emphasis-hover);
}

&:active {
color: var(--eds-theme-color-text-utility-default-secondary-active);
border-color: var(--eds-theme-color-border-utility-default-medium-emphasis-active);
background-color: var(--eds-theme-color-background-utility-default-no-emphasis-active);
}
}

/* TODO-AH: EDS-1344 confirm color: var(--eds-theme-color-text-utility-interactive-secondary-hover) and -active */
.button--tertiary.button--variant-neutral {
color: var(--eds-theme-color-text-utility-default-secondary);
border-color: transparent;
background-color: var(--eds-theme-color-background-utility-default-no-emphasis);

&:hover {
color: var(--eds-theme-color-text-utility-default-secondary-hover);
border-color: var(--eds-theme-color-background-utility-default-medium-emphasis-hover);
background-color: var(--eds-theme-color-background-utility-default-no-emphasis-hover);
}

&:active {
color: var(--eds-theme-color-text-utility-default-secondary-active);
border-color: var(--eds-theme-color-background-utility-default-medium-emphasis-active);
background-color: var(--eds-theme-color-background-utility-default-no-emphasis-active);
}
Expand Down
Loading