KasyKasy

Figma (rebrand and screens)

Duplicate the Kasy design system in Figma, change the brand, and ask an AI to implement it in Flutter.

Kasy ships its design system as a Figma file. You duplicate it into your account, edit the variables (colors, font), and the editor's AI applies it to Flutter.

Duplicate into your account: https://www.figma.com/design/S083trj2ctFrEFNjcavtpC/Kasy-Design-System/duplicate

Figma is one of two design tool options for Kasy — the other is Pen (pen.dev). Both deliver the exact same design system, and both have their own MCP, usable from any IDE. Pick whichever you prefer; this page covers the Figma path.

Figma is only one piece. The in-app Design System screen mirrors the code; DESIGN_SYSTEM.md is the AI contract. Roles of all three: Design System.

Implementation

Duplicating the design system

  1. Open the duplicate link above (free Figma account).
  2. Save it to your Drafts.
  3. Open it in Figma desktop or web.

Rebrand in 4 steps

1. Open Variables

In Figma: Local variablesKasy Colors (Light and Dark modes).

The 01 Tokens page in the file mirrors Home → Design System in the app.

2. Change your brand

  • color/accent/accent: the main color. Start here.
  • color/background/background: background (also affects the splash).
  • color/foreground/foreground: text.
  • Default font: Inter.

3. Prompt for the AI

With the Kasy MCP installed, the design-system-guide resource already reads AGENTS.md and docs/figma-workflow.md on its own, so the assistant knows this workflow even without pasting the whole prompt. You can still just say something short like "rebrand this project based on my Figma: [URL]" and it takes it from there.

Read AGENTS.md and docs/figma-workflow.md.

My Figma file: [URL OF YOUR DUPLICATED FILE]
Use Figma MCP get_variable_defs on the 01 Tokens page.

Sync ALL colors in lib/core/theme/colors.dart
(KasyColors.light() and KasyColors.dark()), not just accent.

If the background changed, update the splash in pubspec.yaml.

Check the Design System in the app (light and dark).
flutter analyze with no errors.

New screens follow the same principle: with the Kasy MCP installed, just ask "build the [name] screen matching this Figma frame: [URL]", the assistant already knows (via design-system-guide) that a new screen also starts in Figma, not just a rebrand.

4. Check it in the app

kasy run --web

Home → Design System. Toggle light/dark in Settings.

Only create new screens after the rebrand is correct.

Creating a new screen

  1. Design it in your Figma file using the same variables.
  2. Ask the AI to implement the frame (faithful, functional, Kasy components, i18n).
  3. Run kasy run --web and test it.

Information

What ships in the project

After kasy new:

FileWhat it is
docs/figma-guia.mdThis offline guide, in the project's language
docs/figma-workflow.mdRules for the AI (English)
docs/pen-guia.mdSame guide, for Pen instead — the project ships with both
docs/pen-workflow.mdRules for the AI about Pen (English)
DESIGN_SYSTEM.mdDesign-system contract for AI/devs (not where you edit colors)
design/README.mdThe design system's link + an overview of the pages

The design system doesn't ship as a local file: it lives in Figma's cloud. Use the duplicate link above to get your own copy.

Screens for your product live in a separate Figma file, e.g. My App.

Useful commands

CommandFor what
kasy newCreates the project (includes Figma docs)
kasy run --webRuns it in the browser
flutter analyzeShould come back clean

Common mistakes

ProblemWhat to do
The app is still blueSync all colors, not just accent
The AI used raw MaterialAsk for KasyButton, KasyCard, KasyTextField
Color outside the mockupCheck the design system before the code
MCP on masterDuplicate first; edit your copy

Summary

  1. Rebrand in Figma variables → AI → lib/core/theme/.
  2. Screens in the app's file → AI → faithful and functional.
  3. Color outside the DS → the AI flags it, doesn't hardcode it.

See also Colors and Design System.

Last updated on 08/02/2026