1
mirror of https://github.com/jakejarvis/stitches-normalize.git synced 2025-04-25 16:35:22 -04:00

align rules with modern-normalize v2.0.0

This commit is contained in:
Jake Jarvis 2023-10-05 12:39:22 -04:00
parent aa51aaea60
commit f4ade5dd71
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 5 additions and 2 deletions

View File

@ -50,6 +50,9 @@
"optional": true
}
},
"engines": {
"node": ">=6"
},
"keywords": [
"stitches",
"css-in-js",

View File

@ -1,5 +1,5 @@
/*! stitches-normalize | MIT License | https://github.com/jakejarvis/stitches-normalize */
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
import type * as Stitches from "@stitches/react";
@ -133,7 +133,7 @@ const normalizeCss = (options: Options = {}): Record<string, Stitches.CSSPropert
// append default system font stacks
if (options.systemFonts) {
baseStyles["body"].fontFamily = "system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
baseStyles["html"].fontFamily = "system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
baseStyles["code, kbd, samp, pre"].fontFamily = "ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace";
}