---
version: alpha
name: كوكبة الروايات
description: "Dark interface measured from novel-constellation.com: Cairo type, red accents, tonal surfaces and 12px corners."
colors:
  background: "#0A0A0E"
  surface: "#0A0A0E"
  on-surface: "#F5F5F7"
  on-background: "#F5F5F7"
  on-surface-strong: "#FFFFFF"
  on-surface-variant: "#9696A5"
  surface-container-low: "#14141B"
  overlay: "#000000B3"
  overlay-strong: "#14141BCC"
  outline: "#262630"
  primary: "#E11D2E"
  on-primary: "#FFFFFF"
  secondary: "#229ED9"
  warning: "#FACC15"
typography:
  headline-display:
    fontFamily: Cairo
    fontSize: 36px
    fontWeight: 800
    lineHeight: 1.11
  headline-lg:
    fontFamily: Cairo
    fontSize: 20px
    fontWeight: 800
    lineHeight: 1.4
  body-md:
    fontFamily: Cairo
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  body-sm:
    fontFamily: Cairo
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-md:
    fontFamily: Cairo
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-sm:
    fontFamily: Cairo
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.38
rounded:
  sm: 6px
  md: 8px
  lg: 12px
  xl: 16px
  full: 9999px
spacing:
  xs: 2px
  sm: 8px
  md: 12px
  lg: 24px
  xl: 40px
  gutter: 8px
  margin: 16px
  container: 1280px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.lg}"
    padding: 10px 24px
    height: 44px
  button-outline:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.lg}"
    padding: 0px
    height: 40px
  button-ghost:
    backgroundColor: "#14141BB3"
    textColor: "{colors.on-surface}"
    typography: "{typography.headline-lg}"
    rounded: "{rounded.full}"
    padding: 0px
    height: 40px
  input-field:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.lg}"
    padding: 0px 40px 0px 12px
  card:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.lg}"
    padding: 0px 40px 0px 12px
  link:
    textColor: "{colors.on-surface}"
---

# كوكبة الروايات Design System

## Overview

كوكبة الروايات describes itself as: “منصة عربية لقراءة روايات الويب نوفل الصينية والكورية واليابانية مترجمة إلى العربية. فصول جديدة باستمرار، وروايات مكتملة، وبحث سريع بالاسم العربي أو الإنجليزي.” The interface is dark, built on **Charcoal (#0A0A0E)** with **Snow (#F5F5F7)** text, and **Red (#E11D2E)** as the main accent.

Type is set in **Cairo**. Headlines run large; body text is 14px. The surface language is flat. Corners are mostly 12px.

Measured from [novel-constellation.com](https://novel-constellation.com/) on December 3, 2026 at 1440×900 and 390×844 from 351 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 12 roles.

- **Charcoal (#0A0A0E):** Page background, seen 1 time. Token `background`.
- **Snow (#F5F5F7):** Primary text and headings, seen 90 times. Token `on-surface`.
- **White (#FFFFFF):** Headings and emphasis, seen 22 times. Token `on-surface-strong`, CSS `--tw-ring-offset-color`.
- **Cool Gray (#9696A5):** Secondary text, seen 36 times. Token `on-surface-variant`.
- **Cool Charcoal (#14141B):** Raised areas one step from the page, seen 57 times. Token `surface-container-low`.
- **Near Black 70% (#000000B3):** Translucent fill for cards and controls, seen 21 times. Token `overlay`.
- **Cool Charcoal 80% (#14141BCC):** Stronger translucent fill, seen 5 times. Token `overlay-strong`.
- **Cool Graphite (#262630):** Borders and dividers, seen 98 times. Token `outline`.
- **Red (#E11D2E):** Primary buttons and calls to action, seen 5 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Cyan (#229ED9):** Accent, seen 1 time. Token `secondary`.
- **Vivid Amber (#FACC15):** Warnings and highlights, seen 10 times. Token `warning`.

## Typography

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

- **headline-display:** Cairo 36px at weight 800, line height 1.11. Page title (h1).
- **headline-lg:** Cairo 20px at weight 800, line height 1.4. Section headings (h2).
- **body-md:** Cairo 14px at weight 400, line height 1.43. Body text.
- **body-sm:** Cairo 12px at weight 400, line height 1.33. Secondary and small text.
- **label-md:** Cairo 16px at weight 400, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Cairo 14px at weight 600, line height 1.38. Small labels and badges.

## Layout

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

- **Scale:** xs 2px, sm 8px, md 12px, lg 24px, xl 40px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1280px.
- **Page margin:** 16px on each side of full-width sections.
- **Breakpoints:** 640px, 768px, 1024px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#14141B) and #262630 borders.

## Shapes

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

- **lg (12px):** 184 elements.
- **md (8px):** 144 elements.
- **sm (6px):** 84 elements.
- **full (9999px):** 60 elements.
- **xl (16px):** 48 elements.

## Components

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

- **button-primary (“اقرأ الآن”):** #E11D2E fill, #FFFFFF text, 16px/700, 12px radius, padding 10px 24px.
- **button-outline (“التبديل إلى الوضع الفاتح”):** #14141B fill, #F5F5F7 text, 16px/400, 12px radius, padding 0px, border 1px solid #262630.
- **button-ghost (“›”):** #14141BB3 fill, #F5F5F7 text, 20px/400, 9999px radius, padding 0px, border 1px solid #262630.
- **input-field (“ابحث بالاسم العربي أو الإنجليزي.”):** #14141B fill, #F5F5F7 text, 14px/400, 12px radius, padding 0px 40px 0px 12px, border 1px solid #262630.
- **card:** #14141B fill, #F5F5F7 text, 14px/400, 12px radius, padding 0px 40px 0px 12px, border 1px solid #262630.
- **link:** transparent fill, #F5F5F7 text, padding 0px.

## Do's and Don'ts

- Do use #0A0A0E for the page and lift surfaces in small steps: #14141B.
- Do keep text in 3 levels: #F5F5F7, #FFFFFF, #9696A5.
- Do reserve #E11D2E for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 12px, 24px).
- Do use 12px corners on most elements; larger surfaces also use 8px, 6px and 16px.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond Cairo.
- Don't use #E11D2E for large backgrounds or body text.
- Don't make interface transitions slower than 0.15s.

## Motion

Interface transitions are quick: 0.15s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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