---
version: alpha
name: پی فا شاپ
description: "Light interface measured from peyfashop.ir: Vazirmatn type, vivid red accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#F8F8F9"
  surface: "#F8F8F9"
  on-surface: "#23254E"
  on-background: "#23254E"
  on-surface-variant: "#3F4064"
  on-surface-muted: "#62666D"
  on-surface-subtle: "#81858B"
  surface-container-low: "#FFF1F3"
  surface-container: "#FFFFFFE6"
  surface-container-high: "#FFFFFF"
  surface-container-highest: "#F0F0F1"
  overlay: "#FFFFFFB3"
  outline: "#FFFFFF99"
  outline-variant: "#F0F0F1"
  primary: "#EF4056"
  on-primary: "#000000"
  inverse-surface: "#1F2937"
  secondary: "#0284C7"
  tertiary: "#FF6680"
typography:
  headline-display:
    fontFamily: Vazirmatn
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.63
  body-md:
    fontFamily: Vazirmatn
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  body-lg:
    fontFamily: Vazirmatn
    fontSize: 18px
    fontWeight: 800
    lineHeight: 1.56
  body-sm:
    fontFamily: Vazirmatn
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-lg:
    fontFamily: Vazirmatn
    fontSize: 15px
    fontWeight: 800
    lineHeight: 1.63
  label-md:
    fontFamily: Vazirmatn
    fontSize: 14px
    fontWeight: 700
    lineHeight: 1.43
  label-sm:
    fontFamily: Vazirmatn
    fontSize: 13px
    fontWeight: 500
    lineHeight: 1.85
rounded:
  sm: 12px
  md: 16px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 12px
  lg: 32px
  xl: 52px
  gutter: 8px
  margin: 16px
components:
  button-outline:
    backgroundColor: "{colors.surface-container-high}"
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.label-md}"
    rounded: "{rounded.sm}"
    padding: 10px 12px
    height: 44px
  button-outline-hover:
    textColor: "{colors.primary}"
  button-ghost:
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.headline-display}"
    rounded: "{rounded.md}"
    padding: 0px 16px
    height: 80px
  input-field:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 0px
  card:
    backgroundColor: "{colors.surface-container-high}"
    textColor: "{colors.on-surface}"
    typography: "{typography.headline-display}"
    rounded: "{rounded.md}"
    padding: 16px
  link:
    textColor: "{colors.on-surface-subtle}"
---

# پی فا شاپ Design System

## Overview

