diff --git a/src/components/map/MapTile.js b/src/components/map/MapTile.js index 5aaa2c0..a672ad4 100644 --- a/src/components/map/MapTile.js +++ b/src/components/map/MapTile.js @@ -122,13 +122,13 @@ function MapTile({ right: 0, bottom: 0, background: - "linear-gradient(to bottom, rgba(0,0,0,0) 70%,rgba(0,0,0,0.65) 100%);", + "linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.65) 100%);", alignItems: "flex-end", justifyContent: "center", }} p={2} > - + {map.name} diff --git a/src/components/party/Party.js b/src/components/party/Party.js index 71d5162..e2c436d 100644 --- a/src/components/party/Party.js +++ b/src/components/party/Party.js @@ -55,12 +55,12 @@ function Party({ + - diff --git a/src/components/token/TokenLabel.js b/src/components/token/TokenLabel.js index 0a047ad..b5d90fb 100644 --- a/src/components/token/TokenLabel.js +++ b/src/components/token/TokenLabel.js @@ -39,6 +39,7 @@ function TokenLabel({ label }) { verticalAlign: "middle", lineHeight: 1.4, }} + color="hsl(210, 50%, 96%)" > {label} diff --git a/src/modals/SettingsModal.js b/src/modals/SettingsModal.js index 4c9d637..f317353 100644 --- a/src/modals/SettingsModal.js +++ b/src/modals/SettingsModal.js @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { Box, Label, Flex, Button } from "theme-ui"; +import { Box, Label, Flex, Button, useColorMode, Checkbox } from "theme-ui"; import Modal from "../components/Modal"; @@ -13,40 +13,54 @@ function SettingsModal({ isOpen, onRequestClose }) { window.location.reload(); } + const [colorMode, setColorMode] = useColorMode(); + return ( - - - - - + <> + + + + + + + - setIsDeleteModalOpen(false)} - > - - - - - - - - - - + + setIsDeleteModalOpen(false)} + > + + + + + + + + + ); } diff --git a/src/theme.js b/src/theme.js index 6e28eea..764f012 100644 --- a/src/theme.js +++ b/src/theme.js @@ -9,6 +9,17 @@ export default { muted: "hsla(230, 20%, 0%, 20%)", gray: "hsl(0, 0%, 70%)", overlay: "hsla(230, 25%, 18%, 0.8)", + modes: { + light: { + text: "hsl(10, 20%, 20%)", + background: "hsl(10, 10%, 98%)", + primary: "hsl(260, 100%, 80%)", + secondary: "hsl(290, 100%, 80%)", + highlight: "hsl(260, 20%, 40%)", + muted: "hsla(230, 20%, 60%, 20%)", + overlay: "hsla(230, 100%, 97%, 0.8)", + }, + }, }, fonts: { body: "'Bree Serif', serif",