interface: loading spinner should have gray bg

This commit is contained in:
Matilde Park 2020-10-06 21:22:29 -04:00
parent 631f230f4e
commit 5d600fcc1f
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ export function AsyncButton({
{isSubmitting ? (
<LoadingSpinner
foreground={rest.primary ? "white" : 'black'}
background="transparent"
background="gray"
awaiting
text={loadingText}
/>

View File

@ -44,7 +44,7 @@ export function StatelessAsyncButton({
) : state === "loading" ? (
<LoadingSpinner
foreground={rest.primary ? "white" : "black"}
background="transparent"
background="gray"
/>
) : state === "success" ? (
"Done"