@newt-app/templates 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +13 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1279,6 +1279,8 @@ var globals_css_default = {
1279
1279
  --color-muted: var(--muted);
1280
1280
  --color-muted-foreground: var(--muted-foreground);
1281
1281
  --color-border: var(--border);
1282
+ --font-sans: var(--font-geist-sans);
1283
+ --font-mono: var(--font-geist-mono);
1282
1284
  }
1283
1285
 
1284
1286
  @layer base {
@@ -1289,6 +1291,7 @@ var globals_css_default = {
1289
1291
  body {
1290
1292
  background-color: var(--background);
1291
1293
  color: var(--foreground);
1294
+ font-family: var(--font-geist-sans);
1292
1295
  -webkit-font-smoothing: antialiased;
1293
1296
  }
1294
1297
  * {
@@ -1503,9 +1506,9 @@ var globals_css_default2 = {
1503
1506
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
1504
1507
  --color-sidebar-border: var(--sidebar-border);
1505
1508
  --color-sidebar-ring: var(--sidebar-ring);
1506
- --font-sans: var(--font-sans);
1509
+ --font-sans: var(--font-geist-sans);
1507
1510
  --font-mono: var(--font-geist-mono);
1508
- --font-heading: var(--font-sans);
1511
+ --font-heading: var(--font-geist-sans);
1509
1512
  --radius-sm: calc(var(--radius) * 0.6);
1510
1513
  --radius-md: calc(var(--radius) * 0.8);
1511
1514
  --radius-lg: var(--radius);
@@ -1589,10 +1592,7 @@ var globals_css_default2 = {
1589
1592
  @apply border-border outline-ring/50;
1590
1593
  }
1591
1594
  body {
1592
- @apply bg-background text-foreground;
1593
- }
1594
- html {
1595
- @apply font-sans;
1595
+ @apply bg-background text-foreground font-sans;
1596
1596
  }
1597
1597
  }
1598
1598
 
@@ -1711,6 +1711,7 @@ var layout_default2 = {
1711
1711
  template: `import type { Metadata } from "next";
1712
1712
  import localFont from "next/font/local";
1713
1713
  import Providers from "@/app/providers";
1714
+ import { Toaster } from "@<%= projectName %>/ui/sonner";
1714
1715
  import "@<%= projectName %>/ui/globals.css";
1715
1716
 
1716
1717
  const geistSans = localFont({
@@ -1742,7 +1743,10 @@ export default function RootLayout({
1742
1743
  return (
1743
1744
  <html lang="en" suppressHydrationWarning>
1744
1745
  <body className={\`\${geistSans.variable} \${geistMono.variable} h-full\`}>
1745
- <Providers>{children}</Providers>
1746
+ <Providers>
1747
+ {children}
1748
+ <Toaster />
1749
+ </Providers>
1746
1750
  </body>
1747
1751
  </html>
1748
1752
  );
@@ -9066,7 +9070,8 @@ var shadcnUi = {
9066
9070
  components_json_default
9067
9071
  ],
9068
9072
  packages: [
9069
- { package: "next-themes", module: "apps/web", version: "^0.4.6" }
9073
+ { package: "next-themes", module: "apps/web", version: "^0.4.6" },
9074
+ { package: "sonner", module: "apps/web", version: "^2.0.7" }
9070
9075
  ]
9071
9076
  };
9072
9077
  var shadcn_ui_default = shadcnUi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newt-app/templates",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
4
4
  "private": false,
5
5
  "description": "Templates for newt-app",
6
6
  "type": "module",