# SafeBook design system

> SafeBook design system measured from fazpronoy.pythonanywhere.com: Chakra Petch font, 15 color hex codes, type scale and spacing. Dark theme with 6px corners.

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

SafeBook’s website (fazpronoy.pythonanywhere.com) uses the Chakra Petch font and #2EE59D as its main color on a #05080C background. Measured by Sitepeel on November 13, 2026.

## What font does SafeBook use?

SafeBook uses Chakra Petch (weights 600, 650 and 700) and IBM Plex Sans (weight 400), with Fira Code for code on fazpronoy.pythonanywhere.com. Page titles are 51px at weight 700 (33.5px on phones) and body text is 14.5px. Measured on November 13, 2026.

- Chakra Petch (weights 600, 650, 700)
- IBM Plex Sans (weights 400)
- Fira Code (weights 400)

## SafeBook colors: palette and hex codes

SafeBook’s main colors are #05080C (near black) for the background, #D7E9E2 (pale teal) for text and #2EE59D (teal) as the main accent, with #63EDB7 (teal) as another accent. Measured on November 13, 2026.

- #05080C: near black (rgb(5, 8, 12), hsl(214, 41%, 3%))
- #D7E9E2: pale teal (rgb(215, 233, 226), hsl(157, 29%, 88%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #CFE5DD: light teal (rgb(207, 229, 221), hsl(158, 30%, 85%))
- #8BA39B: teal (rgb(139, 163, 155), hsl(160, 12%, 59%))
- #070B10: cool charcoal (rgb(7, 11, 16), hsl(213, 39%, 5%))
- #0D141C: cool charcoal (rgb(13, 20, 28), hsl(212, 37%, 8%))
- #121C27: deep blue (rgb(18, 28, 39), hsl(211, 37%, 11%))

## What is SafeBook built with?

SafeBook’s website (fazpronoy.pythonanywhere.com) is built with Google Fonts. Measured on November 13, 2026.

- Fonts & icons: Google Fonts

## Questions and answers

### What font does SafeBook use?

SafeBook’s website uses Chakra Petch (weights 600, 650 and 700) and IBM Plex Sans (weight 400), with Fira Code for code. Page titles are 51px at weight 700 (33.5px on phones) and body text is 14.5px. Measured on November 13, 2026.

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

On fazpronoy.pythonanywhere.com: #05080C (near black) for the background, #D7E9E2 (pale teal) for text and #2EE59D (teal) as the main accent, with #63EDB7 (teal) as another accent. The color palette above lists all 15 colors with their hex codes and where each one is used.

### What is the SafeBook design system?

The design system on this page is fazpronoy.pythonanywhere.com’s, as measured on November 13, 2026: Chakra Petch type, #2EE59D as the main color and 6px corners, written down as a DESIGN.md. It is not SafeBook’s own documentation.

### What is SafeBook built with?

SafeBook’s website (fazpronoy.pythonanywhere.com) is built with Google Fonts. Measured on November 13, 2026.

### What is the SafeBook DESIGN.md?

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

No. Sitepeel measured it from fazpronoy.pythonanywhere.com’s public page on November 13, 2026. It is an independent analysis, not made or approved by SafeBook.

### Can I use SafeBook’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 SafeBook’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/fazpronoy.pythonanywhere.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 SafeBook.

## The DESIGN.md file

