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 b2C8SQIAS
pnpm create webjs my-app && cd my-app && pnpm dlx @webjsdev/ui init --preset b2C8SQIAS
yarn create webjs my-app && cd my-app && yarn dlx @webjsdev/ui init --preset b2C8SQIAS
bun create webjs my-app --runtime node && cd my-app && bunx @webjsdev/ui init --preset b2C8SQIAS
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 b2C8SQIAS
pnpm dlx @webjsdev/ui init --preset b2C8SQIAS
yarn dlx @webjsdev/ui init --preset b2C8SQIAS
bunx @webjsdev/ui init --preset b2C8SQIAS
Copy the CSS variables for this preset.
@theme inline { --font-sans: 'Inter', sans-serif; --font-heading: var(--font-sans); } :root { --background: oklch(1 0 0); --foreground: oklch(0.148 0.004 228.8); --card: oklch(1 0 0); --card-foreground: oklch(0.148 0.004 228.8); --popover: oklch(1 0 0); --popover-foreground: oklch(0.148 0.004 228.8); --primary: oklch(0.508 0.118 165.612); --primary-foreground: oklch(0.979 0.021 166.113); --secondary: oklch(0.967 0.001 286.375); --secondary-foreground: oklch(0.21 0.006 285.885); --muted: oklch(0.963 0.002 197.1); --muted-foreground: oklch(0.56 0.021 213.5); --accent: oklch(0.963 0.002 197.1); --accent-foreground: oklch(0.218 0.008 223.9); --destructive: oklch(0.577 0.245 27.325); --border: oklch(0.925 0.005 214.3); --input: oklch(0.925 0.005 214.3); --ring: oklch(0.723 0.014 214.4); --chart-1: oklch(0.845 0.143 164.978); --chart-2: oklch(0.696 0.17 162.48); --chart-3: oklch(0.596 0.145 163.225); --chart-4: oklch(0.508 0.118 165.612); --chart-5: oklch(0.432 0.095 166.913); --radius: 0.625rem; --sidebar: oklch(0.987 0.002 197.1); --sidebar-foreground: oklch(0.148 0.004 228.8); --sidebar-primary: oklch(0.596 0.145 163.225); --sidebar-primary-foreground: oklch(0.979 0.021 166.113); --sidebar-accent: oklch(0.963 0.002 197.1); --sidebar-accent-foreground: oklch(0.218 0.008 223.9); --sidebar-border: oklch(0.925 0.005 214.3); --sidebar-ring: oklch(0.723 0.014 214.4); } .dark { --background: oklch(0.148 0.004 228.8); --foreground: oklch(0.987 0.002 197.1); --card: oklch(0.218 0.008 223.9); --card-foreground: oklch(0.987 0.002 197.1); --popover: oklch(0.218 0.008 223.9); --popover-foreground: oklch(0.987 0.002 197.1); --primary: oklch(0.432 0.095 166.913); --primary-foreground: oklch(0.979 0.021 166.113); --secondary: oklch(0.274 0.006 286.033); --secondary-foreground: oklch(0.985 0 0); --muted: oklch(0.275 0.011 216.9); --muted-foreground: oklch(0.723 0.014 214.4); --accent: oklch(0.275 0.011 216.9); --accent-foreground: oklch(0.987 0.002 197.1); --destructive: oklch(0.704 0.191 22.216); --border: oklch(1 0 0 / 10%); --input: oklch(1 0 0 / 15%); --ring: oklch(0.56 0.021 213.5); --chart-1: oklch(0.845 0.143 164.978); --chart-2: oklch(0.696 0.17 162.48); --chart-3: oklch(0.596 0.145 163.225); --chart-4: oklch(0.508 0.118 165.612); --chart-5: oklch(0.432 0.095 166.913); --sidebar: oklch(0.218 0.008 223.9); --sidebar-foreground: oklch(0.987 0.002 197.1); --sidebar-primary: oklch(0.696 0.17 162.48); --sidebar-primary-foreground: oklch(0.262 0.051 172.552); --sidebar-accent: oklch(0.275 0.011 216.9); --sidebar-accent-foreground: oklch(0.987 0.002 197.1); --sidebar-border: oklch(1 0 0 / 10%); --sidebar-ring: oklch(0.56 0.021 213.5); }
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.