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