For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
FrakmentFrakment

November 2, 2026

Inline theme injection, Windows-safe install, and smarter CLI.

This release moves the theme block inline into globals.css and hardens the CLI against common setup mistakes.

  • Inline theme block: One block, no extra CSS file.
  • Smarter CLI: Fail-fast on missing Tailwind v4 or globals.css, src/ layout support, smarter prompt.
  • Trace fix: motion installed automatically.

Inline theme block

npx frakment init now injects the theme block directly into your globals.css, between /* ==== FRAKMENT THEME START ==== */ and /* ==== FRAKMENT THEME END ==== */ markers. No extra theme.css file, no @import statement — the tokens land where Tailwind can see them.

Re-running init replaces the block in place. Custom CSS below the END marker stays untouched.

Smarter CLI

  • Fail-fast Tailwind v4 check: If @import "tailwindcss"; is missing, init exits with a clear message instead of writing a broken block.
  • Fail-fast globals.css check: If no globals.css is found, init exits instead of silently skipping the theme.
  • src/ layout support: frakment add writes components to src/components/, src/lib/, and src/hooks/ when components.json points at src/app/globals.css. Binary assets still go to public/.
  • Smarter prompt: If components.json exists, init asks before overwriting. Choosing "no" keeps your config but still re-injects the theme block.

Trace fix

The trace component depends on motion for animations. frakment init now installs motion alongside the existing five dependencies, so frakment add trace works out of the box.