---
version: alpha
name: Logseq
description: "Dark interface measured from logseq.com: system-ui type, dark cyan accents, flat surfaces and 8px corners."
colors:
  background: "#01222A"
  surface: "#01222A"
  on-surface: "#F3F4F6"
  on-background: "#F3F4F6"
  on-surface-variant: "#8EC2C2"
  on-surface-muted: "#A4B5B6"
  on-surface-subtle: "#93B1B3"
  overlay: "#002B3680"
  overlay-strong: "#9CA3AF66"
  outline: "#6B72804D"
  outline-variant: "#4B5563"
  primary: "#195D6C"
  on-primary: "#F3F4F6"
  secondary: "#023643"
  tertiary: "#0369A1"
typography:
  headline-display:
    fontFamily: system-ui
    fontSize: 64px
    fontWeight: 400
    lineHeight: 0.95
  headline-lg:
    fontFamily: system-ui
    fontSize: 60px
    fontWeight: 400
    lineHeight: 1.2
  headline-md:
    fontFamily: system-ui
    fontSize: 38px
    fontWeight: 400
    lineHeight: 1.2
  headline-sm:
    fontFamily: system-ui
    fontSize: 30px
    fontWeight: 400
    lineHeight: 1.2
  title-lg:
    fontFamily: system-ui
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.5
  body-md:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  body-lg:
    fontFamily: system-ui
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.56
  body-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-sm:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.43
  title-lg-mobile:
    fontFamily: system-ui
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.5
rounded:
  sm: 4px
  md: 6px
  lg: 8px
  xl: 12px
  full: 9999px
spacing:
  xs: 2px
  sm: 8px
  md: 12px
  lg: 32px
  xl: 40px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.lg}"
    padding: 0px
    height: 48px
  button-secondary:
    backgroundColor: "{colors.tertiary}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.sm}"
    padding: 0px
    height: 28px
  button-tertiary:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.lg}"
    padding: 12px 16px
    height: 48px
  card:
    backgroundColor: "{colors.overlay}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 15px 12px 12px 12px
  link:
    textColor: "#D1D5DBE6"
---

# Logseq Design System

## Overview

The interface is dark, built on **Deep Cyan (#01222A)** with **Snow (#F3F4F6)** text, and **Dark Cyan (#195D6C)** as the main accent.

Type is set in **system-ui**. Headlines run large; body text is 14px. Depth comes from soft drop shadows. Corners are mostly 8px.

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

## Colors

The palette has 13 roles, plus gradient stops #01171D, #0E2A35, #01222A, #60A5FA.

- **Deep Cyan (#01222A):** Page background, seen 1 time. Token `background`.
- **Snow (#F3F4F6):** Primary text and headings, seen 54 times. Token `on-surface`.
- **Cyan (#8EC2C2):** Secondary text, seen 9 times. Token `on-surface-variant`.
- **Cyan (#A4B5B6):** Muted text and metadata, seen 9 times. Token `on-surface-muted`.
- **Cyan (#93B1B3):** Subtle text and placeholders, seen 16 times. Token `on-surface-subtle`.
- **Deep Cyan 50% (#002B3680):** Translucent fill for cards and controls, seen 4 times. Token `overlay`.
- **Blue 40% (#9CA3AF66):** Stronger translucent fill, seen 3 times. Token `overlay-strong`.
- **Cool Slate 30% (#6B72804D):** Borders and dividers, seen 2 times. Token `outline`.
- **Dark Blue (#4B5563):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Dark Cyan (#195D6C):** Primary buttons and calls to action, seen 7 times. Token `primary`.
- **Snow (#F3F4F6):** Text and icons on primary. Token `on-primary`.
- **Deep Cyan (#023643):** Secondary buttons, seen 6 times. Token `secondary`.
- **Dark Blue (#0369A1):** Secondary buttons, seen 1 time. Token `tertiary`.

## Typography

**system-ui** carries the whole interface. Fallback stack: `ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont`.

- **headline-display:** system-ui 64px at weight 400, line height 0.95. Page title (h1).
- **headline-lg:** system-ui 60px at weight 400, line height 1.2. Section headings (h2).
- **headline-md:** system-ui 38px at weight 400, line height 1.2. Sub-section headings.
- **headline-sm:** system-ui 30px at weight 400, line height 1.2. Card and feature titles.
- **title-lg:** system-ui 20px at weight 400, line height 1.5 (18px on mobile). Small titles.
- **body-md:** system-ui 14px at weight 400, line height 1.43. Body text.
- **body-lg:** system-ui 18px at weight 400, line height 1.56. Lead paragraphs.
- **body-sm:** system-ui 12px at weight 400, line height 1.33. Secondary and small text.
- **label-md:** system-ui 16px at weight 400, line height 1.5. Buttons, navigation and labels.
- **label-sm:** system-ui 14px at weight 600, line height 1.43. Small labels and badges.

## Layout

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

- **Scale:** xs 2px, sm 8px, md 12px, lg 32px, xl 40px.

## Elevation & Depth

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

- `rgba(133, 200, 200, 0.3) 0px 4px 32px 0px`

## Shapes

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

- **lg (8px):** 44 elements.
- **md (6px):** 40 elements.
- **xl (12px):** 36 elements.
- **sm (4px):** 20 elements.
- **full (9999px):** 16 elements.

## Components

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

- **button-primary (“Download for Linux”):** #195D6C fill, #F3F4F6 text, 16px/400, 8px radius, padding 0px.
- **button-secondary (“Download for Linux”):** #0369A1 fill, #F3F4F6 text, 16px/400, 4px radius, padding 0px.
- **button-tertiary (“Web app”):** #023643 fill, #F3F4F6 text, 16px/400, 8px radius, padding 12px 16px.
- **card:** #002B3680 fill, #F3F4F6 text, 16px/400, 6px radius, padding 15px 12px 12px 12px.
- **link:** transparent fill, #D1D5DBE6 text, padding 0px.

## Do's and Don'ts

- Do use #01222A for the page.
- Do keep text in 4 levels: #F3F4F6, #8EC2C2, #A4B5B6, #93B1B3.
- Do reserve #195D6C for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 12px, 32px).
- Do use 8px corners on most elements; larger surfaces also use 6px, 12px and 4px.
- Don't introduce new font families beyond system-ui.
- Don't use #195D6C for large backgrounds or body text.
- Don't make interface transitions slower than 0.5s.

## Motion

Interface transitions are quick: 0.15s, 0.5s, 0.3s. Longer ambient animations run 1s, 2s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `ease`, `ease-out`.

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