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
add a function to get current color scheme
ammarahm-edf27d4f499fc4
diff --git a/apps/mobile/src/utils/Colors.js b/apps/mobile/src/utils/Colors.jsindex c14ea6252..2fe6e3ed7 100644--- a/apps/mobile/src/utils/Colors.js+++ b/apps/mobile/src/utils/Colors.js@@ -73,6 +73,10 @@ export const COLOR_SCHEME_DARK = {light: '#ffffff',};+export function getCurrentColors() {+ return COLOR_SCHEME+}+export function setColorScheme(colors = COLOR_SCHEME, accent = ACCENT) {COLOR_SCHEME = {...colors, accent: accent.color, shade: accent.shade};