Skip to content

Commit

Permalink
web: fix ui discrepancies due to theme-ui migration
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Sep 6, 2022
1 parent 0a3ef4b commit 9054dac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions apps/web/src/components/notebook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,18 @@ function Notebook(props) {
<Text variant="subBody" sx={{ color: "primary" }}>
Notebook
</Text>
<Text as="span" mx={1}>
<Text as="span" mx={1} sx={{ color: "inherit" }}>
</Text>
{new Date(date).toLocaleDateString("en", {
dateStyle: "medium"
})}
<Text as="span" mx={1}>
<Text as="span" mx={1} sx={{ color: "inherit" }}>
</Text>
<Text>{pluralize(totalNotes, "note", "notes")}</Text>
<Text sx={{ color: "inherit" }}>
{pluralize(totalNotes, "note", "notes")}
</Text>
</Flex>
</>
)
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/views/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ function Settings() {
variant="columnCenter"
bg="shade"
mr={2}
size={35}
sx={{
borderRadius: 80
borderRadius: 80,
size: 35
}}
>
<Icon.User size={20} color="primary" />
Expand Down

0 comments on commit 9054dac

Please sign in to comment.