feat: remove emphasis color and auto generate theme color
This commit is contained in:
@@ -37,10 +37,10 @@ a {
|
||||
@apply h-8;
|
||||
@apply px-5;
|
||||
@apply min-w-[100px];
|
||||
@apply shadow-button;
|
||||
@apply whitespace-nowrap;
|
||||
@apply font-medium;
|
||||
@apply transition-colors;
|
||||
@apply active:scale-95;
|
||||
}
|
||||
|
||||
.button.is-auto-width {
|
||||
@@ -75,7 +75,6 @@ a {
|
||||
}
|
||||
|
||||
.button.is-primary {
|
||||
--shadow-color-button: var(--theme-color-emphasis);
|
||||
@apply text-white;
|
||||
@apply fill-accent;
|
||||
@apply bg-accent;
|
||||
@@ -138,17 +137,14 @@ a {
|
||||
}
|
||||
|
||||
.button.is-green {
|
||||
--shadow-color-button: theme("colors.green.700");
|
||||
@apply bg-green-500 hover:bg-green-600 focus:bg-green-700;
|
||||
}
|
||||
|
||||
.button.is-red {
|
||||
--shadow-color-button: theme("colors.red.700");
|
||||
@apply bg-red-500 hover:bg-red-600 focus:bg-red-700;
|
||||
}
|
||||
|
||||
.button.is-gray {
|
||||
--shadow-color-button: theme("colors.gray.700");
|
||||
@apply bg-gray-500 hover:bg-gray-600 focus:bg-gray-700;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user