Skip to content

Commit

Permalink
feat: Add additional color variants for buttons (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSenter authored Sep 24, 2024
1 parent d6ec0cd commit 4bfb0f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/design-system/src/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@each $color, $value in $colors {
.btn-#{$color} {
@include button-variant($value, $value);
}
}

@each $color, $value in $colors {
.btn-outline-#{$color} {
@include button-outline-variant($value);
}
}
1 change: 1 addition & 0 deletions packages/design-system/src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

@import "icons";
@import "forms";
@import "buttons";

0 comments on commit 4bfb0f1

Please sign in to comment.