# Anime.js design system

> Anime.js design system measured from animejs.com: DIN font, #FF4B4B primary on #252423, 15 color hex codes, type scale, spacing and a free DESIGN.md.

Canonical page: https://sitepeel.dev/design-md/animejs.com/

Anime.js’s website (animejs.com) uses the DIN font and #FF4B4B as its main color on a #252423 background. Measured by Sitepeel on November 6, 2026.

## What font does Anime.js use?

Anime.js uses DIN (weights 400, 600, 700 and 800), with Mono for code on animejs.com. Page titles are 52px at weight 700 (40px on phones) and body text is 16px. Measured on November 6, 2026.

- DIN (weights 400, 600, 700, 800)
- Mono (weights 600)

## Anime.js colors: palette and hex codes

Anime.js’s main colors are #252423 (graphite) for the background, #F6F4F2 (snow) for text and #FF4B4B (red) as the main accent, with #FFA828 (vivid orange) and #4D9CFF (blue) as other accents. Measured on November 6, 2026.

- #252423: graphite
- #F6F4F2: snow
- #D5D3D1: silver
- #B4B1AF: gray
- #615E5B: warm slate
- #2A2928: graphite
- #4B2A29: dark red
- #353432: graphite

## What is Anime.js built with?

Anime.js’s website (animejs.com) is built with Cloudflare, Three.js, PHP and Anime.js. Measured on November 6, 2026.

- Animation & 3D: Three.js r172, Anime.js
- Server: PHP 8.3
- Hosting & CDN: Cloudflare
- Analytics: Cloudflare Web Analytics, Google Analytics

## Questions and answers

### What font does Anime.js use?

Anime.js’s website uses DIN (weights 400, 600, 700 and 800), with Mono for code. Page titles are 52px at weight 700 (40px on phones) and body text is 16px. Measured on November 6, 2026.

### What are the Anime.js colors and hex codes?

On animejs.com: #252423 (graphite) for the background, #F6F4F2 (snow) for text and #FF4B4B (red) as the main accent, with #FFA828 (vivid orange) and #4D9CFF (blue) as other accents. The color palette above lists all 15 colors with their hex codes and where each one is used.

### What is the Anime.js design system?

The design system on this page is animejs.com’s, as measured on November 6, 2026: DIN type, #FF4B4B as the main color, pill-shaped corners and a 4px spacing grid, written down as a DESIGN.md. It is not Anime.js’s own documentation.

### What is Anime.js built with?

Anime.js’s website (animejs.com) is built with Cloudflare, Three.js, PHP and Anime.js. The full tech stack Sitepeel found: Three.js, PHP, Cloudflare, Anime.js, Cloudflare Web Analytics and Google Analytics. Measured on November 6, 2026.

### What is the Anime.js DESIGN.md?

A plain-text file with Anime.js’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 Anime.js’s official design system?

No. Sitepeel measured it from animejs.com’s public page on November 6, 2026. It is an independent analysis, not made or approved by Anime.js.

### Can I use Anime.js’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 Anime.js’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/animejs.com/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 Anime.js.

## The DESIGN.md file

