Get started

Give Lovable a design system

Lovable stores persistent instructions in Project Knowledge. Put the DESIGN.md there and apply the matching shadcn tokens so later generations use the same system.

Updated August 3, 2026

Why Lovable needs a design system

Lovable is great at turning a prompt into a working app, but its default look is generic and it drifts as the app grows: each new feature is a new styling decision. Because it uses Tailwind and shadcn, it can build against a real token set and follow written rules; you just have to make those rules persistent so they apply to every generation, not only the one where you mentioned them.

The kit you'll give it

Mauve Broadcast

Live render

Rendered from the kit's actual tokens, fonts, and treatments

Mauve BroadcastOverview
Search anything⌘K
MB

Analytics

Revenue overview

See revenue and retention trends alongside account health.

Jan 1 to Jan 30, 2026
Overview
Analytics
Reports
Notifications

Active users

13.0k

2,491 new

+12%

MRR

$68.0k

Net of churn

+12%

Retention

88%

28-day window

+1%

NPS

58

1,204 replies

+6

Revenue

Last 12 months

$68.0k +18.2%

12m30d7d
JanFebMarAprMayJunJulAugSepOctNovDec

Acquisition

Goal completion

On track
78%of goal
Organic48%
Direct31%
Referral21%

Recent transactions

Latest activity across your workspace

View all
CustomerStatusDateAmount
AR

Alex Rivera

Founder & CEO

Paid2 min ago$1,999.00
MO

Mira Okonkwo

Head of Product

Pending1 hour ago$39.00
JF

Jonas Feld

Design Lead

Processing3 hours ago$299.00

Typography

Anton + Space Mono

Color system

28 semantic roles, light + dark

Agent outputs

DESIGN.md, CSS, Tailwind, shadcn

Mauve Broadcast rendered from its real tokens: the complete system Lovable will theme against.

Give Lovable the kit

  1. 1

    Put the DESIGN.md in project Knowledge

    Open the kit's page in the gallery (for example, /kits/ambient-sage), copy the rule-carrying parts of its DESIGN.md (intent, motifs, do's and don'ts, component treatments) into Project settings > Knowledge. Knowledge caps at 10,000 characters and a full kit DESIGN.md runs nearly three times that, so paste the rules and let the registry install in the next step carry the exact token values. Lovable keeps Knowledge as persistent context for every generation.

  2. 2

    Connect to GitHub and apply the tokens

    Use Lovable's GitHub integration, then in the connected repo run the kit's registry command to install its CSS variables into the shadcn theme:

    npx shadcn add https://identityforge.io/r/ambient-sage.json
  3. 3

    Or paste the CSS variables in the chat

    Prefer to stay in Lovable? Copy the kit's CSS-variable export from its kit page and ask Lovable to set your global stylesheet's :root and .dark to exactly those values.

  4. 4

    Build on the system

    Prompt as usual; Lovable now themes with your tokens and obeys the DESIGN.md in Knowledge.

    Add a dashboard. Use the design tokens and follow the
    DESIGN.md in Project Knowledge. Do not add new colors or fonts.

Lovable's own design features

Lovable also ships primitives worth knowing: Skills (on-demand playbooks the agent applies to matching tasks), Design guidance (pick from design previews before it builds), and, on Enterprise plans, native design-system projects that push tokens and components into consuming apps. Knowledge plus the registry stays the plan-independent route and keeps your tokens identical across every tool you use.

Knowledge is what makes it stick

The single most common reason an AI builder ignores your design system is that the rules were mentioned once and forgotten. Putting the design rules in Lovable's Knowledge makes them a permanent instruction, so consistency holds as the app grows.

One URL, the whole theme

Every public kit exposes a stable shadcn registry item at https://identityforge.io/r/<slug>.json. That URL carries all 28 semantic roles in light and dark, so Lovable never has to improvise hover states, muted text, borders, or chart colors. See semantic color tokens explained for what those roles are and why they matter.

The same approach works in v0 and Bolt. For terminal-based coding agents, see the pillar guide.

FAQ

How do I give Lovable a design system?

Put the kit's design rules into Lovable's project Knowledge so they apply to every prompt (Knowledge caps at 10,000 characters, so paste the rules sections, not the whole file), then apply the kit's tokens: either run npx shadcn add https://identityforge.io/r/<slug>.json in the GitHub-connected repo, or paste the kit's CSS variables into the project stylesheet.

Why put the DESIGN.md in Knowledge instead of a prompt?

Knowledge is standing context that applies to every generation. A one-off prompt is forgotten on the next message, which is why builders drift off-brand. Knowledge keeps the design rules in force as the app grows.

Do I need to connect GitHub?

Only for the shadcn add path. You can instead paste the kit's exported CSS variables directly and ask Lovable to set the global stylesheet to those values.

Sources

  • Knowledge - Lovable Docs: Knowledge provides persistent instructions per project or workspace, entered under Project settings > Knowledge, with a 10,000-character limit.
  • Design systems - Lovable Docs: Lovable offers native design-system projects on Enterprise plans that push tokens and components into consuming projects.