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
ui: minor improvements to settings
thecodrr585acc2c2c85
diff --git a/apps/web/src/views/Settings.js b/apps/web/src/views/Settings.jsindex 33c577118..f2228facc 100644--- a/apps/web/src/views/Settings.js+++ b/apps/web/src/views/Settings.js@@ -28,7 +28,7 @@ const Settings = props => {width: 40,height: 40,borderRadius: 80,- color: "secondary"+ color: "static"}}><Icon.User style={{ margin: 2 }} size={20} />@@ -45,7 +45,7 @@ const Settings = props => {<Boxpx={2}mt={2}- fontSize="body"+ fontSize="subtitle"fontFamily="heading"fontWeight="bold"color="primary"@@ -60,15 +60,6 @@ const Settings = props => {}}py={2}>- <Flex- fontSize="body"- alignItems="center"- px={2}- sx={{ fontSize: "body" }}- >- {Titles.accent}- </Flex>-<FlexflexWrap="wrap"sx={{@@ -77,7 +68,6 @@ const Settings = props => {}}justifyContent="left"mx={2}- my={2}bg="shade"p={1}>@@ -120,21 +110,24 @@ const Settings = props => {</Flex>))}</Flex>- <Flex flexDirection="row" px={2} justifyContent="space-between">- <Text fontSize="body">Dark Mode</Text>- <Switch- onClick={() => {- setCheck(!check);- changeTheme();- }}- checked={check}- />+ <Flex+ flexDirection="row"+ px={2}+ justifyContent="space-between"+ alignItems="center"+ onClick={() => {+ setCheck(!check);+ changeTheme();+ }}+ >+ <Text fontSize="body">{check ? "Light Mode" : "Dark Mode"}</Text>+ {check ? <Icon.Sun /> : <Icon.Moon />}</Flex></Box><Boxpx={2}mt={2}- fontSize="body"+ fontSize="subtitle"fontFamily="heading"fontWeight="bold"color="primary"