File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import { Blurhash } from "react-blurhash"
1515import { ErrorBoundary } from "react-error-boundary"
1616import { getRandomPhoto , type UnsplashPhoto , useListPhotosInfinite } from "./api"
1717import { SearchIcon } from "./icons"
18- import { Spinner } from "./Spinner"
1918
2019const mode = framer . mode
2120
@@ -96,7 +95,7 @@ export function App() {
9695 disabled = { ! isAllowedToUpsertImage }
9796 title = { isAllowedToUpsertImage ? undefined : "Insufficient permissions" }
9897 >
99- { addRandomMutation . isPending ? < Spinner size = "normal" inheritColor /> : "Random Image" }
98+ { addRandomMutation . isPending ? < div className = "framer-spinner" /> : "Random Image" }
10099 </ button >
101100 </ div >
102101 </ div >
@@ -321,7 +320,7 @@ const GridItem = memo(function GridItem({
321320 loading && "bg-black-dimmed"
322321 ) }
323322 >
324- { loading && < Spinner size = "medium " /> }
323+ { loading && < div className = "framer-spinner bg-reversed " /> }
325324 </ div >
326325 { ! imageLoaded && photo . blur_hash && (
327326 < div className = "absolute top-0 left-0" >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1414 --color-primary : var (--framer-color-text );
1515 --color-secondary : var (--framer-color-text-secondary );
1616 --color-tertiary : var (--framer-color-text-tertiary );
17- --color-inverted : var (--framer-color-text-inverted );
17+ --color-reversed : var (--framer-color-text-reversed );
1818
1919 --border-color-divider : var (--framer-color-divider );
2020
You can’t perform that action at this time.
0 commit comments