Fix loading state - force subtle token to exist (#8153)
* Fix loading state - force subtle token to exist * Add opacitypull/8138/head^2
parent
5b7c55b029
commit
d416386d7b
|
@ -131,6 +131,7 @@ export default function Login({
|
|||
"--cal-brand": "#111827",
|
||||
"--cal-brand-emphasis": "#101010",
|
||||
"--cal-brand-text": "white",
|
||||
"--cal-brand-subtle": "#9CA3AF",
|
||||
} as CSSProperties
|
||||
}>
|
||||
<AuthContainer
|
||||
|
|
|
@ -88,6 +88,7 @@ const OnboardingPage = (props: IOnboardingPageProps) => {
|
|||
"--cal-brand": "#111827",
|
||||
"--cal-brand-emphasis": "#101010",
|
||||
"--cal-brand-text": "white",
|
||||
"--cal-brand-subtle": "#9CA3AF",
|
||||
} as CSSProperties
|
||||
}
|
||||
key={router.asPath}>
|
||||
|
|
|
@ -80,6 +80,7 @@ export default function Signup({ prepopulateFormValues }: inferSSRProps<typeof g
|
|||
"--cal-brand": "#111827",
|
||||
"--cal-brand-emphasis": "#101010",
|
||||
"--cal-brand-text": "white",
|
||||
"--cal-brand-subtle": "#9CA3AF",
|
||||
} as CSSProperties
|
||||
}
|
||||
aria-labelledby="modal-title"
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue