release: WRNexusJS 0.5.10

This commit is contained in:
2026-07-30 13:36:29 +05:30
parent 8fc6f15402
commit d1b0c55b53
159 changed files with 7509 additions and 604 deletions
+6 -14
View File
@@ -263,16 +263,14 @@ const config: AppConfig = {
},
},
// Fonts — the framework emits optimized <head> markup (preconnect, subsetted
// Google Fonts with font-display, self-hosted @font-face with preload) and
// auto-extends the CSP for Google Fonts. Uncomment to use a custom font:
// Fonts — optimized preconnect, subsetted weights, font-display, and CSP.
fonts: {
sans: '"Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif',
google: [{ family: "Plus Jakarta Sans", weights: [400, 500, 600, 700] }],
},
//
// fonts: {
// sans: '"Inter", ui-sans-serif, system-ui, sans-serif',
// google: [{ family: "Inter", weights: [400, 500, 600, 700] }],
// // Or self-host (fastest, no third party) — drop files in public/fonts/:
// // local: [{ family: "Inter", src: "/fonts/inter.woff2", weight: "100 900", preload: true }],
// },
// security: {
// cors: {
@@ -304,13 +302,7 @@ Allow: /
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
body {
font-family:
ui-sans-serif,
system-ui,
-apple-system,
"Segoe UI",
Roboto,
sans-serif;
font-family: var(--wire-font-sans, "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif);
}
`,
"app/layouts/document.wrn": `// Global document layout. The framework renders this once around the selected