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 b1FQyVg7U
pnpm create webjs my-app && cd my-app && pnpm dlx @webjsdev/ui init --preset b1FQyVg7U
yarn create webjs my-app && cd my-app && yarn dlx @webjsdev/ui init --preset b1FQyVg7U
bun create webjs my-app --runtime node && cd my-app && bunx @webjsdev/ui init --preset b1FQyVg7U
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 b1FQyVg7U
pnpm dlx @webjsdev/ui init --preset b1FQyVg7U
yarn dlx @webjsdev/ui init --preset b1FQyVg7U
bunx @webjsdev/ui init --preset b1FQyVg7U
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.147 0.004 49.25); --card: oklch(1 0 0); --card-foreground: oklch(0.147 0.004 49.25); --popover: oklch(1 0 0); --popover-foreground: oklch(0.147 0.004 49.25); --primary: oklch(0.555 0.163 48.998); --primary-foreground: oklch(0.987 0.022 95.277); --secondary: oklch(0.967 0.001 286.375); --secondary-foreground: oklch(0.21 0.006 285.885); --muted: oklch(0.97 0.001 106.424); --muted-foreground: oklch(0.553 0.013 58.071); --accent: oklch(0.97 0.001 106.424); --accent-foreground: oklch(0.216 0.006 56.043); --destructive: oklch(0.577 0.245 27.325); --border: oklch(0.923 0.003 48.717); --input: oklch(0.923 0.003 48.717); --ring: oklch(0.709 0.01 56.259); --chart-1: oklch(0.879 0.169 91.605); --chart-2: oklch(0.769 0.188 70.08); --chart-3: oklch(0.666 0.179 58.318); --chart-4: oklch(0.555 0.163 48.998); --chart-5: oklch(0.473 0.137 46.201); --radius: 0; --sidebar: oklch(0.985 0.001 106.423); --sidebar-foreground: oklch(0.147 0.004 49.25); --sidebar-primary: oklch(0.666 0.179 58.318); --sidebar-primary-foreground: oklch(0.987 0.022 95.277); --sidebar-accent: oklch(0.97 0.001 106.424); --sidebar-accent-foreground: oklch(0.216 0.006 56.043); --sidebar-border: oklch(0.923 0.003 48.717); --sidebar-ring: oklch(0.709 0.01 56.259); } .dark { --background: oklch(0.147 0.004 49.25); --foreground: oklch(0.985 0.001 106.423); --card: oklch(0.216 0.006 56.043); --card-foreground: oklch(0.985 0.001 106.423); --popover: oklch(0.216 0.006 56.043); --popover-foreground: oklch(0.985 0.001 106.423); --primary: oklch(0.473 0.137 46.201); --primary-foreground: oklch(0.987 0.022 95.277); --secondary: oklch(0.274 0.006 286.033); --secondary-foreground: oklch(0.985 0 0); --muted: oklch(0.268 0.007 34.298); --muted-foreground: oklch(0.709 0.01 56.259); --accent: oklch(0.268 0.007 34.298); --accent-foreground: oklch(0.985 0.001 106.423); --destructive: oklch(0.704 0.191 22.216); --border: oklch(1 0 0 / 10%); --input: oklch(1 0 0 / 15%); --ring: oklch(0.553 0.013 58.071); --chart-1: oklch(0.879 0.169 91.605); --chart-2: oklch(0.769 0.188 70.08); --chart-3: oklch(0.666 0.179 58.318); --chart-4: oklch(0.555 0.163 48.998); --chart-5: oklch(0.473 0.137 46.201); --sidebar: oklch(0.216 0.006 56.043); --sidebar-foreground: oklch(0.985 0.001 106.423); --sidebar-primary: oklch(0.769 0.188 70.08); --sidebar-primary-foreground: oklch(0.279 0.077 45.635); --sidebar-accent: oklch(0.268 0.007 34.298); --sidebar-accent-foreground: oklch(0.985 0.001 106.423); --sidebar-border: oklch(1 0 0 / 10%); --sidebar-ring: oklch(0.553 0.013 58.071); }
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.