```markdown
---
version: alpha
name: Anime.js
description: "Dark interface measured from animejs.com: DIN type, red accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#252423"
  surface: "#252423"
  on-surface: "#F6F4F2"
  on-background: "#F6F4F2"
  on-surface-variant: "#D5D3D1"
  on-surface-muted: "#B4B1AF"
  on-surface-subtle: "#615E5B"
  surface-container-low: "#2A2928"
  surface-container: "#4B2A29"
  surface-container-high: "#353432"
  outline: "#615E5B"
  primary: "#FF4B4B"
  on-primary: "#000000"
  secondary: "#FFA828"
  tertiary: "#4D9CFF"
  success: "#00FFAA"
  warning: "#FFCC2A"
typography:
  headline-display:
    fontFamily: DIN
    fontSize: 52px
    fontWeight: 700
    lineHeight: 0.86
  headline-lg:
    fontFamily: DIN
    fontSize: 40px
    fontWeight: 800
    lineHeight: 0.95
    letterSpacing: -0.013em
  body-md:
    fontFamily: DIN
    fontSize: 16px
    fontWeight: 400
  body-lg:
    fontFamily: DIN
    fontSize: 20px
    fontWeight: 600
    lineHeight: 1.25
  body-sm:
    fontFamily: DIN
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.25
  label-md:
    fontFamily: DIN
    fontSize: 16px
    fontWeight: 600
  label-sm:
    fontFamily: DIN
    fontSize: 12px
    fontWeight: 600
    letterSpacing: 0.01em
  code:
    fontFamily: Mono
    fontSize: 12px
    fontWeight: 600
    lineHeight: 2
    letterSpacing: 0.01em
  headline-display-mobile:
    fontFamily: DIN
    fontSize: 40px
    fontWeight: 700
    lineHeight: 0.86
rounded:
  sm: 4px
  md: 12px
  full: 9999px
spacing:
  base: 4px
  xs: 4px
  sm: 8px
  md: 12px
  lg: 28px
  xl: 64px
  margin: 64px
  container: 1500px
components:
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.primary}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.sm}"
    padding: 0px 12px
    height: 71px
  button-outline-hover:
    backgroundColor: "#5C2D2C"
  button-ghost:
    textColor: "#93908D"
    typography: "{typography.label-sm}"
    rounded: "{rounded.sm}"
    padding: 0px 16px
    height: 48px
  button-ghost-hover:
    textColor: "{colors.on-surface-muted}"
  input-field:
    backgroundColor: "{colors.surface-container-high}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.sm}"
    padding: 12px
  link:
    textColor: "{colors.on-surface-muted}"
---

# Anime.js Design System

## Overview

Anime.js describes itself as: “A fast, multipurpose and lightweight JavaScript animation library” The interface is dark, built on **Graphite (#252423)** with **Snow (#F6F4F2)** text, and **Red (#FF4B4B)** as the main accent.

Type is set in **DIN**, with **Mono** for code. Headlines run large; body text is 16px. The surface language is flat. Controls are pill-shaped.

Measured from [animejs.com](https://animejs.com/) on November 6, 2026 at 1440×900 and 390×844 from 352 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 15 roles.

- **Graphite (#252423):** Page background, seen 4 times. Token `background`, CSS `--backgroundColor`.
- **Snow (#F6F4F2):** Primary text and headings, seen 29 times. Token `on-surface`, CSS `--hex-white-1`.
- **Silver (#D5D3D1):** Secondary text, seen 22 times. Token `on-surface-variant`, CSS `--hex-fg-2`.
- **Gray (#B4B1AF):** Muted text and metadata, seen 54 times. Token `on-surface-muted`.
- **Warm Slate (#615E5B):** Subtle text and placeholders, seen 4 times. Token `on-surface-subtle`.
- **Graphite (#2A2928):** Raised areas one step from the page, seen 14 times. Token `surface-container-low`.
- **Dark Red (#4B2A29):** Cards and panels, seen 1 time. Token `surface-container`.
- **Graphite (#353432):** Hover and pressed fills, seen 1 time. Token `surface-container-high`, CSS `--hex-bg-4`.
- **Warm Slate (#615E5B):** Borders and dividers, seen 1 time. Token `outline`.
- **Red (#FF4B4B):** Brand color on large areas, seen 7 times. Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **Vivid Orange (#FFA828):** Accent, seen 3 times. Token `secondary`, CSS `--hex-orange-1`.
- **Blue (#4D9CFF):** Accent, seen 3 times. Token `tertiary`, CSS `--hex-king-1`.
- **Vivid Teal (#00FFAA):** Success and positive states, seen 2 times. Token `success`.
- **Vivid Amber (#FFCC2A):** Warnings and highlights, seen 2 times. Token `warning`.

## Typography

**DIN** and **Mono** (monospace) share the interface. Fallback stack: `DIN, Helvetica Neue, Helvetica, Arial`.

- **headline-display:** DIN 52px at weight 700, line height 0.86 (40px on mobile). Page title (h1).
- **headline-lg:** DIN 40px at weight 800, line height 0.95, tracking -0.013em. Section headings (h2).
- **body-md:** DIN 16px at weight 400. Body text.
- **body-lg:** DIN 20px at weight 600, line height 1.25. Lead paragraphs.
- **body-sm:** DIN 12px at weight 400, line height 1.25. Secondary and small text.
- **label-md:** DIN 16px at weight 600. Buttons, navigation and labels.
- **label-sm:** DIN 12px at weight 600, tracking 0.01em, uppercase. Small labels and badges.
- **code:** Mono 12px at weight 600, line height 2, tracking 0.01em, uppercase. Code and technical values.

## Layout

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

- **Scale:** xs 4px, sm 8px, md 12px, lg 28px, xl 64px.
- **Container:** content is capped at 1500px.
- **Page margin:** 64px on each side of full-width sections.
- **Breakpoints:** 899px, 900px, 1199px, 1200px, 1500px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#2A2928 → #4B2A29 → #353432) and #615E5B borders.

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **full (9999px):** 48 elements.
- **sm (4px):** 13 elements.
- **md (12px):** 8 elements.

## Components

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

- **button-outline (“SPONSOR”):** #4B2A29 fill, #FF4B4B text, 12px/600, 4px radius, padding 0px 12px.
- **button-outline-hover:** background #5C2D2C, text #FF4B4B on hover.
- **button-ghost (“LEARN MORE”):** transparent fill, #93908D text, 12px/600, 4px radius, padding 0px 16px, border 1px solid #615E5B.
- **button-ghost-hover:** background #00000000, text #B4B1AF on hover.
- **input-field (“Enter your email”):** #353432 fill, #F6F4F2 text, 12px/600, 4px 0px 0px 4px radius, padding 12px.
- **link:** transparent fill, #B4B1AF text, padding 0px.

## Do's and Don'ts

- Do use #252423 for the page and lift surfaces in small steps: #2A2928, #4B2A29, #353432.
- Do keep text in 4 levels: #F6F4F2, #D5D3D1, #B4B1AF, #615E5B.
- Do use #FF4B4B as the brand accent: header, logo and key highlights.
- Do keep spacing on the 4px grid.
- Do make buttons and chips fully rounded (9999px); most other elements use 4px corners.
- Don't use #615E5B for body text; it reaches 2.41:1 on #252423. Keep it for large text or metadata.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond DIN and Mono.
- Don't use #FF4B4B for large backgrounds or body text.
- Don't make interface transitions slower than 0.125s.

## Motion

Interface transitions are quick: 0.125s, 0.1s.

- **Easing:** `ease-out`, `ease`.

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

```
