mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
## Description This PR ensures that the default prettier config is used for examples and templates. This config is compatible with `prettier@3` as well (upgrading prettier is bigger change that can be a future PR). ## Changes - Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will be needed upgrading to prettier@3) - Added `examples/.prettierrc.json` with default config (this will change every example) - Added `packages/create-next-app/templates/.prettierrc.json` with default config (this will change every template) ## Related - Fixes #54402 - Closes #54409
66 lines
1.3 KiB
CSS
66 lines
1.3 KiB
CSS
@font-face {
|
|
font-family: "Inter var";
|
|
font-style: normal;
|
|
font-weight: 100 900;
|
|
font-display: block;
|
|
src: url(/fonts/Inter-roman.latin.var.woff2) format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter var";
|
|
font-style: italic;
|
|
font-weight: 100 900;
|
|
font-display: block;
|
|
src: url(/fonts/Inter-italic.latin.var.woff2) format("woff2");
|
|
font-named-instance: "Italic";
|
|
}
|
|
|
|
body {
|
|
font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont,
|
|
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
|
|
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
font-feature-settings: "case" 1, "cpsp" 1, "dlig" 1, "cv01" 1, "cv02",
|
|
"cv03" 1, "cv04" 1;
|
|
font-variation-settings: "wght" 450;
|
|
font-variant: common-ligatures contextual;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
b,
|
|
strong,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-variation-settings: "wght" 650;
|
|
}
|
|
h1 {
|
|
font-variation-settings: "wght" 850;
|
|
}
|
|
h2 {
|
|
font-variation-settings: "wght" 750;
|
|
}
|
|
|
|
@media screen and (min-device-pixel-ratio: 1.5),
|
|
screen and (min-resolution: 1.5dppx) {
|
|
body {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
}
|
|
|
|
details summary {
|
|
cursor: pointer;
|
|
}
|
|
|
|
img.next-image {
|
|
margin: 0;
|
|
}
|
|
|
|
.prose a {
|
|
color: #0074de;
|
|
}
|
|
|
|
.nav-line .nav-link {
|
|
color: #69778c;
|
|
}
|