---
version: alpha
name: Grammerce
description: "Dark interface measured from grammerce.io: Onest type, teal accents, tonal surfaces and 16px corners."
colors:
  background: "#08090B"
  surface: "#08090B"
  on-surface: "#F4F5F6"
  on-background: "#F4F5F6"
  on-surface-variant: "#C7CAD1"
  on-surface-muted: "#9499A1"
  on-surface-subtle: "#6B7178"
  surface-container-low: "#0A0C0F"
  overlay: "#FFFFFF0D"
  overlay-strong: "#FFFFFF04"
  outline: "#FFFFFF14"
  outline-variant: "#FFFFFF24"
  primary: "#34E5A4"
  on-primary: "#000000"
  secondary: "#22D3EE"
  tertiary: "#16B886"
typography:
  headline-display:
    fontFamily: Onest
    fontSize: 60px
    fontWeight: 700
    lineHeight: 1.04
    letterSpacing: -0.03em
  headline-lg:
    fontFamily: Onest
    fontSize: 50px
    fontWeight: 700
    lineHeight: 1.05
    letterSpacing: -0.025em
  headline-md:
    fontFamily: Onest
    fontSize: 22px
    fontWeight: 700
  body-md:
    fontFamily: Onest
    fontSize: 16px
    fontWeight: 400
  body-lg:
    fontFamily: Onest
    fontSize: 18px
    fontWeight: 600
  body-sm:
    fontFamily: Onest
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.55
  caption:
    fontFamily: Onest
    fontSize: 12.5px
    fontWeight: 400
    lineHeight: 1.45
  label-lg:
    fontFamily: Onest
    fontSize: 16px
    fontWeight: 500
  label-md:
    fontFamily: Onest
    fontSize: 15px
    fontWeight: 500
  label-sm:
    fontFamily: Onest
    fontSize: 14.5px
    fontWeight: 500
  code:
    fontFamily: JetBrains Mono
    fontSize: 12.5px
    fontWeight: 400
  headline-display-mobile:
    fontFamily: Onest
    fontSize: 34px
    fontWeight: 700
    lineHeight: 1.04
    letterSpacing: -0.03em
  headline-lg-mobile:
    fontFamily: Onest
    fontSize: 30px
    fontWeight: 700
    lineHeight: 1.05
    letterSpacing: -0.025em
rounded:
  xs: 8px
  sm: 11px
  md: 16px
  lg: 18px
  xl: 100px
  full: 9999px
spacing:
  xs: 3px
  sm: 8px
  md: 10px
  lg: 26px
  gutter: 9px
  section: 68px
  container: 1220px
components:
  button-primary:
    textColor: "#04130D"
    typography: "{typography.body-sm}"
    rounded: 10px
    padding: 10px 17px
    height: 38px
  button-ghost:
    backgroundColor: "#FFFFFF0A"
    textColor: "{colors.on-surface-variant}"
    rounded: 9px
    padding: 7px 13px 7px 10px
  card:
    backgroundColor: "#FFFFFF05"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: 22px 28px
---

# Grammerce Design System

## Overview

