remove bad "dark" mode for spinner

This commit is contained in:
Paul Miller
2023-06-14 10:16:08 -05:00
committed by benthecarman
parent db3f5c9d2f
commit 0df586051e
2 changed files with 5 additions and 3 deletions

View File

@@ -113,8 +113,7 @@ export const LoadingSpinner = (props: { big?: boolean; wide?: boolean }) => {
}} }}
> >
<svg <svg
aria-hidden="true" class="w-8 h-8 mr-2 text-gray-200 animate-spin fill-m-red place-self-center"
class="w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-m-red place-self-center"
viewBox="0 0 100 101" viewBox="0 0 100 101"
fill="none" fill="none"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@@ -128,7 +127,6 @@ export const LoadingSpinner = (props: { big?: boolean; wide?: boolean }) => {
fill="currentFill" fill="currentFill"
/> />
</svg> </svg>
<span class="sr-only">Loading...</span>
</div> </div>
); );
}; };

View File

@@ -3,6 +3,7 @@ import NavBar from "~/components/NavBar";
import { OnboardWarning } from "~/components/OnboardWarning"; import { OnboardWarning } from "~/components/OnboardWarning";
import { ShareCard } from "~/components/ShareCard"; import { ShareCard } from "~/components/ShareCard";
import { import {
Button,
DefaultMain, DefaultMain,
LargeHeader, LargeHeader,
SafeArea, SafeArea,
@@ -20,6 +21,9 @@ export default function Admin() {
<VStack> <VStack>
<AmountCard amountSats={"100000"} fee={"69"} /> <AmountCard amountSats={"100000"} fee={"69"} />
<ShareCard text={SAMPLE} /> <ShareCard text={SAMPLE} />
<Button loading intent="blue">
Button
</Button>
</VStack> </VStack>
</DefaultMain> </DefaultMain>
<NavBar activeTab="none" /> <NavBar activeTab="none" />