Search for a command to run...
A new WebJs app (the full-stack template), with this preset applied to it.
npm create webjs@latest my-app && cd my-app && npx @webjsdev/ui init --preset b6tOz2I0x
pnpm create webjs my-app && cd my-app && pnpm dlx @webjsdev/ui init --preset b6tOz2I0x
yarn create webjs my-app && cd my-app && yarn dlx @webjsdev/ui init --preset b6tOz2I0x
bun create webjs my-app --runtime node && cd my-app && bunx @webjsdev/ui init --preset b6tOz2I0x
Run this in a WebJs app. It writes the style and the icon library into components.json, and replaces the theme block in your stylesheet in place.
npx @webjsdev/ui init --preset b6tOz2I0x
pnpm dlx @webjsdev/ui init --preset b6tOz2I0x
yarn dlx @webjsdev/ui init --preset b6tOz2I0x
bunx @webjsdev/ui init --preset b6tOz2I0x
Copy the CSS variables for this preset.
@theme inline { --font-sans: 'Geist', sans-serif; --font-heading: var(--font-sans); } :root { --background: oklch(1 0 0); --foreground: oklch(0.153 0.006 107.1); --card: oklch(1 0 0); --card-foreground: oklch(0.153 0.006 107.1); --popover: oklch(1 0 0); --popover-foreground: oklch(0.153 0.006 107.1); --primary: oklch(0.228 0.013 107.4); --primary-foreground: oklch(0.988 0.003 106.5); --secondary: oklch(0.966 0.005 106.5); --secondary-foreground: oklch(0.228 0.013 107.4); --muted: oklch(0.966 0.005 106.5); --muted-foreground: oklch(0.58 0.031 107.3); --accent: oklch(0.966 0.005 106.5); --accent-foreground: oklch(0.228 0.013 107.4); --destructive: oklch(0.577 0.245 27.325); --border: oklch(0.93 0.007 106.5); --input: oklch(0.93 0.007 106.5); --ring: oklch(0.737 0.021 106.9); --chart-1: oklch(0.88 0.011 106.6); --chart-2: oklch(0.58 0.031 107.3); --chart-3: oklch(0.466 0.025 107.3); --chart-4: oklch(0.394 0.023 107.4); --chart-5: oklch(0.286 0.016 107.4); --radius: 0.625rem; --sidebar: oklch(0.988 0.003 106.5); --sidebar-foreground: oklch(0.153 0.006 107.1); --sidebar-primary: oklch(0.228 0.013 107.4); --sidebar-primary-foreground: oklch(0.988 0.003 106.5); --sidebar-accent: oklch(0.966 0.005 106.5); --sidebar-accent-foreground: oklch(0.228 0.013 107.4); --sidebar-border: oklch(0.93 0.007 106.5); --sidebar-ring: oklch(0.737 0.021 106.9); } .dark { --background: oklch(0.153 0.006 107.1); --foreground: oklch(0.988 0.003 106.5); --card: oklch(0.228 0.013 107.4); --card-foreground: oklch(0.988 0.003 106.5); --popover: oklch(0.228 0.013 107.4); --popover-foreground: oklch(0.988 0.003 106.5); --primary: oklch(0.93 0.007 106.5); --primary-foreground: oklch(0.228 0.013 107.4); --secondary: oklch(0.286 0.016 107.4); --secondary-foreground: oklch(0.988 0.003 106.5); --muted: oklch(0.286 0.016 107.4); --muted-foreground: oklch(0.737 0.021 106.9); --accent: oklch(0.286 0.016 107.4); --accent-foreground: oklch(0.988 0.003 106.5); --destructive: oklch(0.704 0.191 22.216); --border: oklch(1 0 0 / 10%); --input: oklch(1 0 0 / 15%); --ring: oklch(0.58 0.031 107.3); --chart-1: oklch(0.88 0.011 106.6); --chart-2: oklch(0.58 0.031 107.3); --chart-3: oklch(0.466 0.025 107.3); --chart-4: oklch(0.394 0.023 107.4); --chart-5: oklch(0.286 0.016 107.4); --sidebar: oklch(0.228 0.013 107.4); --sidebar-foreground: oklch(0.988 0.003 106.5); --sidebar-primary: oklch(0.488 0.243 264.376); --sidebar-primary-foreground: oklch(0.988 0.003 106.5); --sidebar-accent: oklch(0.286 0.016 107.4); --sidebar-accent-foreground: oklch(0.988 0.003 106.5); --sidebar-border: oklch(1 0 0 / 10%); --sidebar-ring: oklch(0.58 0.031 107.3); }
Paste a preset code to load a saved configuration.
Customize everything from the ground up. Pick your style, base color, theme, fonts, radius and icons.
One command installs it into any WebJs app.