# Affinity design system

> Affinity design system measured from affinity.studio: Affinity Serif Variable font, 10 color hex codes, type scale and spacing. Dark theme with 10px corners.

Canonical page: https://sitepeel.dev/design-md/affinity.studio/

Affinity’s website (affinity.studio) uses the Affinity Serif Variable font and #A7F175 as its main color on a black background. Measured by Sitepeel on November 29, 2026.

## What font does Affinity use?

Affinity uses Affinity Serif Variable (weight 700) and Canva Sans (weights 401, 500 and 600) on affinity.studio. Page titles are 148px at weight 700 (64px on phones) and body text is 16px. Measured on November 29, 2026.

- Affinity Serif Variable (weights 700)
- Canva Sans (weights 401, 500, 600)
- Times New Roman (weights 400)

## Affinity colors: palette and hex codes

Affinity’s main colors are #000000 (near black) for the background, #FFFFFF (white) for text and #A7F175 (light green) as the main accent, with #A370FC (light violet) as another accent. Measured on November 29, 2026.

- #000000: near black (rgb(0, 0, 0), hsl(0, 0%, 0%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #C4C4C4: silver (rgb(196, 196, 196), hsl(0, 0%, 77%))
- #1D1F26: cool charcoal (rgb(29, 31, 38), hsl(227, 13%, 13%))
- #2C2828: graphite (rgb(44, 40, 40), hsl(0, 5%, 16%))
- #A7F175: light green (rgb(167, 241, 117), hsl(96, 82%, 70%))
- #0E1318: cool charcoal (rgb(14, 19, 24), hsl(210, 26%, 7%))
- #E0DCD6: warm silver (rgb(224, 220, 214), hsl(36, 14%, 86%))

## What is Affinity built with?

Affinity’s website (affinity.studio) is built with React, Cloudflare, GSAP and Rive. Measured on November 29, 2026.

- Hosting & CDN: Cloudflare
- JavaScript framework: React 19.3.0
- Animation & 3D: GSAP 3.15.0, Rive
- Analytics: Meta Pixel 2.9.441, Sentry 10.34.0, Google Analytics, Google Tag Manager
- Marketing & support: OneTrust 202606.2.0

## Questions and answers

### What font does Affinity use?

Affinity’s website uses Affinity Serif Variable (weight 700) and Canva Sans (weights 401, 500 and 600). Page titles are 148px at weight 700 (64px on phones) and body text is 16px. Measured on November 29, 2026.

### What are the Affinity colors and hex codes?

On affinity.studio: #000000 (near black) for the background, #FFFFFF (white) for text and #A7F175 (light green) as the main accent, with #A370FC (light violet) as another accent. The color palette above lists all 10 colors with their hex codes and where each one is used.

### What is the Affinity design system?

The design system on this page is affinity.studio’s, as measured on November 29, 2026: Affinity Serif Variable type, #A7F175 as the main color, 10px corners and a 4px spacing grid, written down as a DESIGN.md. It is not Affinity’s own documentation.

### What is Affinity built with?

Affinity’s website (affinity.studio) is built with React, Cloudflare, GSAP and Rive. The full tech stack Sitepeel found: Cloudflare, React, GSAP, Meta Pixel, Sentry, Rive, Google Analytics, Google Tag Manager and OneTrust. Measured on November 29, 2026.

### What is the Affinity DESIGN.md?

A plain-text file with Affinity’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this Affinity’s official design system?

No. Sitepeel measured it from affinity.studio’s public page on November 29, 2026. It is an independent analysis, not made or approved by Affinity.

### Can I use Affinity’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Affinity’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/affinity.studio/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with Affinity.

## The DESIGN.md file

