# Rulebase design system

> Rulebase design system measured from rulebase.co: Momo Trust Sans font, #FE4C00 primary, 12 color hex codes, type scale, spacing and a free DESIGN.md.

Canonical page: https://sitepeel.dev/design-md/rulebase.co/

Rulebase’s website (rulebase.co) uses the Momo Trust Sans font and #FE4C00 as its main color on a #1A1716 background. Measured by Sitepeel on November 17, 2026.

## What font does Rulebase use?

Rulebase uses Momo Trust Sans (weight 400) and ABC Diatype (weight 400) on rulebase.co. Page titles are 46px at weight 400 (36px on phones) and body text is 16px. Measured on November 17, 2026.

- Momo Trust Sans (weights 400)
- ABC Diatype (weights 400)
- Inter (weights 400, 500)

## Rulebase colors: palette and hex codes

Rulebase’s main colors are #1A1716 (charcoal) for the background, #FFFFFF (white) for text and #FE4C00 (vivid orange) as the main accent, with #D85210 (vivid orange) as another accent. Measured on November 17, 2026.

- #1A1716: charcoal (rgb(26, 23, 22), hsl(15, 8%, 9%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #F7F7F4: snow (rgb(247, 247, 244), hsl(60, 16%, 96%))
- #F7F5EE: warm mist (rgb(247, 245, 238), hsl(47, 36%, 95%))
- #141210: charcoal (rgb(20, 18, 16), hsl(30, 11%, 7%))
- #FE4C00: vivid orange (rgb(254, 76, 0), hsl(18, 100%, 50%))
- #D85210: vivid orange (rgb(216, 82, 16), hsl(20, 86%, 45%))

## What is Rulebase built with?

Rulebase’s website (rulebase.co) is built with Next.js, React, Cloudflare and Motion. Measured on November 17, 2026.

- JavaScript framework: Next.js 16.4.1, React 19.3.0-canary-278794d7-2
- Animation & 3D: Motion
- Analytics: PostHog, Cloudflare Web Analytics
- Hosting & CDN: Cloudflare

## Questions and answers

### What font does Rulebase use?

Rulebase’s website uses Momo Trust Sans (weight 400) and ABC Diatype (weight 400). Page titles are 46px at weight 400 (36px on phones) and body text is 16px. Measured on November 17, 2026.

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

On rulebase.co: #1A1716 (charcoal) for the background, #FFFFFF (white) for text and #FE4C00 (vivid orange) as the main accent, with #D85210 (vivid orange) as another accent. The color palette above lists all 12 colors with their hex codes and where each one is used.

### What is the Rulebase design system?

The design system on this page is rulebase.co’s, as measured on November 17, 2026: Momo Trust Sans type, #FE4C00 as the main color and 6px corners, written down as a DESIGN.md. It is not Rulebase’s own documentation.

### What is Rulebase built with?

Rulebase’s website (rulebase.co) is built with Next.js, React, Cloudflare and Motion. The full tech stack Sitepeel found: Next.js, React, Motion, PostHog, Cloudflare and Cloudflare Web Analytics. Measured on November 17, 2026.

### What is the Rulebase DESIGN.md?

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

No. Sitepeel measured it from rulebase.co’s public page on November 17, 2026. It is an independent analysis, not made or approved by Rulebase.

### Can I use Rulebase’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 Rulebase’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/rulebase.co/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 Rulebase.

## The DESIGN.md file

