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

buttons #32

Merged
merged 2 commits into from
Jan 28, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
fix(button): force colors on buttons
puria committed Jan 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 00f5814f252b96a356a1163486cfd7edcbf9cbc7
6 changes: 6 additions & 0 deletions src/components/button/d-button.scss
Original file line number Diff line number Diff line change
@@ -18,13 +18,19 @@

.accent {
@apply bg-accent text-on-accent;
* {
@apply text-on-accent;
}
&:active {
background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%), var(--accent);
}
}

.primary {
@apply bg-primary text-on;
* {
@apply text-on;
}
&:active {
background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), var(--primary);
}