Briefatto LabBriefatto Lab

DESIGN.md style file

Palantir DESIGN.md for your coding agent

This is a free DESIGN.md for the Palantir style: its colours, type, corner radii and spacing, extracted from the public site https://www.palantir.com in the format coding agents read before visual work. Put it at your project root and run npx briefatto-board install, and Claude Code, Codex, Cursor, Copilot, Gemini CLI or any coding agent follow it when they build UI.

Paste this into Claude Code, Codex, Cursor, Copilot, Gemini CLI or any coding agent. Your agent fetches the file and sets itself up.

prompt
Download https://briefatto.com/guides/palantir-design-md/DESIGN.md and save it as DESIGN.md in the project root. Then run `npx briefatto-board install` and follow the Briefatto Board skill for all visual work in this project.

Download DESIGN.mdMarkdown version

Updated www.palantir.com4 pages captured

Specimen · tokens.jsonwww.palantir.com

display · Alliance No.1 · 68px / 400

Your product, in this style

body · Alliance No.1 · 20px / 400

A clear place for your next idea. Explore a thoughtful interface with familiar details.

Get startedLearn more

surface · card 0px · control 2px

Aa Bb Cc 0123

The quick brown fox jumps over the lazy dog

  • primary
  • background
  • surface
  • foreground
  • muted
  • border
  • on-primary

7 colours5 type roles2 radii6 spacing steps

Briefatto BoardFree and open source, Apache-2.0

Blind-tested against Impeccable, Taste Skill and Hallmark

Automated tests, green CI

Claude Code, Codex, Cursor, Copilot, Gemini CLI, Windsurf and any agent that reads AGENTS.md

Use it in 30 seconds

Or by hand:

  1. Save the file below as DESIGN.md in your project root. Download DESIGN.md
  2. Run npx briefatto-board install. It adds the skill and a block to AGENTS.md and CLAUDE.md.
  3. Ask your agent for UI. It reads DESIGN.md before visual work, and board check tests what it renders.
shell
npx briefatto-board install
npx briefatto-board check

Colours (7)

Every colour below was read from the rendered pages of https://www.palantir.com, 4 pages captured. The line under each shows where it was found.

  • primaryrgb(30, 31, 43)www.palantir.com/platforms/aip/ at 1440×900
  • backgroundrgb(255, 255, 255)www.palantir.com/ at 1440×900
  • surfacergb(239, 239, 239)www.palantir.com/ at 1440×900
  • foregroundrgb(30, 31, 43)www.palantir.com/ at 1440×900
  • mutedrgb(102, 102, 102)www.palantir.com/ at 1440×900
  • borderrgb(30, 33, 36)www.palantir.com/ at 1440×900
  • on-primaryrgb(255, 255, 255)www.palantir.com/ at 1440×900

Contrast

  • foreground on background16.33:1AAA
  • muted on background5.74:1AA
  • on-primary on primary16.33:1AAA

Type, radii and spacing

Type

  • displayThe quick brown fox jumps over the lazy dogAlliance No.1 · 68px / 1.2 · 400 · -0.04em · fallback shown
  • headingThe quick brown fox jumps over the lazy dogAlliance No.1 · 46px / 1.04 · 400 · -0.025em · fallback shown
  • bodyThe quick brown fox jumps over the lazy dogAlliance No.1 · 20px / 1.1 · 400 · fallback shown
  • actionThe quick brown fox jumps over the lazy dogAlliance No.1 · 18px / 1.2 · 400 · fallback shown

Corner radii

  • 2pxcontrolwww.palantir.com/ at 1440×900
  • 0pxcardwww.palantir.com/ at 1440×900

Spacing

  • 6pxxs
  • 8pxsm
  • 16pxmd
  • 24pxlg
  • 30pxxl
  • 60pxsection

A card made from this file

Sample card rendered from the Palantir DESIGN.md: its background and text colours, font pairing and corner radius applied to a heading, a paragraph and a button.
A sample card rendered from the tokens in this file.

The full DESIGN.md

Download DESIGN.md166 lines of Markdown

DESIGN.md
---
version: alpha
name: "Palantir"
description: "Palantir's colours, type, radii, spacing and components as DESIGN.md tokens. Not affiliated with Palantir."
colors:
  primary: "rgb(30, 31, 43)"
  background: "rgb(255, 255, 255)"
  surface: "rgb(239, 239, 239)"
  foreground: "rgb(30, 31, 43)"
  muted: "rgb(102, 102, 102)"
  border: "rgb(30, 33, 36)"
  on-primary: "rgb(255, 255, 255)"
typography:
  display:
    fontFamily: '"Alliance No.1", system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif'
    fontSize: 68px
    fontWeight: 400
    lineHeight: 1.2
    letterSpacing: -0.04em
  display-mobile:
    fontFamily: '"Alliance No.1", system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif'
    fontSize: 26px
    fontWeight: 400
    lineHeight: 1
    letterSpacing: -0.002em
  heading:
    fontFamily: '"Alliance No.1", system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif'
    fontSize: 46px
    fontWeight: 400
    lineHeight: 1.04
    letterSpacing: -0.025em
  body:
    fontFamily: '"Alliance No.1", system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif'
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: 0em
  action:
    fontFamily: '"Alliance No.1", system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif'
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.2
    letterSpacing: 0em
rounded:
  control: 2px
  card: 0px
spacing:
  xs: 6px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 30px
  section: 60px
components:
  primary-button:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    rounded: "{rounded.control}"
  card:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.foreground}"
    rounded: "{rounded.card}"
    padding: "{spacing.lg}"
    typography: "{typography.body}"
  caption:
    textColor: "{colors.muted}"
  separator:
    backgroundColor: "{colors.border}"
