Projects

Website design system

The pieces behind this website. Ready to inspect.

31 live component storiesEN / FA · Light / Dark · Web

Semantic tokens

The CSS values used by this website, grouped by role.

Roles stay stable. Values adapt to light, dark and Persian typography. This catalogue reads the shipped tokens.css file.

--color-bgPage canvas
#101010
--color-surfaceContent surface
#191919
--color-surface-elevatedRaised controls and selected groups
#252525
--color-text-primaryMain readable content
#f2f2f2
--color-text-secondarySupporting content
#bebebe
--color-text-tertiaryMetadata and hints
#a1a1a1
--color-accentPrimary action and selection
#6e96ff
--color-accent-rgb
110, 150, 255
--color-interactive-hoverHovered primary action
#8caeff
--color-interactive-pressedPressed primary action
#5a82f0
--color-focus-ringKeyboard focus
#6e96ff
--color-successPositive outcome
#3fbe84
--color-warningAttention required
#e0a93f
--color-errorError and recovery
#f0655c
--color-dividerBoundary between content groups
rgba(245, 244, 242, 0.18)
--color-inverseEmphasis surface
#e6e6e6
--color-on-inverseContent on emphasis surface
#171717
--color-artifactArtifact container
#202020
--color-stageShowcase background
#1c1c1c
--color-on-stageShowcase text
#f2f2f2
--color-stage-mutedSupporting showcase content
#bebebe
--color-stage-accentShowcase highlight
#b7ccff
--color-sectorDomain highlight
#9be2cb
Semantic contract & accessibility

Use color roles as pairs: text-primary on bg or surface; on-inverse on inverse; on-stage on stage. Never signal an error with color alone. Focus rings, disabled controls, persistent labels and reduced motion are component contracts, not optional decoration. This catalogue is documentation, not an accessibility certification.

Continue exploring