From 4bfb0f1724271c60356f893f5cb771589cd101d8 Mon Sep 17 00:00:00 2001 From: Tyler Senter Date: Tue, 24 Sep 2024 12:26:16 -0400 Subject: [PATCH] feat: Add additional color variants for buttons (#155) --- packages/design-system/src/_buttons.scss | 11 +++++++++++ packages/design-system/src/main.scss | 1 + 2 files changed, 12 insertions(+) create mode 100644 packages/design-system/src/_buttons.scss diff --git a/packages/design-system/src/_buttons.scss b/packages/design-system/src/_buttons.scss new file mode 100644 index 000000000..b338569d3 --- /dev/null +++ b/packages/design-system/src/_buttons.scss @@ -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); + } +} diff --git a/packages/design-system/src/main.scss b/packages/design-system/src/main.scss index 1f512305e..372c17bdb 100644 --- a/packages/design-system/src/main.scss +++ b/packages/design-system/src/main.scss @@ -4,3 +4,4 @@ @import "icons"; @import "forms"; +@import "buttons";