mirror of
https://github.com/jakejarvis/stitches-normalize.git
synced 2025-04-26 06:25:23 -04:00
align rules with modern-normalize v2.0.0
This commit is contained in:
parent
aa51aaea60
commit
f4ade5dd71
@ -50,6 +50,9 @@
|
|||||||
"optional": true
|
"optional": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6"
|
||||||
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"stitches",
|
"stitches",
|
||||||
"css-in-js",
|
"css-in-js",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*! stitches-normalize | MIT License | https://github.com/jakejarvis/stitches-normalize */
|
/*! 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";
|
import type * as Stitches from "@stitches/react";
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ const normalizeCss = (options: Options = {}): Record<string, Stitches.CSSPropert
|
|||||||
|
|
||||||
// append default system font stacks
|
// append default system font stacks
|
||||||
if (options.systemFonts) {
|
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";
|
baseStyles["code, kbd, samp, pre"].fontFamily = "ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user