```markdown
---
version: alpha
name: SafeBook
description: "Dark interface measured from fazpronoy.pythonanywhere.com: Chakra Petch type with IBM Plex Sans, teal accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#05080C"
  surface: "#05080C"
  on-surface: "#D7E9E2"
  on-background: "#D7E9E2"
  on-surface-strong: "#FFFFFF"
  on-surface-variant: "#CFE5DD"
  on-surface-muted: "#8BA39B"
  surface-container-low: "#070B10"
  surface-container: "#0D141C"
  surface-container-high: "#121C27"
  overlay: "#2EE59D24"
  overlay-strong: "#FFFFFF14"
  outline: "#1B2A36"
  outline-variant: "#2EE59D40"
  primary: "#2EE59D"
  on-primary: "#03140D"
  secondary: "#63EDB7"
typography:
  headline-display:
    fontFamily: Chakra Petch
    fontSize: 51px
    fontWeight: 700
    lineHeight: 1.08
    letterSpacing: 0.01em
  headline-lg:
    fontFamily: Chakra Petch
    fontSize: 27px
    fontWeight: 650
    lineHeight: 1.15
    letterSpacing: 0.01em
  body-md:
    fontFamily: IBM Plex Sans
    fontSize: 14.5px
    fontWeight: 400
    lineHeight: 1.6
  body-sm:
    fontFamily: IBM Plex Sans
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.6
  label-lg:
    fontFamily: Chakra Petch
    fontSize: 16px
    fontWeight: 650
    lineHeight: 1.15
    letterSpacing: 0.01em
  label-md:
    fontFamily: IBM Plex Sans
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.6
  label-sm:
    fontFamily: Chakra Petch
    fontSize: 13.5px
    fontWeight: 600
    lineHeight: 1.6
    letterSpacing: 0.03em
  code:
    fontFamily: Fira Code
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.6
    letterSpacing: 0.06em
  headline-display-mobile:
    fontFamily: Chakra Petch
    fontSize: 33.5px
    fontWeight: 700
    lineHeight: 1.08
    letterSpacing: 0.01em
  headline-lg-mobile:
    fontFamily: Chakra Petch
    fontSize: 21.5px
    fontWeight: 650
    lineHeight: 1.15
    letterSpacing: 0.01em
rounded:
  sm: 4px
  md: 6px
  lg: 8px
  xl: 10px
  full: 9999px
spacing:
  xs: 2px
  sm: 6px
  md: 12px
  lg: 20px
  xl: 56px
  gutter: 8px
  section: 56px
  container: 1080px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.md}"
    padding: 6px 12px
    height: 34px
  button-primary-hover:
    backgroundColor: "{colors.secondary}"
  button-secondary:
    backgroundColor: "{colors.on-surface}"
    textColor: "{colors.surface-container}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: 0px 16px
    height: 44px
  button-outline:
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.md}"
    padding: 0px 12px
    height: 40px
  button-ghost:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.md}"
    padding: 6px 12px
  card:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.xl}"
    padding: 16px
  link:
    textColor: "{colors.primary}"
---

# SafeBook Design System

## Overview

SafeBook describes itself as: “SafeBook is a social network where your posts, comments and chats are locked with keys only you and your friends hold. The server stores them without a key of its own.” The interface is dark, built on **Near Black (#05080C)** with **Pale Teal (#D7E9E2)** text, and **Teal (#2EE59D)** as the main accent.

Type is set in **Chakra Petch** and **IBM Plex Sans**, with **Fira Code** for code. Headlines run large; body text is 14.5px. The surface language is flat. Controls are pill-shaped.

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

## Colors

The palette has 15 roles.

- **Near Black (#05080C):** Page background, seen 1 time. Token `background`, CSS `--band`.
- **Pale Teal (#D7E9E2):** Primary text and headings, seen 13 times. Token `on-surface`, CSS `--on-bar`.
- **White (#FFFFFF):** Headings and emphasis, seen 6 times. Token `on-surface-strong`.
- **Light Teal (#CFE5DD):** Secondary text, seen 3 times. Token `on-surface-variant`.
- **Teal (#8BA39B):** Muted text and metadata, seen 23 times. Token `on-surface-muted`, CSS `--muted`.
- **Cool Charcoal (#070B10):** Raised areas one step from the page, seen 2 times. Token `surface-container-low`, CSS `--bar-a`.
- **Cool Charcoal (#0D141C):** Cards and panels, seen 8 times. Token `surface-container`, CSS `--surface`.
- **Deep Blue (#121C27):** Hover and pressed fills, seen 4 times. Token `surface-container-high`, CSS `--surface-2`.
- **Teal 14% (#2EE59D24):** Translucent fill for cards and controls, seen 1 time. Token `overlay`, CSS `--glow-a`.
- **White 8% (#FFFFFF14):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Deep Blue (#1B2A36):** Borders and dividers, seen 12 times. Token `outline`, CSS `--line`.
- **Teal 25% (#2EE59D40):** Secondary dividers, seen 3 times. Token `outline-variant`.
- **Teal (#2EE59D):** Primary buttons and calls to action, seen 28 times. Token `primary`, CSS `--signal`.
- **Charcoal (#03140D):** Text and icons on primary. Token `on-primary`.
- **Teal (#63EDB7):** Accent (CSS variable). Token `secondary`.

## Typography

**Chakra Petch**, **IBM Plex Sans** and **Fira Code** (monospace) share the interface. Fallback stack: `Chakra Petch, IBM Plex Sans, system-ui, sans-serif`.

- **headline-display:** Chakra Petch 51px at weight 700, line height 1.08, tracking 0.01em (33.5px on mobile). Page title (h1).
- **headline-lg:** Chakra Petch 27px at weight 650, line height 1.15, tracking 0.01em (21.5px on mobile). Section headings (h2).
- **body-md:** IBM Plex Sans 14.5px at weight 400, line height 1.6. Body text.
- **body-sm:** IBM Plex Sans 13px at weight 400, line height 1.6. Secondary and small text.
- **label-lg:** Chakra Petch 16px at weight 650, line height 1.15, tracking 0.01em. Large buttons and tabs.
- **label-md:** IBM Plex Sans 15px at weight 400, line height 1.6. Buttons, navigation and labels.
- **label-sm:** Chakra Petch 13.5px at weight 600, line height 1.6, tracking 0.03em. Small labels and badges.
- **code:** Fira Code 12px at weight 400, line height 1.6, tracking 0.06em. Code and technical values.

## Layout

Spacing does not follow a strict grid: 54% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 2px, sm 6px, md 12px, lg 20px, xl 56px.
- **Sections:** 56px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1080px.
- **Breakpoints:** 420px, 560px, 640px, 760px, 900px, 1180px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#070B10 → #0D141C → #121C27) and #1B2A36 borders.

## Shapes

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

- **md (6px):** 48 elements.
- **full (9999px):** 36 elements.
- **xl (10px):** 16 elements.
- **sm (4px):** 4 elements.
- **lg (8px):** 4 elements.

## Components

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

- **button-primary (“Join”):** #2EE59D fill, #03140D text, 13.76px/700, 6px radius, padding 6px 12px.
- **button-primary-hover:** background #63EDB7, text #03140D on hover.
- **button-secondary (“Only me”):** #D7E9E2 fill, #0D141C text, 15px/600, 999px radius, padding 0px 16px, border 1px solid #D7E9E2.
- **button-outline (“As a friend”):** transparent fill, #CFE5DD text, 13.6px/600, 6px radius, padding 0px 12px, border 1px solid #2EE59D40.
- **button-ghost (“Sign in”):** transparent fill, #D7E9E2 text, 13.76px/700, 6px radius, padding 6px 12px.
- **card:** #0D141C fill, #D7E9E2 text, 15px/400, 10px radius, padding 16px, border 1px solid #1B2A36.
- **link:** transparent fill, #2EE59D text, padding 0px.

## Do's and Don'ts

- Do use #05080C for the page and lift surfaces in small steps: #070B10, #0D141C, #121C27.
- Do keep text in 4 levels: #D7E9E2, #FFFFFF, #CFE5DD, #8BA39B.
- Do reserve #2EE59D for primary actions and key highlights.
- Do reuse the measured spacing steps (6px, 12px, 20px).
- Do make buttons and chips fully rounded (9999px); most other elements use 6px corners.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond Chakra Petch, IBM Plex Sans and Fira Code.
- Don't use #2EE59D for large backgrounds or body text.
- Don't make interface transitions slower than 0.15s.

## Motion

Interface transitions are quick: 0.15s, 0.1s.

- **Easing:** `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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

```
