Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ui: standarize the box shadow

thecodrr4b3099b46f63
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index ecc0b0980..4d71662e6 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -5,7 +5,7 @@ import { ThemeProvider } from "emotion-theming";
import { Flex, Box, Text, Button, Card, Heading } from "rebass";
import { Input } from "@rebass/forms";
import * as Icon from "react-feather";
-import theme from "./theme";
+import theme, { SHADOW } from "./theme";
const NavMenuItem = props => (
<Button
@@ -70,7 +70,7 @@ function App() {
px={3}
py={3}
sx={{
- boxShadow: "0 0 5px 2px #b0b0b099",
+ boxShadow: SHADOW,
borderWidth: 0,
borderRadius: "default"
}}
diff --git a/apps/web/src/theme.js b/apps/web/src/theme.js
index 06a1948e2..875822777 100644
--- a/apps/web/src/theme.js
+++ b/apps/web/src/theme.js
@@ -1,3 +1,4 @@
+export const SHADOW = "0 0 5px 1px #aaaaaa99";
export default {
breakpoints: ["480px", "834px", "1200px"],
colors: {