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 b2fms620zo
pnpm create webjs my-app && cd my-app && pnpm dlx @webjsdev/ui init --preset b2fms620zo
yarn create webjs my-app && cd my-app && yarn dlx @webjsdev/ui init --preset b2fms620zo
bun create webjs my-app --runtime node && cd my-app && bunx @webjsdev/ui init --preset b2fms620zo
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 b2fms620zo
pnpm dlx @webjsdev/ui init --preset b2fms620zo
yarn dlx @webjsdev/ui init --preset b2fms620zo
bunx @webjsdev/ui init --preset b2fms620zo
Copy the CSS variables for this preset.
@theme inline { --font-serif: 'Roboto Slab', serif; --font-sans: 'Roboto Slab', serif; --font-heading: 'Public Sans', sans-serif; } :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.218 0.008 223.9); --primary-foreground: oklch(0.987 0.002 197.1); --secondary: oklch(0.963 0.002 197.1); --secondary-foreground: oklch(0.218 0.008 223.9); --muted: oklch(0.963 0.002 197.1); --muted-foreground: oklch(0.56 0.021 213.5); --accent: oklch(0.218 0.008 223.9); --accent-foreground: oklch(0.987 0.002 197.1); --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.811 0.111 293.571); --chart-2: oklch(0.606 0.25 292.717); --chart-3: oklch(0.541 0.281 293.009); --chart-4: oklch(0.491 0.27 292.581); --chart-5: oklch(0.432 0.232 292.759); --radius: 0.625rem; --sidebar: oklch(0.987 0.002 197.1); --sidebar-foreground: oklch(0.148 0.004 228.8); --sidebar-primary: oklch(0.218 0.008 223.9); --sidebar-primary-foreground: oklch(0.987 0.002 197.1); --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.925 0.005 214.3); --primary-foreground: oklch(0.218 0.008 223.9); --secondary: oklch(0.275 0.011 216.9); --secondary-foreground: oklch(0.987 0.002 197.1); --muted: oklch(0.275 0.011 216.9); --muted-foreground: oklch(0.723 0.014 214.4); --accent: oklch(0.925 0.005 214.3); --accent-foreground: oklch(0.218 0.008 223.9); --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.811 0.111 293.571); --chart-2: oklch(0.606 0.25 292.717); --chart-3: oklch(0.541 0.281 293.009); --chart-4: oklch(0.491 0.27 292.581); --chart-5: oklch(0.432 0.232 292.759); --sidebar: oklch(0.218 0.008 223.9); --sidebar-foreground: oklch(0.987 0.002 197.1); --sidebar-primary: oklch(0.488 0.243 264.376); --sidebar-primary-foreground: oklch(0.987 0.002 197.1); --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.