A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: adjust loaders colors for dark mode
thecodrr50efb5cae4ae
diff --git a/apps/web/src/components/loaders/editor-loader.tsx b/apps/web/src/components/loaders/editor-loader.tsxindex 9ab51d88e..7de0d5e9b 100644--- a/apps/web/src/components/loaders/editor-loader.tsx+++ b/apps/web/src/components/loaders/editor-loader.tsx@@ -7,13 +7,27 @@ export const EditorLoader = memo(function EditorLoader() {return (<Flex sx={{ flexDirection: "column", p: 2 }}><Flex sx={{ alignItems: "end", justifyContent: "end" }}>- <Skeleton width={45} height={30} style={{ marginRight: 5 }} />- <Skeleton width={45} height={30} />+ <Skeleton+ width={45}+ height={30}+ style={{ marginRight: 5 }}+ baseColor="var(--border)"+ />+ <Skeleton width={45} height={30} baseColor="var(--border)" /></Flex>- <Skeleton height={39} style={{ marginTop: 20 }} />+ <Skeleton+ height={39}+ style={{ marginTop: 20 }}+ baseColor="var(--border)"+ /><Box sx={{ mt: 4, mx: "5%" }}>- <Skeleton height={56} width={300} />- <Skeleton height={22} style={{ marginTop: 15 }} count={3} />+ <Skeleton height={56} width={300} baseColor="var(--border)" />+ <Skeleton+ height={22}+ style={{ marginTop: 15 }}+ count={3}+ baseColor="var(--border)"+ /></Box></Flex>);diff --git a/apps/web/src/components/loaders/list-loader.tsx b/apps/web/src/components/loaders/list-loader.tsxindex 76ccdf29b..ea633a354 100644--- a/apps/web/src/components/loaders/list-loader.tsx+++ b/apps/web/src/components/loaders/list-loader.tsx@@ -10,7 +10,7 @@ export const ListLoader = memo(function ListLoader() {<><Flex alignItems="center" justifyContent={"center"} sx={{ py: 1, mx: 1 }}><Box height={38}>- <Skeleton width={38} height={38} circle />+ <Skeleton width={38} height={38} circle baseColor="var(--border)" /></Box><Flexsx={{@@ -21,10 +21,10 @@ export const ListLoader = memo(function ListLoader() {}}><Box height={14}>- <Skeleton inline height={14} />+ <Skeleton inline height={14} baseColor="var(--border)" /></Box><Box height={10} sx={{ mt: 1 }}>- <Skeleton inline height={10} />+ <Skeleton inline height={10} baseColor="var(--border)" /></Box></Flex></Flex>diff --git a/apps/web/src/components/loaders/view-loader.tsx b/apps/web/src/components/loaders/view-loader.tsxindex ebc88d9f6..7725bd624 100644--- a/apps/web/src/components/loaders/view-loader.tsx+++ b/apps/web/src/components/loaders/view-loader.tsx@@ -8,10 +8,21 @@ export const ViewLoader = memo(function ViewLoader() {return (<Box sx={{ m: 1 }}><Flex sx={{ justifyContent: "space-between", py: 2 }}>- <Skeleton height={35} width={100} borderRadius={5} />+ <Skeleton+ height={35}+ width={100}+ borderRadius={5}+ baseColor="var(--border)"+ /><Flex>- <Skeleton height={35} width={35} circle style={{ marginRight: 5 }} />- <Skeleton height={35} width={35} circle />+ <Skeleton+ height={35}+ width={35}+ circle+ style={{ marginRight: 5 }}+ baseColor="var(--border)"+ />+ <Skeleton height={35} width={35} circle baseColor="var(--border)" /></Flex></Flex><ListLoader />