---
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).
