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: #303 - change badge colors #307

Merged
merged 1 commit into from
Feb 6, 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
14 changes: 7 additions & 7 deletions packages/theme/src/badge.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
@use './common/typography.scss';
.puik-badge {
@extend .puik-body-default;
@apply rounded-2xl inline-block py-1 px-3 leading-5 font-normal;
@extend .puik-body-default-medium;
@apply rounded-2xl inline-block py-1 px-3 leading-5;

&--success {
@apply bg-green text-white;
@apply bg-green-100;
}

&--warning {
@apply bg-yellow text-primary;
@apply bg-yellow-100;
}

&--danger {
@apply bg-red text-white;
@apply bg-red-100;
}

&--info {
@apply bg-blue text-white;
@apply bg-blue-100;
}

&--neutral {
@apply bg-primary-600 text-white;
@apply bg-primary-300;
}
}
Loading