---
version: alpha
name: امپراطوری علیخانی
description: "Light interface measured from mpalikhani.com: iranyekan type, dark red accents, tonal surfaces and 5px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#111111"
  on-background: "#111111"
  on-surface-variant: "#323232"
  on-surface-muted: "#3D3D3D"
  on-surface-subtle: "#545454"
  surface-container-low: "#F9F9F9"
  surface-container: "#CCCCCC"
  overlay: "#5F5F5F24"
  outline: "#FFFFFFA6"
  primary: "#A40D19"
  on-primary: "#FFFFFF"
  inverse-surface: "#2B3033"
  secondary: "#E6B350"
  tertiary: "#720EEC"
typography:
  headline-display:
    fontFamily: iranyekan
    fontSize: 25px
    fontWeight: 400
  headline-lg:
    fontFamily: iranyekan
    fontSize: 22px
    fontWeight: 400
    lineHeight: 1.13
    letterSpacing: -0.005em
  headline-md:
    fontFamily: iranyekan
    fontSize: 20px
    fontWeight: 600
    lineHeight: 1.13
    letterSpacing: -0.005em
  body-md:
    fontFamily: iranyekan
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.3
    letterSpacing: -0.008em
  body-sm:
    fontFamily: iranyekan
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.2
    letterSpacing: -0.008em
  label-lg:
    fontFamily: iranyekan
    fontSize: 15px
    fontWeight: 600
    lineHeight: 1.13
    letterSpacing: -0.007em
  label-md:
    fontFamily: iranyekan
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.4
    letterSpacing: -0.007em
  label-sm:
    fontFamily: iranyekan
    fontSize: 13px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.008em
rounded:
  xs: 3px
  sm: 5px
  md: 8px
  lg: 10px
  xl: 20px
  full: 9999px
spacing:
  xs: 2px
  sm: 5px
  md: 10px
  lg: 20px
  xl: 35px
  gutter: 10px
components:
  button-primary:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 7px 10px
    height: 38px
  button-secondary:
    backgroundColor: "{colors.inverse-surface}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-sm}"
    rounded: 7px
    padding: 6px 13px
    height: 32px
  button-outline:
    textColor: "{colors.on-primary}"
    typography: "{typography.body-sm}"
    rounded: 7px
    padding: 6px 13px
    height: 32px
  button-ghost:
    textColor: "{colors.on-primary}"
    typography: "{typography.body-sm}"
    rounded: 7px
    padding: 6px 13px
  input-field:
    textColor: "#1A1A1A"
    typography: "{typography.label-md}"
    rounded: 0px
    padding: 0px
  card:
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.xl}"
    padding: 20px
  link:
    textColor: "#666666"
---

# امپراطوری علیخانی Design System

## Overview

امپراطوری علیخانی describes itself as: “امپراطوری علیخانی - فروشگاه بزرگ امپراطوری علیخانی - تامین کلیه لوازم تاسیسات، شیرآلات، چینی بهداشتی - از سیخ تا سوزن لوازم تاسیسات منزل در امپراطوری علیخانی” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#111111)** text, and **Dark Red (#A40D19)** as the main accent.

Type is set in **iranyekan**. Headlines run large; body text is 13px. Depth comes from soft drop shadows. Corners are mostly 5px.

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

## Colors

The palette has 14 roles, plus gradient stops #8134AF, #DD2A7B, #F58529.