Grammerce describes itself as: “Grammerce — полноценный интернет-магазин в Telegram WebApp для бизнеса в Узбекистане. CRM, онлайн-оплата Click/Payme/Uzum, QR-лояльность, 0% комиссий. 7 дней бесплатно.” The interface is dark, built on **Near Black (#08090B)** with **Snow (#F4F5F6)** text, and **Teal (#34E5A4)** as the main accent.

Type is set in **Onest**, with **JetBrains Mono** for code. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 16px.

Measured from [grammerce.io](https://grammerce.io/) on December 2, 2026 at 1440×900 and 390×844 from 344 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 14 roles, plus gradient stops #34E5A4, #22D3EE, #16B886.

- **Near Black (#08090B):** Page background, seen 2 times. Token `background`, CSS `--c-bg`.
- **Snow (#F4F5F6):** Primary text and headings, seen 46 times. Token `on-surface`, CSS `--c-text`.
- **Cool Silver (#C7CAD1):** Secondary text, seen 18 times. Token `on-surface-variant`.
- **Cool Gray (#9499A1):** Muted text and metadata, seen 45 times. Token `on-surface-muted`, CSS `--c-muted`.
- **Cool Slate (#6B7178):** Subtle text and placeholders, seen 18 times. Token `on-surface-subtle`, CSS `--c-dimmed`.
- **Charcoal (#0A0C0F):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **White 5% (#FFFFFF0D):** Translucent fill for cards and controls, seen 16 times. Token `overlay`.
- **White 2% (#FFFFFF04):** Stronger translucent fill, seen 13 times. Token `overlay-strong`, CSS `--c-surface`.
- **White 8% (#FFFFFF14):** Borders and dividers, seen 44 times. Token `outline`, CSS `--c-border`.
- **White 14% (#FFFFFF24):** Secondary dividers, seen 4 times. Token `outline-variant`, CSS `--c-border-2`.
- **Teal (#34E5A4):** Brand accent (CSS variable), seen 50 times. Token `primary`, CSS `--c-accent`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **Vivid Cyan (#22D3EE):** Accent (CSS variable). Token `secondary`, CSS `--c-accent-c`.
- **Teal (#16B886):** Accent (CSS variable). Token `tertiary`, CSS `--c-accent-2`.

## Typography

**Onest** and **JetBrains Mono** (monospace) share the interface. Fallback stack: `Onest, system-ui, sans-serif`.

- **headline-display:** Onest 60px at weight 700, line height 1.04, tracking -0.03em (34px on mobile). Page title (h1).
- **headline-lg:** Onest 50px at weight 700, line height 1.05, tracking -0.025em (30px on mobile). Section headings (h2).
- **headline-md:** Onest 22px at weight 700. Sub-section headings.
- **body-md:** Onest 16px at weight 400. Body text.
- **body-lg:** Onest 18px at weight 600. Lead paragraphs.
- **body-sm:** Onest 14px at weight 400, line height 1.55. Secondary and small text.
- **caption:** Onest 12.5px at weight 400, line height 1.45. Captions and fine print.
- **label-lg:** Onest 16px at weight 500. Large buttons and tabs.
- **label-md:** Onest 15px at weight 500. Buttons, navigation and labels.
- **label-sm:** Onest 14.5px at weight 500. Small labels and badges.
- **code:** JetBrains Mono 12.5px at weight 400. Code and technical values.

## Layout

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

- **Scale:** xs 3px, sm 8px, md 10px, lg 26px.
- **Sections:** 68px vertical padding between major sections.
- **Gaps:** 9px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1220px.
- **Breakpoints:** 520px, 560px, 640px, 768px, 860px, 880px, 900px, 1024px, 1280px.

## Elevation & Depth

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

- `rgba(52, 229, 164, 0.7) 0px 14px 40px -12px`
- `rgb(52, 229, 164) 0px 0px 10px 0px`
- `rgba(52, 229, 164, 0.25) 0px 0px 0px 1px, rgba(52, 229, 164, 0.6) 0px 8px 26px -10px`

## Shapes

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

- **md (16px):** 104 elements.
- **xl (100px):** 80 elements.
- **sm (11px):** 32 elements.
- **lg (18px):** 32 elements.
- **full (9999px):** 32 elements.
- **xs (8px):** 28 elements.

## Components

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

- **button-primary (“Создать магазин”):** transparent fill, #04130D text, 14px/600, 10px radius, padding 10px 17px, shadow `rgba(52, 229, 164, 0.25) 0px 0px 0px 1px, rgba(52, 229, 164, 0.6) 0px 8px 26px -10px`.
- **button-ghost (“RU”):** #FFFFFF0A fill, #C7CAD1 text, 13px/600, 9px radius, padding 7px 13px 7px 10px, border 1px solid #FFFFFF17.
- **card:** transparent fill, #F4F5F6 text, 16px/400, 16px radius, padding 22px 28px, border 1px solid #FFFFFF14.

## Do's and Don'ts

- Do use #08090B for the page and lift surfaces in small steps: #0A0C0F.
- Do keep text in 4 levels: #F4F5F6, #C7CAD1, #9499A1, #6B7178.
- Do use #34E5A4 as the brand accent: header, logo and key highlights.
- Do set headlines in Onest with tight tracking (-0.03em).
- Do reuse the measured spacing steps (8px, 10px, 26px).
- Do use 16px corners on most elements; larger surfaces also use 100px, 11px and 18px.
- Don't use #6B7178 for body text; it reaches 4.04:1 on #08090B. Keep it for large text or metadata.
- Don't introduce new font families beyond Onest and JetBrains Mono.
- Don't use #34E5A4 for large backgrounds or body text.
- Don't make interface transitions slower than 0.25s.

## Motion

Interface transitions are quick: 0.2s, 0.18s, 0.12s, 0.25s. Longer ambient animations run 0.7s, 2s.

- **Easing:** `ease`, `cubic-bezier(0.16, 1, 0.3, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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