move stitches-normalize into this repo

This commit is contained in:
2022-05-31 19:06:40 -04:00
parent 3c48207bd5
commit d1ee8b2632
4 changed files with 215 additions and 119 deletions
+2 -5
View File
@@ -1,11 +1,8 @@
import { createStitches } from "@stitches/react";
// modified modern-normalize.css in object form:
// https://github.com/jakejarvis/stitches-normalize/blob/main/src/index.ts
import normalizeCss from "stitches-normalize";
// misc. helpers
import hexToRgba from "hex-to-rgba";
import normalizeStyles from "./helpers/normalize";
// web fonts
import { Inter, RobotoMono } from "./fonts";
@@ -111,7 +108,7 @@ export const darkTheme = createTheme({
export const globalStyles = globalCss(
// @ts-ignore
...normalizeCss({ systemFonts: false }),
normalizeStyles,
{
"@font-face": [...Inter.family, ...RobotoMono.family],