- **White (#FFFFFF):** Page background, seen 1 time. Token `background`, CSS `--color-bg`.
- **Charcoal (#111111):** Primary text and headings, seen 132 times. Token `on-surface`, CSS `--wp--preset--color--contrast`.
- **Graphite (#323232):** Secondary text, seen 3 times. Token `on-surface-variant`.
- **Graphite (#3D3D3D):** Muted text and metadata, seen 5 times. Token `on-surface-muted`.
- **Slate (#545454):** Subtle text and placeholders, seen 10 times. Token `on-surface-subtle`.
- **Snow (#F9F9F9):** Raised areas one step from the page, seen 10 times. Token `surface-container-low`.
- **Silver (#CCCCCC):** Cards and panels, seen 5 times. Token `surface-container`.
- **Slate 14% (#5F5F5F24):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **White 65% (#FFFFFFA6):** Borders and dividers, seen 1 time. Token `outline`.
- **Dark Red (#A40D19):** Brand color in the header, seen 18 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Cool Graphite (#2B3033):** High-contrast fills, seen 1 time. Token `inverse-surface`, CSS `--color-secondary`.
- **Orange (#E6B350):** Secondary buttons, seen 3 times. Token `secondary`.
- **Vivid Violet (#720EEC):** Accent (CSS variable). Token `tertiary`.

## Typography

**iranyekan** carries the whole interface. Fallback stack: `iranyekan`.

- **headline-display:** iranyekan 25px at weight 400. Page title (h1).
- **headline-lg:** iranyekan 22px at weight 400, line height 1.13, tracking -0.005em. Section headings (h2).
- **headline-md:** iranyekan 20px at weight 600, line height 1.13, tracking -0.005em. Sub-section headings.
- **body-md:** iranyekan 13px at weight 400, line height 1.3, tracking -0.008em. Body text.
- **body-sm:** iranyekan 12px at weight 400, line height 1.2, tracking -0.008em. Secondary and small text.
- **label-lg:** iranyekan 15px at weight 600, line height 1.13, tracking -0.007em. Large buttons and tabs.
- **label-md:** iranyekan 14px at weight 500, line height 1.4, tracking -0.007em. Buttons, navigation and labels.
- **label-sm:** iranyekan 13px at weight 500, line height 1, tracking -0.008em. Small labels and badges.

## Layout

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

- **Scale:** xs 2px, sm 5px, md 10px, lg 20px, xl 35px.
- **Gaps:** 10px is the most common gap in flex and grid layouts.
- **Breakpoints:** 600px, 767px, 768px, 781px, 782px, 800px, 991px, 1023px, 1024px, 1025px, 1200px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0.15) 0px 2px 6px 0px`
- `rgba(221, 42, 123, 0.16) 0px 10px 28px 0px`

## Shapes

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

- **sm (5px):** 44 elements.
- **xs (3px):** 24 elements.
- **md (8px):** 24 elements.
- **lg (10px):** 8 elements.
- **xl (20px):** 4 elements.
- **full (9999px):** 4 elements.

## Components

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

- **button-primary (“ثبت نام و کسب مهارت دوره”):** #E6B350 fill, #FFFFFF text, 14px/500, 8px radius, padding 7px 10px.
- **button-secondary (“مشاهده محصولات”):** #2B3033 fill, #FFFFFF text, 12px/600, 7px radius, padding 6px 13px, border 1px solid #2B3033.
- **button-outline (“کپی کد تخفیف”):** transparent fill, #FFFFFF text, 12px/600, 7px radius, padding 6px 13px, border 1px solid #FFFFFFA6.
- **button-ghost (“کپی کد تخفیف”):** transparent fill, #FFFFFF text, 12px/600, 7px radius, padding 6px 13px, border 1px solid #FFFFFFA6.
- **input-field (“جستجو در محصولات...”):** transparent fill, #1A1A1A text, 14px/400, padding 0px.
- **card:** transparent fill, #FFFFFF text, 14px/500, 20px 0px 0px 20px radius, padding 20px, shadow `rgba(221, 42, 123, 0.16) 0px 10px 28px 0px`.
- **link:** transparent fill, #666666 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #F9F9F9, #CCCCCC.
- Do keep text in 4 levels: #111111, #323232, #3D3D3D, #545454.
- Do use #A40D19 as the brand accent: header, logo and key highlights.
- Do reuse the measured spacing steps (5px, 10px, 20px).
- Do use 5px corners on most elements; larger surfaces also use 3px, 8px and 10px.
- Don't introduce new font families beyond iranyekan.
- Don't use #A40D19 for large backgrounds or body text.
- Don't make interface transitions slower than 0.25s.

## Motion

Interface transitions are quick: 0.25s, 0.2s.

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

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