mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-14 23:00:49 -05:00
refactor component styles to use type-safe stitches tokens
https://stitches.dev/docs/typescript#stricter-experience
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { styled } from "../../lib/styles/stitches.config";
|
||||
import { styled, theme } from "../../lib/styles/stitches.config";
|
||||
|
||||
const HorizontalRule = styled("hr", {
|
||||
margin: "1.5em auto",
|
||||
height: "0.175em",
|
||||
border: 0,
|
||||
backgroundColor: "$light",
|
||||
backgroundColor: theme.colors.light,
|
||||
});
|
||||
|
||||
export default HorizontalRule;
|
||||
|
||||
Reference in New Issue
Block a user