mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 01:01:17 -04:00
refactor component styles to use type-safe stitches tokens
https://stitches.dev/docs/typescript#stricter-experience
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user