```markdown
---
version: alpha
name: Affinity
description: "Dark interface measured from affinity.studio: Affinity Serif Variable type with Canva Sans, light green accents, tonal surfaces and 10px corners."
colors:
  background: "#000000"
  surface: "#000000"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#C4C4C4"
  surface-container-low: "#1D1F26"
  surface-container: "#2C2828"
  overlay: "#101219B2"
  primary: "#A7F175"
  on-primary: "#0E1318"
  inverse-surface: "#E0DCD6"
  secondary: "#A370FC"
typography:
  headline-display:
    fontFamily: Affinity Serif Variable
    fontSize: 148px
    fontWeight: 700
    lineHeight: 1.04
  headline-lg:
    fontFamily: Affinity Serif Variable
    fontSize: 80px
    fontWeight: 700
    lineHeight: 0.98
  headline-md:
    fontFamily: Affinity Serif Variable
    fontSize: 56px
    fontWeight: 700
    lineHeight: 1
  headline-sm:
    fontFamily: Canva Sans
    fontSize: 32px
    fontWeight: 401
    lineHeight: 1.4
  title-lg:
    fontFamily: Canva Sans
    fontSize: 24px
    fontWeight: 401
    lineHeight: 1.4
  body-md:
    fontFamily: Canva Sans
    fontSize: 16px
    fontWeight: 401
    lineHeight: 1.5
  body-sm:
    fontFamily: Times New Roman
    fontSize: 10px
    fontWeight: 400
  label-md:
    fontFamily: Canva Sans
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.5
  label-sm:
    fontFamily: Canva Sans
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.57
  headline-display-mobile:
    fontFamily: Affinity Serif Variable
    fontSize: 64px
    fontWeight: 700
    lineHeight: 1.04
  headline-lg-mobile:
    fontFamily: Affinity Serif Variable
    fontSize: 36px
    fontWeight: 700
    lineHeight: 0.96
  headline-md-mobile:
    fontFamily: Affinity Serif Variable
    fontSize: 32px
    fontWeight: 700
    lineHeight: 1.1
rounded:
  sm: 6px
  md: 10px
  lg: 12px
  xl: 16px
  full: 9999px
spacing:
  base: 4px
  xs: 4px
  sm: 8px
  md: 16px
  lg: 22px
  gutter: 14px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.lg}"
    padding: 8px 16px
    height: 40px
  button-primary-hover:
    backgroundColor: "#96D969"
  button-secondary:
    backgroundColor: "{colors.inverse-surface}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    rounded: "{rounded.lg}"
    padding: 8px 16px
    height: 48px
  button-secondary-hover:
    backgroundColor: "#CCC8C2"
  button-ghost:
    textColor: "{colors.on-surface}"
    rounded: 0px
    padding: 0px 4px
  link:
    textColor: "{colors.on-surface}"
---

# Affinity Design System

## Overview

Affinity describes itself as: “Powerful, precise, and free forever. Discover Affinity — the next generation of professional photo, design, and layout software built for creative freedom.” The interface is dark, built on **Near Black (#000000)** with **White (#FFFFFF)** text, and **Light Green (#A7F175)** as the main accent.

Type is set in **Affinity Serif Variable** and **Canva Sans**. Headlines run large; body text is 16px. Depth comes from hairline borders and inset highlights rather than drop shadows. Corners are mostly 10px.

Measured from [affinity.studio](https://www.affinity.studio/) on November 29, 2026 at 1440×900 and 390×844 from 300 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 10 roles.

- **Near Black (#000000):** Page background, seen 2 times. Token `background`, CSS `--paJmzg`.
- **White (#FFFFFF):** Primary text and headings, seen 26 times. Token `on-surface`, CSS `--HfWZ1A`.
- **Silver (#C4C4C4):** Secondary text, seen 7 times. Token `on-surface-variant`.
- **Cool Charcoal (#1D1F26):** Raised areas one step from the page, seen 2 times. Token `surface-container-low`.
- **Graphite (#2C2828):** Cards and panels, seen 1 time. Token `surface-container`.
- **Cool Charcoal 70% (#101219B2):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **Light Green (#A7F175):** Primary buttons and calls to action, seen 9 times. Token `primary`.
- **Cool Charcoal (#0E1318):** Text and icons on primary. Token `on-primary`.
- **Warm Silver (#E0DCD6):** High-contrast fills, seen 2 times. Token `inverse-surface`.
- **Light Violet (#A370FC):** Accent in text, fills and borders, seen 6 times. Token `secondary`.

## Typography

**Affinity Serif Variable**, **Canva Sans** and **Times New Roman** share the interface. Fallback stack: `Affinity Serif Variable, Canva Sans, Noto Sans Variable, Noto Sans`.

- **headline-display:** Affinity Serif Variable 148px at weight 700, line height 1.04 (64px on mobile). Page title (h1).
- **headline-lg:** Affinity Serif Variable 80px at weight 700, line height 0.98 (36px on mobile). Section headings (h2).
- **headline-md:** Affinity Serif Variable 56px at weight 700, line height 1 (32px on mobile). Sub-section headings.
- **headline-sm:** Canva Sans 32px at weight 401, line height 1.4. Card and feature titles.
- **title-lg:** Canva Sans 24px at weight 401, line height 1.4. Small titles.
- **body-md:** Canva Sans 16px at weight 401, line height 1.5. Body text.
- **body-sm:** Times New Roman 10px at weight 400. Secondary and small text.
- **label-md:** Canva Sans 16px at weight 600, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Canva Sans 14px at weight 500, line height 1.57. Small labels and badges.

## Layout

Spacing follows a 4px grid: 92% of measured gaps and paddings are multiples of 4px.

- **Scale:** xs 4px, sm 8px, md 16px, lg 22px.
- **Gaps:** 14px is the most common gap in flex and grid layouts.
- **Breakpoints:** 400px, 450px, 599.9px, 600px, 651px, 899.9px, 900px, 1199.9px, 1200px, 1336px, 1601px, 1650px.

## Elevation & Depth

Depth comes mostly from hairline rings and inset highlights on tonal surfaces (#1D1F26 → #2C2828):

- `rgba(255, 255, 255, 0.15) 0px 0px 0px 1px inset`

A few raised panels add a soft drop shadow: `rgba(255, 255, 255, 0.07) 0px 1px 0.5px 0px inset, rgba(255, 255, 255, 0.07) 0px 0px 0px 0.5px inset, rgba(0, 0, 0, 0.21) 0px 1px 2px 0px, rgba(0, 0, 0, 0.14) 0px 2px 4px 0px`.

## Shapes

Most elements use 10px corners. Measured radii, most used first:

- **md (10px):** 100 elements.
- **lg (12px):** 68 elements.
- **full (9999px):** 20 elements.
- **sm (6px):** 16 elements.
- **xl (16px):** 16 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Get Affinity”):** #A7F175 fill, #0E1318 text, 14px/500, 12px radius, padding 8px 16px.
- **button-primary-hover:** background #96D969, text #0E1318 on hover.
- **button-secondary (“Get for enterprise”):** #E0DCD6 fill, #0E1318 text, 16px/500, 12px radius, padding 8px 16px.
- **button-secondary-hover:** background #CCC8C2, text #0E1318 on hover.
- **button-ghost (“Product”):** transparent fill, #FFFFFF text, 13.3333px/400, padding 0px 4px.
- **link:** transparent fill, #FFFFFF text, padding 0px.

## Do's and Don'ts

- Do use #000000 for the page and lift surfaces in small steps: #1D1F26, #2C2828.
- Do keep text in 2 levels: #FFFFFF, #C4C4C4.
- Do reserve #A7F175 for primary actions and key highlights.
- Do keep spacing on the 4px grid.
- Do use 10px corners on most elements; larger surfaces also use 12px, 6px and 16px.
- Don't use heavy drop shadows; keep depth to hairline rings and tonal surfaces.
- Don't introduce new font families beyond Affinity Serif Variable, Canva Sans and Times New Roman.
- Don't use #A7F175 for large backgrounds or body text.
- Don't make interface transitions slower than 0.4s.

## Motion

Interface transitions are quick: 0.1s, 0.15s, 0.2s, 0.07s.

- **Easing:** `linear`, `ease`, `ease-in-out`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/affinity.studio/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).

```
