mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
interface: loading spinner should have gray bg
This commit is contained in:
parent
631f230f4e
commit
5d600fcc1f
@ -38,7 +38,7 @@ export function AsyncButton({
|
||||
{isSubmitting ? (
|
||||
<LoadingSpinner
|
||||
foreground={rest.primary ? "white" : 'black'}
|
||||
background="transparent"
|
||||
background="gray"
|
||||
awaiting
|
||||
text={loadingText}
|
||||
/>
|
||||
|
@ -44,7 +44,7 @@ export function StatelessAsyncButton({
|
||||
) : state === "loading" ? (
|
||||
<LoadingSpinner
|
||||
foreground={rest.primary ? "white" : "black"}
|
||||
background="transparent"
|
||||
background="gray"
|
||||
/>
|
||||
) : state === "success" ? (
|
||||
"Done"
|
||||
|
Loading…
Reference in New Issue
Block a user