---

# Palantir DESIGN.md

## Overview

An enterprise technology site combines expansive dark cinematic chapters with pale editorial sections, Alliance No.1 typography, fine rules, and square functional controls. The interface is understated and precise, with substantial whitespace and small technical annotation.

Built from [/](https://www.palantir.com/) and [/platforms/aip/](https://www.palantir.com/platforms/aip/), 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(30, 31, 43)` | Priority actions and selected emphasis |
| background | `rgb(255, 255, 255)` | Page canvas |
| surface | `rgb(239, 239, 239)` | Panels and cards |
| foreground | `rgb(30, 31, 43)` | Primary text |
| muted | `rgb(102, 102, 102)` | Supporting text |
| border | `rgb(30, 33, 36)` | Quiet separators and outlines |
| on-primary | `rgb(255, 255, 255)` | Text on the primary action |



Keep the page ground and text pairing stable. Give the primary color a clear job in actions, selection, or links; use surface changes and thin rules to organize secondary content. Alpha colors retain the captured opacity and must be composited over the intended background.

## Typography

| Role | First family | Size | Weight | Leading | Tracking |
| --- | --- | --- | --- | --- | --- |
| display | "Alliance No.1" | 68px | 400 | 1.2 | -0.04em |
| display-mobile | "Alliance No.1" | 26px | 400 | 1 | -0.002em |
| heading | "Alliance No.1" | 46px | 400 | 1.04 | -0.025em |
| body | "Alliance No.1" | 20px | 400 | 1.1 | 0em |
| action | "Alliance No.1" | 18px | 400 | 1.2 | 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. The display transformation is `none` and its font style is `normal`; preserve these in CSS.

Font loading:

```css
@font-face { font-display: swap; font-family: "Alliance No.1"; src: url("https://www.palantir.com/fonts/Alliance/AllianceNo1-Regular.woff2") format("woff2"), url("https://www.palantir.com/fonts/Alliance/AllianceNo1-Regular.woff") format("woff"); font-weight: 400; font-style: normal; }
@font-face { font-display: swap; font-family: "Alliance No.1"; src: url("https://www.palantir.com/fonts/Alliance/AllianceNo1-RegularItalic.woff2") format("woff2"), url("https://www.palantir.com/fonts/Alliance/AllianceNo1-RegularItalic.woff") format("woff"); font-weight: 400; font-style: italic; }
@font-face { font-display: swap; font-family: "Alliance No.1"; src: url("https://www.palantir.com/fonts/Alliance/AllianceNo1-Bold.woff2") format("woff2"), url("https://www.palantir.com/fonts/Alliance/AllianceNo1-Bold.woff") format("woff"); font-weight: 700; font-style: normal; }
@font-face { font-display: swap; font-family: "Alliance No.1"; src: url("https://www.palantir.com/fonts/Alliance/AllianceNo1-BoldItalic.woff2") format("woff2"), url("https://www.palantir.com/fonts/Alliance/AllianceNo1-BoldItalic.woff") format("woff"); font-weight: 700; font-style: italic; }
@font-face { font-family: "Alliance No.1"; font-style: normal; font-weight: 500; src: url("https://www.palantir.com/_next/static/media/AllianceNo1-Medium.68389ecb.woff2") format("woff2"); }
@font-face { font-family: "Alliance No.1"; font-style: normal; font-weight: 600; src: url("https://www.palantir.com/_next/static/media/AllianceNo1-SemiBold.8287f456.woff2") format("woff2"); }
```

The full fallback stacks are in the front matter.

## Layout

Use full-viewport visual openings with sparse overlay navigation and a compact action/control group near the lower edge. Follow with aligned editorial statements, split image/text chapters, and broad platform panels. Keep mobile chapters vertically readable while preserving the strong visual hierarchy.

Spacing scale: xs 6px, sm 8px, md 16px, lg 24px, xl 30px, section 60px. Use smaller steps within a control and larger steps between content groups.

The sampled header is static, 900px high, with 0px left and 0px right padding. The sampled nav is absolute, 1px high, with 0px left and 0px right padding.

Measured desktop grid tracks: `950px` with gap `normal 30px`; `460px 460px` with gap `0px 30px`; `1360px` with gap `normal`. Build them as a fluid grid. Sampled container maximum widths: `100%`, `1440px`, `1170px`.

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 card 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 `2px`; the reusable card treatment uses `0px`. 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 square or nearly square monochrome actions, fine outlined controls, small utility labels, restrained editorial tiles, and grid-aligned explanatory panels. Dark visual sections invert text and controls; the sample card uses the pale editorial context.

- **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 33px, horizontal padding 10px / 10px, and gap 20px. 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 abstract technical diagrams or licensed editorial photography and video. Large atmospheric media can carry the visual chapter while UI remains minimal. Do not reproduce platform screens, source data, campaign artwork, or marks.

**Motion.** Observed CSS transition declarations include `background-color, color, border-color 0.3s, 0.3s, 0.3s`, `transform, opacity 0.25s, 0s`, `all 0.25s`, `all 0.3s`. Use restrained feedback and respect reduced-motion preferences.

**Voice.** Measured, specific, and authoritative.

## 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 Palantir DESIGN.md?

A style file extracted from the public website of Palantir (https://www.palantir.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 Palantir file come from?

Each colour, font, radius and spacing value was read from the rendered pages of https://www.palantir.com (4 pages captured) on 2026-11-21, and the evidence for each is listed on this page.

One guide. Every agent.

Briefatto Board is free and open source under Apache-2.0. One command adds the skill and the pointer your agent reads.

npx briefatto-board install