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

Button v3 Tertiary Styles Update #5399

Merged
merged 14 commits into from
Dec 18, 2024
Merged
5 changes: 5 additions & 0 deletions .changeset/tough-pigs-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@kaizen/components': patch
---

Update Button v3 styles
18 changes: 12 additions & 6 deletions packages/components/src/__actions__/Button/v3/Button.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,25 @@
--button-border-color: transparent;
--button-text-color: var(--color-purple-800);

&[data-hovered],
&[data-pressed],
&[data-pending] {
--button-text-color: var(--color-blue-500);
}

&[data-hovered] {
--button-bg-color: var(--color-gray-200);
--button-border-color: var(--color-gray-200);
--button-bg-color: var(--color-blue-200);
--button-border-color: var(--color-blue-200);
}

&[data-pressed] {
--button-bg-color: var(--color-gray-300);
--button-border-color: var(--color-gray-300);
--button-bg-color: var(--color-blue-100);
--button-border-color: var(--color-blue-100);
}

&[data-pending] {
--button-bg-color: var(--color-gray-300);
--button-border-color: var(--color-gray-300);
--button-bg-color: var(--color-blue-100);
--button-border-color: var(--color-blue-100);
}
}

Expand Down
Loading