Use it in 30 seconds
Or by hand:
- Save the file below as
DESIGN.mdin your project root. Download DESIGN.md - Run
npx briefatto-board install. It adds the skill and a block to AGENTS.md and CLAUDE.md. - Ask your agent for UI. It reads
DESIGN.mdbefore visual work, andboard checktests what it renders.
npx briefatto-board install
npx briefatto-board checkColours (7)
Every colour below was read from the rendered pages of https://geminicli.com, 4 pages captured. The line under each shows where it was found.
- primary
rgb(54, 75, 255)geminicli.com/docs/ at 1440×900 - background
rgb(6, 6, 6)geminicli.com/ at 1440×900 - surface
rgb(255, 255, 255)geminicli.com/docs/ at 1440×900 - foreground
rgb(255, 255, 255)geminicli.com/ at 390×844 - muted
oklab(0.999994 0.0000455677 0.0000200868 / 0.7)geminicli.com/ at 1440×900 - border
rgb(236, 238, 242)geminicli.com/docs/ at 1440×900 - on-primary
rgb(255, 255, 255)geminicli.com/ at 1440×900
Contrast
- foreground on background
20.26:1AAA - on-primary on primary
5.82:1AA
Type, radii and spacing
Type
- displayThe quick brown fox jumps over the lazy dogGoogle Sans · 52px / 1.25 · 400 · fallback shown
- headingThe quick brown fox jumps over the lazy dogGoogle Sans · 35px / 1.2 · 500 · fallback shown
- bodyThe quick brown fox jumps over the lazy dogGoogle Sans Text · 16px / 1.75 · 400 · fallback shown
- actionThe quick brown fox jumps over the lazy dogGoogle Sans Text · 14px / 1.43 · 700 · fallback shown
Corner radii
4pxcontrolgeminicli.com/ at 1440×9008pxcardgeminicli.com/ at 1440×900
Spacing
4pxxs8pxsm16pxmd24pxlg32pxxl40pxsection
A card made from this file

