---
version: alpha
name: SPICOMA
description: "Dark interface measured from smart-fashion-kiosk.base44.app: system-ui type, vivid blue accents, flat surfaces and pill-shaped controls."
colors:
  background: "#0F172A"
  surface: "#0F172A"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#DBEAFE"
  on-surface-muted: "#94A3B8"
  on-surface-subtle: "#475569"
  overlay: "#FFFFFF26"
  overlay-strong: "#FFFFFF1A"
  outline: "#60A5FA4D"
  outline-variant: "#FFFFFF1A"
  primary: "#2563EB"
  on-primary: "#FFFFFF"
  secondary: "#132347"
  tertiary: "#93C5FD"
  error: "#EF4444"
typography:
  headline-display:
    fontFamily: system-ui
    fontSize: 96px
    fontWeight: 900
    lineHeight: 1
    letterSpacing: -0.025em
  headline-lg:
    fontFamily: system-ui
    fontSize: 48px
    fontWeight: 700
    lineHeight: 1
    letterSpacing: -0.025em
  body-md:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  body-lg:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  caption:
    fontFamily: system-ui
    fontSize: 9px
    fontWeight: 400
    lineHeight: 1.5
  label-lg:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.5
  label-md:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.43
  label-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 500
    lineHeight: 1.33
  headline-display-mobile:
    fontFamily: system-ui
    fontSize: 48px
    fontWeight: 900
    lineHeight: 1
    letterSpacing: -0.025em
  headline-lg-mobile:
    fontFamily: system-ui
    fontSize: 30px
    fontWeight: 700
    lineHeight: 1.1
    letterSpacing: -0.025em
rounded:
  sm: 12px
  md: 16px
  full: 9999px
spacing:
  xs: 4px
  sm: 6px
  md: 16px
  lg: 20px
  xl: 48px
  gutter: 16px
  section: 112px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: 0px 16px
    height: 44px
  button-outline:
    backgroundColor: "{colors.overlay-strong}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.full}"
    padding: 0px 28px
    height: 52px
  button-ghost:
    textColor: "{colors.tertiary}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.full}"
    padding: 0px 28px
    height: 52px
---

# SPICOMA Design System

## Overview

The interface is dark, built on **Deep Blue (#0F172A)** with **White (#FFFFFF)** text, and **Vivid Blue (#2563EB)** as the main accent.

Type is set in **system-ui**. Headlines run large with tight negative tracking; body text is 14px. Depth comes from soft drop shadows. Controls are pill-shaped.

Measured from [smart-fashion-kiosk.base44.app](https://smart-fashion-kiosk.base44.app/) on November 24, 2026 at 1440×900 and 390×844 from 336 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 14 roles, plus gradient stops #2563EB, #1D4ED8.

- **Deep Blue (#0F172A):** Page background, seen 4 times. Token `background`.
- **White (#FFFFFF):** Primary text and headings, seen 23 times. Token `on-surface`, CSS `--tw-ring-offset-color`.
- **Pale Blue (#DBEAFE):** Secondary text, seen 6 times. Token `on-surface-variant`.
- **Blue (#94A3B8):** Muted text and metadata, seen 17 times. Token `on-surface-muted`.
- **Dark Blue (#475569):** Subtle text and placeholders, seen 28 times. Token `on-surface-subtle`.
- **White 15% (#FFFFFF26):** Translucent fill for cards and controls, seen 6 times. Token `overlay`.
- **White 10% (#FFFFFF1A):** Stronger translucent fill, seen 3 times. Token `overlay-strong`.
- **Blue 30% (#60A5FA4D):** Borders and dividers, seen 1 time. Token `outline`.
- **White 10% (#FFFFFF1A):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Vivid Blue (#2563EB):** Primary buttons and calls to action, seen 50 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Deep Blue (#132347):** Accent in logos and imagery. Token `secondary`.
- **Light Blue (#93C5FD):** Accent in text, fills and borders, seen 4 times. Token `tertiary`.
- **Vivid Red (#EF4444):** Errors and destructive states, seen 4 times. Token `error`.

## Typography

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

- **headline-display:** system-ui 96px at weight 900, line height 1, tracking -0.025em (48px on mobile). Page title (h1).
- **headline-lg:** system-ui 48px at weight 700, line height 1, tracking -0.025em (30px on mobile). Section headings (h2).
- **body-md:** system-ui 14px at weight 400, line height 1.43. Body text.
- **body-lg:** system-ui 16px at weight 400, line height 1.5. Lead paragraphs.
- **body-sm:** system-ui 12px at weight 400, line height 1.33. Secondary and small text.
- **caption:** system-ui 9px at weight 400, line height 1.5. Captions and fine print.
- **label-lg:** system-ui 16px at weight 600, line height 1.5. Large buttons and tabs.
- **label-md:** system-ui 14px at weight 600, line height 1.43. Buttons, navigation and labels.
- **label-sm:** system-ui 12px at weight 500, line height 1.33. Small labels and badges.

## Layout

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

- **Scale:** xs 4px, sm 6px, md 16px, lg 20px, xl 48px.
- **Sections:** 112px vertical padding between major sections.
- **Gaps:** 16px is the most common gap in flex and grid layouts.
- **Breakpoints:** 640px, 768px, 1024px, 1280px, 1536px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(59, 130, 246, 0.3) 0px 10px 15px -3px, rgba(59, 130, 246, 0.3) 0px 4px 6px -4px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(59, 130, 246, 0.3) 0px 20px 25px -5px, rgba(59, 130, 246, 0.3) 0px 8px 10px -6px`

## Shapes

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

- **full (9999px):** 96 elements.
- **md (16px):** 64 elements.
- **sm (12px):** 52 elements.

## Components

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

- **button-primary (“Support SPICOMA ❤️”):** #2563EB fill, #FFFFFF text, 14px/600, 9999px radius, padding 0px 16px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(59, 130, 246, 0.3) 0px 10px 15px -3px, rgba(59, 130, 246, 0.3) 0px 4px 6px -4px`.
- **button-outline (“Support SPICOMA”):** #FFFFFF1A fill, #FFFFFF text, 16px/600, 9999px radius, padding 0px 28px, border 1px solid #FFFFFF33.
- **button-ghost (“Contact Founder”):** transparent fill, #93C5FD text, 16px/600, 9999px radius, padding 0px 28px, border 1px solid #2563EB66.

## Do's and Don'ts

- Do use #0F172A for the page.
- Do keep text in 4 levels: #FFFFFF, #DBEAFE, #94A3B8, #475569.
- Do reserve #2563EB for primary actions and key highlights.
- Do set headlines in system-ui with tight tracking (-0.025em).
- Do reuse the measured spacing steps (6px, 16px, 20px).
- Do make buttons and chips fully rounded (9999px); most other elements use 16px corners.
- Don't use #475569 for body text; it reaches 2.36:1 on #0F172A. Keep it for large text or metadata.
- Don't introduce new font families beyond system-ui.
- Don't use #2563EB 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.2s. Longer ambient animations run 1s.

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

Generated by [Sitepeel](https://sitepeel.dev/design-md/smart-fashion-kiosk.base44.app/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