```markdown
---
version: alpha
name: Rulebase
description: "Dark interface measured from rulebase.co: Momo Trust Sans type with ABC Diatype, vivid orange accents, tonal surfaces and 6px corners."
colors:
  background: "#1A1716"
  surface: "#1A1716"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#F7F7F4"
  on-surface-muted: "#F7F5EE"
  surface-container-low: "#141210"
  overlay: "#5452520F"
  overlay-strong: "#F7F5EE14"
  outline: "#0000001A"
  outline-variant: "#1A17162E"
  primary: "#FE4C00"
  on-primary: "#F7F7F4"
  secondary: "#D85210"
typography:
  headline-display:
    fontFamily: Momo Trust Sans
    fontSize: 46px
    fontWeight: 400
    lineHeight: 1.02
    letterSpacing: -0.03em
  headline-lg:
    fontFamily: Momo Trust Sans
    fontSize: 40px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: -0.02em
  headline-md:
    fontFamily: Momo Trust Sans
    fontSize: 32px
    fontWeight: 400
    lineHeight: 1.3
    letterSpacing: -0.02em
  headline-sm:
    fontFamily: Momo Trust Sans
    fontSize: 22px
    fontWeight: 400
    lineHeight: 1.36
  title-lg:
    fontFamily: ABC Diatype
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.4
    letterSpacing: -0.02em
  body-md:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
  body-lg:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 500
    lineHeight: 1.33
  body-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
    letterSpacing: -0.006em
  caption:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
    letterSpacing: -0.007em
  label-md:
    fontFamily: Momo Trust Sans
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.23
    letterSpacing: 0.12em
  label-sm:
    fontFamily: Inter
    fontSize: 11px
    fontWeight: 500
    lineHeight: 1.45
  headline-display-mobile:
    fontFamily: Momo Trust Sans
    fontSize: 36px
    fontWeight: 400
    lineHeight: 1.11
    letterSpacing: -0.028em
rounded:
  sm: 4px
  md: 6px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 12px
  lg: 20px
  xl: 40px
  gutter: 24px
  section: 100px
  margin: 40px
  container: 1512px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    rounded: 2px
    padding: 6px 12px
    height: 36px
  button-secondary:
    backgroundColor: "{colors.on-surface}"
    textColor: "{colors.background}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.sm}"
    padding: 6px 14px
    height: 36px
  button-ghost:
    textColor: "#000000"
    typography: "{typography.label-md}"
    rounded: 0px
    padding: 0px
  card:
    backgroundColor: "#EDEBE5"
    textColor: "#1E1E1E"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 0px
  link:
    textColor: "#1E1E1E"
---

# Rulebase Design System

## Overview

Rulebase describes itself as: “Give Rulebase agents a goal, an SLA and your operating rules. Agents investigate, coordinate and follow through across your systems and teams over days or weeks.” The interface is dark, built on **Charcoal (#1A1716)** with **White (#FFFFFF)** text, and **Vivid Orange (#FE4C00)** as the main accent.

Type is set in **Momo Trust Sans** and **ABC Diatype**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 6px.

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

## Colors

The palette has 12 roles.

- **Charcoal (#1A1716):** Page background, seen 3 times. Token `background`, CSS `--color-dark`.
- **White (#FFFFFF):** Primary text and headings, seen 10 times. Token `on-surface`.
- **Snow (#F7F7F4):** Secondary text, seen 7 times. Token `on-surface-variant`, CSS `--cream`.
- **Warm Mist (#F7F5EE):** Muted text and metadata, seen 7 times. Token `on-surface-muted`.
- **Charcoal (#141210):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Slate 6% (#5452520F):** Translucent fill for cards and controls, seen 18 times. Token `overlay`.
- **Warm Mist 8% (#F7F5EE14):** Stronger translucent fill, seen 15 times. Token `overlay-strong`.
- **Near Black 10% (#0000001A):** Borders and dividers, seen 5 times. Token `outline`.
- **Charcoal 18% (#1A17162E):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Vivid Orange (#FE4C00):** Primary buttons and calls to action, seen 12 times. Token `primary`.
- **Snow (#F7F7F4):** Text and icons on primary. Token `on-primary`.
- **Vivid Orange (#D85210):** Accent (CSS variable). Token `secondary`.

## Typography

**Momo Trust Sans**, **ABC Diatype** and **Inter** share the interface. Fallback stack: `Momo Trust Sans, ABC Diatype, Inter, Inter Fallback`. Other loaded fonts: Hedvig Letters Sans, Geist Mono.

- **headline-display:** Momo Trust Sans 46px at weight 400, line height 1.02, tracking -0.03em (36px on mobile). Page title (h1).
- **headline-lg:** Momo Trust Sans 40px at weight 400, line height 1.1, tracking -0.02em. Section headings (h2).
- **headline-md:** Momo Trust Sans 32px at weight 400, line height 1.3, tracking -0.02em. Sub-section headings.
- **headline-sm:** Momo Trust Sans 22px at weight 400, line height 1.36. Card and feature titles.
- **title-lg:** ABC Diatype 20px at weight 400, line height 1.4, tracking -0.02em. Small titles.
- **body-md:** Inter 16px at weight 400. Body text.
- **body-lg:** Inter 18px at weight 500, line height 1.33. Lead paragraphs.
- **body-sm:** Inter 14px at weight 400, line height 1.43, tracking -0.006em. Secondary and small text.
- **caption:** Inter 12px at weight 400, line height 1.33, tracking -0.007em. Captions and fine print.
- **label-md:** Momo Trust Sans 13px at weight 400, line height 1.23, tracking 0.12em, uppercase. Buttons, navigation and labels.
- **label-sm:** Inter 11px at weight 500, line height 1.45. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (77% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 12px, lg 20px, xl 40px.
- **Sections:** 100px vertical padding between major sections.
- **Gaps:** 24px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1512px.
- **Page margin:** 40px on each side of full-width sections.
- **Breakpoints:** 500px, 560px, 640px, 641px, 760px, 767px, 900px, 1024px, 1025px, 1100px, 1200px, 1201px, 1320px, 1440px, 1513px, 1700px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(0, 0, 0, 0.05) 0px 4px 2px 0px`
- `rgba(26, 23, 22, 0.18) 0px 18px 48px 0px, rgba(26, 23, 22, 0.08) 0px 2px 8px 0px`

## Shapes

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

- **md (6px):** 72 elements.
- **sm (4px):** 66 elements.
- **full (9999px):** 12 elements.

## Components

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

- **button-primary (“Schedule a Demo”):** #FE4C00 fill, #F7F7F4 text, 16px/400, 2px radius, padding 6px 12px.
- **button-secondary (“Get Started”):** #FFFFFF fill, #1A1716 text, 14px/400, 4px radius, padding 6px 14px.
- **button-ghost (“Watch how Rho transformed their ”):** transparent fill, #000000 text, 13.3333px/400, padding 0px.
- **card:** #EDEBE5 fill, #1E1E1E text, 16px/400, padding 0px.
- **link:** transparent fill, #1E1E1E text, padding 0px.

## Do's and Don'ts

- Do use #1A1716 for the page and lift surfaces in small steps: #141210.
- Do keep text in 3 levels: #FFFFFF, #F7F7F4, #F7F5EE.
- Do reserve #FE4C00 for primary actions and key highlights.
- Do set headlines in Momo Trust Sans with tight tracking (-0.03em).
- Do reuse the measured spacing steps (8px, 12px, 20px).
- Do use 6px corners on most elements; larger surfaces also use 4px.
- Don't introduce new font families beyond Momo Trust Sans, ABC Diatype and Inter.
- Don't use #FE4C00 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.18s, 0.22s, 0.2s, 0.15s. Longer ambient animations run 0.85s.

- **Easing:** `ease`, `cubic-bezier(0.2, 0.8, 0.2, 1)`, `cubic-bezier(0.22, 1, 0.36, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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

```