پی فا شاپ describes itself as: “پی فا شاپ؛ خرید آنلاین گوشی موبایل، لپ‌تاپ، تبلت، هدفون و لوازم جانبی با بهترین قیمت و ضمانت اصالت کالا.” The interface is light, built on **Snow (#F8F8F9)** with **Dark Indigo (#23254E)** text, and **Vivid Red (#EF4056)** as the main accent.

Type is set in **Vazirmatn**. Headlines run large; body text is 14px. Depth comes from hairline borders and inset highlights rather than drop shadows. Controls are pill-shaped.

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

## Colors

The palette has 17 roles.

- **Snow (#F8F8F9):** Page background, seen 1 time. Token `background`.
- **Dark Indigo (#23254E):** Primary text and headings, seen 10 times. Token `on-surface`.
- **Dark Indigo (#3F4064):** Secondary text, seen 26 times. Token `on-surface-variant`.
- **Cool Slate (#62666D):** Muted text and metadata, seen 9 times. Token `on-surface-muted`.
- **Cool Gray (#81858B):** Subtle text and placeholders, seen 34 times. Token `on-surface-subtle`.
- **Warm Snow (#FFF1F3):** Raised areas one step from the page, seen 5 times. Token `surface-container-low`.
- **White 90% (#FFFFFFE6):** Cards and panels, seen 1 time. Token `surface-container`.
- **White (#FFFFFF):** Hover and pressed fills, seen 22 times. Token `surface-container-high`, CSS `--tw-ring-offset-color`.
- **Mist (#F0F0F1):** Highest raised elements, seen 2 times. Token `surface-container-highest`.
- **White 70% (#FFFFFFB3):** Translucent fill for cards and controls, seen 9 times. Token `overlay`.
- **White 60% (#FFFFFF99):** Borders and dividers, seen 9 times. Token `outline`.
- **Mist (#F0F0F1):** Secondary dividers, seen 5 times. Token `outline-variant`.
- **Vivid Red (#EF4056):** Main accent color, seen 18 times. Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **Deep Blue (#1F2937):** High-contrast fills, seen 10 times. Token `inverse-surface`.
- **Blue (#0284C7):** Accent in text, fills and borders, seen 4 times. Token `secondary`.
- **Red (#FF6680):** Accent, seen 32 times. Token `tertiary`.

## Typography

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

- **headline-display:** Vazirmatn 15px at weight 400, line height 1.63. Page title (h1).
- **body-md:** Vazirmatn 14px at weight 400, line height 1.43. Body text.
- **body-lg:** Vazirmatn 18px at weight 800, line height 1.56. Lead paragraphs.
- **body-sm:** Vazirmatn 12px at weight 400, line height 1.33. Secondary and small text.
- **label-lg:** Vazirmatn 15px at weight 800, line height 1.63. Large buttons and tabs.
- **label-md:** Vazirmatn 14px at weight 700, line height 1.43. Buttons, navigation and labels.
- **label-sm:** Vazirmatn 13px at weight 500, line height 1.85. Small labels and badges.

## Layout

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

- **Scale:** xs 4px, sm 8px, md 12px, lg 32px, xl 52px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Page margin:** 16px on each side of full-width sections.
- **Breakpoints:** 640px, 768px, 1024px, 1280px, 1336px.

## Elevation & Depth

Depth comes mostly from hairline rings and inset highlights on tonal surfaces (#FFF1F3 → #FFFFFFE6 → #FFFFFF → #F0F0F1):

- `rgb(255, 255, 255) 0px 0px 0px 0px, rgb(224, 224, 226) 0px 0px 0px 1px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`

A few raised panels add a soft drop shadow: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(15, 23, 42, 0.18) 0px 8px 32px -8px, rgba(255, 255, 255, 0.6) 0px 1px 0px 0px inset`.

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **md (16px):** 112 elements.
- **full (9999px):** 112 elements.
- **sm (12px):** 20 elements.

## Components

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

- **button-outline (“ورود | ثبت‌نام”):** #FFFFFF fill, #3F4064 text, 14px/700, 12px radius, padding 10px 12px, border 1px solid #E0E0E2.
- **button-outline-hover:** background #FFFFFF, text #EF4056 on hover.
- **button-ghost (“Xiaomi شیائومی”):** transparent fill, #3F4064 text, 15px/400, 16px radius, padding 0px 16px, border 1px solid #F0F0F1.
- **input-field (“جستجو در پی فا شاپ”):** transparent fill, #23254E text, 14px/400, padding 0px.
- **card:** #FFFFFF fill, #23254E text, 15px/400, 16px radius, padding 16px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.04) 0px 1px 2px 0px, rgba(0, 0, 0, 0.08) 0px 4px 16px -4px`.
- **link:** transparent fill, #81858B text, padding 0px.

## Do's and Don'ts

- Do use #F8F8F9 for the page and lift surfaces in small steps: #FFF1F3, #FFFFFFE6, #FFFFFF, #F0F0F1.
- Do keep text in 4 levels: #23254E, #3F4064, #62666D, #81858B.
- Do reserve #EF4056 for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 12px, 32px).
- Do make buttons and chips fully rounded (9999px); most other elements use 16px corners.
- Don't use #81858B for body text; it reaches 3.50:1 on #F8F8F9. Keep it for large text or metadata.
- Don't use heavy drop shadows; keep depth to hairline rings and tonal surfaces.
- Don't introduce new font families beyond Vazirmatn.
- Don't use #EF4056 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.15s, 0.3s.

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

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