The full DESIGN.md
Download DESIGN.md188 lines of Markdown
---
version: alpha
name: "Gemini CLI"
description: "Gemini CLI's colours, type, radii, spacing and components as DESIGN.md tokens. Not affiliated with Gemini CLI."
colors:
primary: "rgb(54, 75, 255)"
background: "rgb(6, 6, 6)"
surface: "rgb(255, 255, 255)"
foreground: "rgb(255, 255, 255)"
muted: "oklab(0.999994 0.0000455677 0.0000200868 / 0.7)"
border: "rgb(236, 238, 242)"
on-primary: "rgb(255, 255, 255)"
typography:
display:
fontFamily: '"Google Sans", Arial, sans-serif'
fontSize: 52px
fontWeight: 400
lineHeight: 1.25
letterSpacing: 0em
display-mobile:
fontFamily: '"Google Sans", Arial, sans-serif'
fontSize: 32px
fontWeight: 400
lineHeight: 1.25
letterSpacing: 0em
heading:
fontFamily: '"Google Sans", Arial, sans-serif'
fontSize: 35px
fontWeight: 500
lineHeight: 1.2
letterSpacing: 0em
body:
fontFamily: '"Google Sans Text", Arial, sans-serif, ui-sans-serif, system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"'
fontSize: 16px
fontWeight: 400
lineHeight: 1.75
letterSpacing: 0em
action:
fontFamily: '"Google Sans Text", Arial, sans-serif, ui-sans-serif, system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"'
fontSize: 14px
fontWeight: 700
lineHeight: 1.43
letterSpacing: 0em
rounded:
control: 4px
card: 8px
spacing:
xs: 4px
sm: 8px
md: 16px
lg: 24px
xl: 32px
section: 40px
components:
primary-button:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
rounded: "{rounded.control}"
---
# Gemini CLI DESIGN.md
## Overview
The landing page uses a near-black terminal atmosphere, light Google Sans display type, and small blue/purple accents. The documentation route switches to white reading surfaces while retaining the type family and technical hierarchy.
Built from [/](https://geminicli.com/) and [/docs/](https://geminicli.com/docs/), captured on 2026-11-21 UTC at 1440×900 and 390×844. The front matter holds the computed values as portable tokens.
## Colors
| Token | Computed value | Role |
| --- | --- | --- |
| primary | `rgb(54, 75, 255)` | Priority actions and selected emphasis |
| background | `rgb(6, 6, 6)` | Page canvas |
| surface | `rgb(255, 255, 255)` | Panels and cards |
| foreground | `rgb(255, 255, 255)` | Primary text |
| muted | `oklab(0.999994 0.0000455677 0.0000200868 / 0.7)` | Supporting text |
| border | `rgb(236, 238, 242)` | Quiet separators and outlines |
| on-primary | `rgb(255, 255, 255)` | Text on the primary action |
Use the dark palette for the landing-page interpretation. Documentation uses a separate light canvas; do not combine its dark reading text with the dark landing background. The green announcement strip is transient page chrome, not the core action color. Alpha colors retain the captured opacity and must be composited over the intended background.
## Typography
| Role | First family | Size | Weight | Leading | Tracking |
| --- | --- | --- | --- | --- | --- |
| display | "Google Sans" | 52px | 400 | 1.25 | 0em |
| display-mobile | "Google Sans" | 32px | 400 | 1.25 | 0em |
| heading | "Google Sans" | 35px | 500 | 1.2 | 0em |
| body | "Google Sans Text" | 16px | 400 | 1.75 | 0em |
| action | "Google Sans Text" | 14px | 700 | 1.43 | 0em |
Keep display, reading, and action roles distinct. The heading sample is the recurring section role, while display records the first prominent headline. Use the mobile display value at narrow widths; allow natural line wrapping and preserve the reading measure.
Font loading:
```css
@font-face {
font-family: 'Google Sans Text';
font-style: normal;
font-weight: 400;
font-display: block;
src: url("https://fonts.gstatic.com/s/googlesanstext/v29/5aUu9-KzpRiLCAt4Unrc-xIKmCU5qEp2i0VBuxM.woff2") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Google Sans Text';
font-style: normal;
font-weight: 500;
font-display: block;
src: url("https://fonts.gstatic.com/s/googlesanstext/v29/5aUp9-KzpRiLCAt4Unrc-xIKmCU5oLlVnmhjtjm4DZw.woff2") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Google Sans';
font-style: normal;
font-weight: 400;
font-display: block;
src: url("https://fonts.gstatic.com/s/googlesans/v76/4UasrENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RPjIUvbQoi-E.woff2") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Google Sans';
font-style: normal;
font-weight: 500;
font-display: block;
src: url("https://fonts.gstatic.com/s/googlesans/v76/4UasrENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RPjIUvbQoi-E.woff2") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Google Sans';
font-style: normal;
font-weight: 700;
font-display: block;
src: url("https://fonts.gstatic.com/s/googlesans/v76/4UasrENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RPjIUvbQoi-E.woff2") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
```
The full fallback stacks are in the front matter.
## Layout
Keep the installation or starting point prominent, then move into documentation sections with a readable text measure.
Spacing scale: xs 4px, sm 8px, md 16px, lg 24px, xl 32px, section 40px. Use smaller steps within a control and larger steps between content groups.
The sampled header is relative, 76px high, with 0px left and 0px right padding. The sampled header is relative, 76px high, with 0px left and 24px right padding.
Sampled container maximum widths: `600px`, `1080px`, `720px`.
At narrow widths, keep the content order, let columns stack, wrap action groups, and give navigation a compact treatment. Recreate the observed desktop and mobile differences, with breakpoints chosen for your layout.
## Elevation & Depth
The sampled surface shadow is `none`. Keep most reading surfaces quiet. Use borders and surface contrast for grouping; reserve stronger depth for floating controls or intentional feature panels.
## Shapes
Controls use `4px`; the reusable card treatment uses `8px`. Keep corner geometry consistent within each component family. Do not automatically apply the card radius to every image, badge, or full-width section.
## Components
Use compact actions, monospace command examples, quiet containers, and straightforward navigation.
- **Primary and secondary actions:** use primary/on-primary for the priority action and a surface/foreground or outlined treatment for the supporting action. The sampled action has height 30px, horizontal padding 8px / 8px, and gap normal. Keep labels short and allow enough hit area for touch.
- **Cards:** group one heading, supporting text, and a clear next step. Preserve the hierarchy and spacing; avoid making every element a nested card.
- **Navigation:** retain the captured information hierarchy and distinguish navigation links from the main call to action. Provide a visible keyboard focus treatment.
- **Forms:** build fields from the action typography, control radius, and separator color. Add persistent labels, useful errors, and clear disabled/focus states.
**Imagery and iconography.** Use original terminal examples and simple geometric motifs; do not reproduce the brand mark.
**Motion.** Observed CSS transition declarations include `color 0.2s`, `all 0.2s`, `opacity, background, border-color 0.2s`. Use restrained feedback and respect reduced-motion preferences.
**Voice.** Practical, explanatory, and approachable to developers.
## Do's and Don'ts
- Do preserve the palette roles, type hierarchy, and relationship between dense controls and larger section spacing.
- Do keep content readable at both captured widths and provide focus, error, loading, and reduced-motion behavior for any new interface.
- Do use simple geometric placeholders for imagery.
- Don't reproduce the logo, brand illustrations, product screenshots, or marketing text.
- Don't let added decoration compete with the site's defining typography, content rhythm, and action hierarchy.
---
Made with [Briefatto Board](https://github.com/Briefatto/briefatto-board). Run `npx briefatto-board install` and your coding agent reads this file before visual work and checks every piece it renders.
Questions and answers
What is the Gemini CLI DESIGN.md?
A style file extracted from the public website of Gemini CLI (https://geminicli.com), free to use for your own product.
How do I use it with Claude Code / Cursor?
Save the file as DESIGN.md in your project root and run npx briefatto-board install. That adds a block to AGENTS.md and CLAUDE.md, which Claude Code, Codex, Cursor, Copilot, Gemini CLI and other agents read, telling the agent to read DESIGN.md before any visual work. Run board check on what it renders.
Can I change it to my own brand?
Yes. It is a plain Markdown file: replace the colours, fonts, radii and spacing with your own, or run npx briefatto-board adopt . on your own site and let the agent write yours. Then freeze it with npx briefatto-board freeze . so every session uses the same version.
Where do the values in the Gemini CLI file come from?
Each colour, font, radius and spacing value was read from the rendered pages of https://geminicli.com (4 pages captured) on 2026-11-21, and the evidence for each is listed on this page.