Fix loading state - force subtle token to exist (#8153)

* Fix loading state - force subtle token to exist

* Add opacity
This commit is contained in:
sean-brydon authored and GitHub committed 2023-04-08 18:50:17 +02:00
1 parent 5b7c55b029
commit d416386d7b
4 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -73,12 +73,12 @@ const buttonClasses = cva(
{
disabled: true,
color: "primary",
className: "bg-brand-subtle bg-opacity-30",
className: "bg-brand-subtle text-brand-subtle opacity-40",
},
{
loading: true,
color: "primary",
className: "bg-brand-default bg-opacity-30 text-brand-subtle",
className: "bg-brand-subtle text-brand-subtle",
},
// Secondary variants
{