refactor component styles to use type-safe stitches tokens

https://stitches.dev/docs/typescript#stricter-experience
This commit is contained in:
jake committed 2022-07-07 13:33:20 -04:00
1 parent 2c7e266fc3
commit b1a92a2eab
40 files changed
+170 -223

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
import { styled } from "../../lib/styles/stitches.config";
import { styled, theme } from "../../lib/styles/stitches.config";
const Content = styled("div", {
fontSize: "0.9em",
lineHeight: 1.7,
color: "$text",
color: theme.colors.text,
"@medium": {
fontSize: "0.925em",