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 background in dark mode
ammarahm-ede31206066eaf
diff --git a/apps/mobile/src/components/Auth/background.js b/apps/mobile/src/components/Auth/background.jsindex 38bb7c22c..ebf0fdb70 100644--- a/apps/mobile/src/components/Auth/background.js+++ b/apps/mobile/src/components/Auth/background.js@@ -1,2 +1,2 @@export const SVG = color =>- `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="1920" height="1080" preserveAspectRatio="none" viewBox="0 0 1920 1080"><g fill="none"><rect width="1920" height="1080" x="0" y="0" fill="rgba(255, 255, 255, 1)"></rect><path d="M684.78-215.3C516.78-49.87 619.54 659.12 349.29 666.13 79.03 673.14-116.04 204.76-321.7 180.13" stroke="${color}" stroke-width="2"></path><path d="M1337.71-20.29C1105.2 122.03 1140.53 887.64 809.58 933.71 478.63 979.78 545.52 798.71 281.45 798.71 17.39 798.71-110.41 932.65-246.68 933.71" stroke="${color}" stroke-width="2"></path><path d="M1631.89-52.3C1379.35-21.93 1283.05 511.66 808.42 545.28 333.79 578.9 209.15 894.14-15.05 901.68" stroke="${color}" stroke-width="2"></path><path d="M1523.21-71.7C1244.4-46.38 1056.2 532.95 581.02 533.49 105.84 534.03-109.4 182.98-361.17 177.09" stroke="${color}" stroke-width="2"></path><path d="M1333.35-39.1C1041.86 57 974.42 893.52 550.36 906.48 126.3 919.44-23.8 619.56-232.63 614.88" stroke="${color}" stroke-width="2"></path></g><defs><mask id="SvgjsMask1032"><rect width="1920" height="1080" fill="#ffffff"></rect></mask></defs></svg>`;+ `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="1920" height="1080" preserveAspectRatio="none" viewBox="0 0 1920 1080"><g fill="none"><path d="M684.78-215.3C516.78-49.87 619.54 659.12 349.29 666.13 79.03 673.14-116.04 204.76-321.7 180.13" stroke="${color}" stroke-width="2"></path><path d="M1337.71-20.29C1105.2 122.03 1140.53 887.64 809.58 933.71 478.63 979.78 545.52 798.71 281.45 798.71 17.39 798.71-110.41 932.65-246.68 933.71" stroke="${color}" stroke-width="2"></path><path d="M1631.89-52.3C1379.35-21.93 1283.05 511.66 808.42 545.28 333.79 578.9 209.15 894.14-15.05 901.68" stroke="${color}" stroke-width="2"></path><path d="M1523.21-71.7C1244.4-46.38 1056.2 532.95 581.02 533.49 105.84 534.03-109.4 182.98-361.17 177.09" stroke="${color}" stroke-width="2"></path><path d="M1333.35-39.1C1041.86 57 974.42 893.52 550.36 906.48 126.3 919.44-23.8 619.56-232.63 614.88" stroke="${color}" stroke-width="2"></path></g><defs><mask id="SvgjsMask1032"><rect width="1920" height="1080" fill="#ffffff"></rect></mask></defs></svg>`;diff --git a/apps/mobile/src/components/Auth/login.js b/apps/mobile/src/components/Auth/login.jsindex 66013081f..548649c36 100644--- a/apps/mobile/src/components/Auth/login.js+++ b/apps/mobile/src/components/Auth/login.js@@ -134,7 +134,7 @@ export const Login = ({ changeMode }) => {}}><BouncingView initialScale={1.2} duration={5000}>- <SvgToPngView src={SVG(colors.night ? 'white' : 'black')} height={700} />+ <SvgToPngView src={SVG(colors.night ? colors.icon : 'black')} height={700} /></BouncingView></View><BouncingView initialScale={0.95} duration={3000}>diff --git a/apps/mobile/src/components/Auth/signup.js b/apps/mobile/src/components/Auth/signup.jsindex d2658c592..cb1391a13 100644--- a/apps/mobile/src/components/Auth/signup.js+++ b/apps/mobile/src/components/Auth/signup.js@@ -119,7 +119,7 @@ export const Signup = ({ changeMode, welcome, trial }) => {}}><BouncingView initialScale={1.2} duration={5000}>- <SvgToPngView src={SVG(colors.night ? 'white' : 'black')} height={700} />+ <SvgToPngView src={SVG(colors.night ? colors.icon : 'black')} height={700} /></BouncingView></View>