Design Studio
Design System
WelcomeHoş geldin

Your Design Studio workspace is ready.Design Studio çalışma alanın hazır; keşfetmeye başlayabilirsin.

Start here · Design + Code

Getting Started

Use one system from Figma decisions to production code. Choose the path that matches your role, then meet again at semantic tokens and component contracts.

For Designers

Design with meaning, not raw values

Build from approved primitives, map them to semantic roles, then consume those roles inside components.

Figma→Primitive→Semantic→Component→Usage
For Developers

Implement the same contract

Start with tokens and theme variables, then compose components without hardcoding visual decisions.

Install→Tokens→Theme→Component→Code
Core rule: Primitive → Semantic → Component. Components consume meaning; Light and Dark modes remap semantic values instead of changing component APIs.
Setup · Developer path

Installation

A practical setup guide for bringing the system into an existing product. The examples are helloemrah conventions, inspired by open-code component workflows rather than a package you must treat as a black box.

Documentation · Component usage

Using Components

Every component should explain not only what it looks like, but when to use it, how it is built, which tokens it owns, and how it behaves across states and themes.

Design Studio Design System

A systematic, scalable design language

Design Studio is a design system built for product teams that unifies color, typography, spacing, and components under a single token architecture. This document defines token layers, naming conventions, and component behavior as a reference.

Password protected · ZIP fileŞifre korumalı · ZIP dosyası

Why a token architecture?

Hardcoding a color value or pixel size directly into a component means changing that value everywhere it appears. Design Studio instead uses a three-layer reference chain: primitive → semantic → component. A component only ever looks at tokens in its own layer; when the layer beneath it changes, the component's code updates without being touched.

1. Primitive

color/brand/500
Raw, context-independent value
→

2. Semantic

action/primary
Meaning / role assignment
→

3. Component

button/primary/background/default
Component-specific usage

What's in this document

Use the sidebar to explore color tokens (OKLCH-based), typography and spacing scales, the radius/elevation system, the light/dark theme architecture, naming conventions, live component examples, the accessibility guide, font licensing notes, and the component migration process. Every token value on this page is computed live in the browser and can be copied.

Design Tokens

Color Tokens

Every color scale is computed perceptually in OKLCH, derived from the brand color #303AB2. Values are generated in the browser when this page loads; every cell below is a real, live token value.

Why OKLCH?

In HEX or HSL scales, the same "step" doesn't produce equal perceived lightness across different hues — yellow and blue at the same L value look very different. OKLCH models the L (perceptual lightness), C (chroma / saturation), and H (hue angle) axes the way human vision works, keeping contrast and transitions consistent across a scale. In Design Studio, each step's chroma is tapered with a sine curve at the extremes (very light / very dark) to avoid gamut clipping.

Brand — color/brand/*

The anchor step is 500; this is the exact OKLCH equivalent of #303AB2. Every other step is derived from the same hue angle (H).

Neutral — color/neutral/*

A low-chroma gray scale carrying a faint trace of the brand hue, used for surfaces, text, and borders.

Semantic colors — success / warning / danger / info

Short scales derived with fixed hue angles for feedback states.

Primitive → Semantic mapping

Semantic tokens give primitive values meaning and purpose. The mapping below applies in light mode; in dark mode the same semantic names point to different primitive steps (see Theme Architecture).

Semantic tokenPrimitive referenceUsage

Extended semantic tokens

Beyond text, surface, and action, a few narrower-purpose semantic tokens exist for states that don't fit the core roles above.

Semantic tokenPrimitive referenceUsage
border/focuscolor/brand/500Focus ring on inputs, buttons, and cards
surface/overlaycolor/neutral/900Modal backdrop, toast background
text/on-brandwhiteText and icons placed on a brand-colored surface
text/linkcolor/brand/600Contrast-safe inline link text
state/disabled-opacity0.45Opacity multiplier applied to any disabled control
Do

Reference semantic tokens (action/primary, text/primary) inside components, and reserve primitive tokens (color/brand/500) for defining or documenting those semantic mappings.

Don't

Hardcode a hex value or a primitive step directly in a component's stylesheet — it breaks theming and makes future rebrands or dark-mode support a manual, error-prone search-and-replace.

Design Tokens

Typography

Typography is generated by platform. Web uses a responsive semantic scale, while Mobile can use a product-oriented model or the native iOS / Android hierarchy. This mirrors the latest DS Forge typography architecture.

Web

Responsive product typography

Web
Display / HeadingFixed or Fluid
Body18 · 16 · 14
Action16 / 14
Exportrem-friendly

Mobile · Product

Shared semantic product model

Recommended
HeadingDisplay · L · M · S
ContentBody XL · L · M · S
SupportingCaption · Helper · Meta
Action / Dataproduct roles

Mobile · Native

Platform-native hierarchy

iOS / Android
iOSApple text styles
AndroidMaterial roles
Scalingplatform-aware
Semantic extensionAction / Data
✓
Accessibility Guard · Recommended / On by default

Keeps type readable and scalable across platforms without overriding product decisions. Web checks relative/responsive guidance; iOS stays Dynamic Type-friendly; Android keeps readable Material role line heights.

Body ≥ 14pxActions use 14 / 16pxReadable line heightsPlatform scaling

Typography scale

Font weights

TokenValueUsage
font/weight/regular400Body text
font/weight/medium500Emphasized body text, nav items
font/weight/semibold600Headings, button labels
font/weight/bold700-800Display headings

Line height & letter spacing

Line height loosens as text gets smaller (to keep dense body copy readable) and tightens on display sizes (to keep large headings from feeling loose).

TokenValueApplies to
line-height/tight1.1 – 1.2Display, Heading 1
line-height/snug1.3 – 1.4Heading 2, Heading 3
line-height/relaxed1.6Body Large, Body Base
letter-spacing/tight-0.02em to -0.005emAll headings
letter-spacing/wide0.04em – 0.1emUppercase labels, eyebrows, badges
Typography governanceTipografi yönetimi

Font Naming SystemYazı Stili İsimlendirme Sistemi

Name text styles by their role in the interface—not by a page, font family or temporary pixel value. The same hierarchy must map cleanly between Figma, design tokens and CSS.Bir yazı stilini adlandırırken hangi sayfada kullanıldığına değil, arayüzdeki görevine odaklan. Sayfa adı, font ailesi veya piksel değeri zamanla değişebilir; role dayalı isimler ise Figma, tasarım tokenları ve CSS arasında tutarlı bir dil oluşturur.

Category/Role/Scale/Emphasis
01 · CATEGORYSystem groupSistemdeki ana grup

Always starts with Typography.İsim her zaman Typography ile başlar; böylece ilgili stiller tek yerde toplanır.

02 · ROLESemantic purposeSemantik görev

Display, Heading, Body, Label, Caption, Code

03 · SCALERelative sizeGöreceli boyut

XL, L, M, S, XS

04 · EMPHASISOptional weightİsteğe bağlı vurgu

Regular, Medium, Semibold, Bold

Recommended text-style setÖnerilen yazı stili seti

Use these semantic levels as the shared baseline. Product-specific styles should be composed from them, not added as new global styles.Bu semantik seviyeleri ortak temel olarak kullan. Ürüne özel yeni bir ihtiyaç çıktığında yeni bir global stil oluşturmadan önce mevcut yapıdan karşılanıp karşılanamayacağını kontrol et.

Figma styleTokenCSSUseKullanım
Typography / Display / XL / Boldtypography/display/xl--typography-display-xlHero and campaign statementsHero ve kampanya mesajları
Typography / Heading / L / Boldtypography/heading/lg--typography-heading-lgPage titleSayfa başlığı
Typography / Heading / M / Semiboldtypography/heading/md--typography-heading-mdSection and card titleBölüm ve kart başlığı
Typography / Body / L / Regulartypography/body/lg--typography-body-lgLead and introductory copyGiriş ve açıklama metni
Typography / Web / Body / Mediumtypography/web/body/medium--typography-web-body-mediumDefault interface textVarsayılan arayüz metni
Typography / Web / Action / Button Mediumtypography/web/action/button-medium--typography-web-action-button-mediumButton and form labelsButon ve form etiketleri
Typography / Caption / S / Mediumtypography/caption/sm--typography-caption-smMetadata and helper textEk bilgi ve yardımcı metin
Typography / Code / S / Regulartypography/code/sm--typography-code-smToken and code valuesToken ve kod değerleri
Typography / Display / XL / BoldDesign with a shared languageOrtak bir dille tasarla
Typography / Heading / M / SemiboldComponent guidelinesBileşen rehberi
Typography / Web / Body / MediumConsistent styles make product decisions reusable.Tutarlı stiller, bir kez alınan ürün kararını tekrar kullanılabilir hâle getirir.
Typography / Web / Action / Button MediumContinueDevam et
Do

Use semantic names such as Typography / Web / Body / Medium. Keep family, size, line-height and spacing inside the style definition.Typography / Web / Body / Medium gibi rolü anlatan semantik isimler kullan. Font family, size, line-height ve spacing değerleri ismin değil, style tanımının parçası olsun.

Don't

Do not create names such as Outfit 16, Text Bold 24, Dashboard Title or Blue Label.Outfit 16, Text Bold 24, Dashboard Title ya da Blue Label gibi bugünkü görünüme veya tek bir ekrana bağlı isimlerden kaçın.

Design Tokens

Spacing

A one-dimensional scale based on a 4px base grid. Component padding and layout gaps are chosen only from this scale.

Component padding recipes

A few concrete examples of how the spacing scale is applied inside real components — this is the reference other components should follow when new padding decisions are needed.

ComponentPropertyToken
Button / Smallpadding-inlinespace/12
Button / Mediumpadding-inlinespace/16
Button / Largepadding-inlinespace/24
Inputpadding-inlinespace/12
Cardpaddingspace/16
Toastpadding-block / padding-inlinespace/10 / space/16
Design Tokens

Radius & Elevation

Corner radius expresses a component's "weight"; elevation expresses its depth in the interface's layering. Elevation shadows are always kept neutral (colorless).

Radius scale — radius/*

Elevation scale — elevation/*

Which token for which component

ComponentRadius tokenElevation token
Button, Input, Chipradius/mdelevation/0
Card (default)radius/lgelevation/0 – 2
Dropdown, Popover, Search resultsradius/mdelevation/3
Modal, Dialogradius/xlelevation/4
Toastradius/mdelevation/3
Avatar, Badge, Pillradius/fullelevation/0

Corner smoothing — shape/corner-smoothing/*

Radius controls how large a corner is; corner smoothing controls how gradually the curve gets there. At 0% a corner is a plain circular arc (ordinary border-radius). As smoothing increases, the straight edges hold their line longer and ease into a fuller, continuous curve instead of an abrupt tangent — the "squircle" effect used for iOS app icons and Figma's corner-smoothing property. Try it live in the Button example below: raise the corner radius first (smoothing is only visible once a corner has some size to shape), then move the smoothing control.

TokenValueUsage
shape/corner-smoothing/none0%Default for all components — a plain rounded corner
shape/corner-smoothing/soft30%Subtle easing on large, prominent surfaces (hero cards, modals)
shape/corner-smoothing/default60%Matches Apple's iOS app-icon smoothing — reach for this when a shape needs to feel deliberately "designed," e.g. app icons or brand marks
shape/corner-smoothing/full100%Maximum squircle effect; reserved for large decorative shapes, rarely for UI controls
Design Tokens

Theme Architecture: Light / Dark

Try the theme switch in the top right — every surface on this page updates through a real semantic token remap; no component code changes.

Semantic tokenLightDark
text/primaryneutral/900neutral/50
surface/pageneutral/25neutral/950
surface/raisedwhiteneutral/900
border/defaultneutral/200neutral/800
action/primarybrand/500brand/500

System theme

The "System" option listens to the prefers-color-scheme media query; when the user changes their OS theme, the interface updates automatically.

Contrast-safe pairing

Every semantic remap is checked against the same WCAG formula used in the Accessibility guide — a theme swap is never allowed to silently break a contrast pair. Computed live for dark mode:

ExampleForeground / BackgroundContrast ratioAA (text)
Conventions

Naming Conventions

Design Studio uses four separate naming systems; each belongs to a different layer and speaks to a different reader (designer, developer, analytics). Keeping them distinct is the key to consistency.

1. Component naming (Figma)

Button / Primary / Large

In the Figma component panel, "/" creates folder grouping. Format: Component / Variant / Size. Used to group visual variants.

2. Action naming (interaction layer)

Action / Primary / Large

Independent of a component's visual identity, this describes the action the user performs. Used for analytics event naming and interaction states.

3. Token naming

color/brand/500 · button/primary/background/default

Lowercase, "/"-separated category hierarchy: category/concept/scale or component/variant/property/state. Maps one-to-one between code and design tools.

4. Flow / page naming (UX flows)

0.3. MAIN ENTRANCE / Returning User

Format: [Flow no]. [SCREEN NAME] / [User segment]. Clarifies screen order and target user segment in user journey diagrams.

Example flow: Onboarding

Component state naming

Every interactive component has a fixed set of states; check this list before adding a new one.

StateToken suffixDescription
Default/defaultPre-interaction state
Hover/hoverPointer over
Focus/focusKeyboard focus
Active/activeInstantaneous pressed/selected state
Disabled/disabledNot interactive
Loading/loadingAsync operation in progress
Error/errorValidation error

Quick reference across all four systems

The same underlying idea — "primary call-to-action button, large size" — expressed in each naming system side by side.

SystemExampleRead by
Component (Figma)Button / Primary / LargeDesigners, in the assets panel
ActionAction / Primary / LargeAnalytics, QA, interaction specs
Tokenbutton/primary/background/defaultEngineers, in code and Style Dictionary
Flow1.2. CHECKOUT / Guest UserProduct and research, in journey maps
Guides · MobileRehberler · Mobil

Mobile Layout GuideMobil Layout Rehberi

A practical reference for applying layout variables to real mobile screens. The 393px iOS viewport is a reference canvas, not a fixed device rule.Layout variable'larını gerçek mobil ekranlarda kullanmak için pratik referans. 393px iOS viewport sabit cihaz kuralı değil, referans çalışma alanıdır.

iOS Layout Anatomy

Reference viewport · 393 × 852
Welcome back₺24.560,00
↗Send
⌁QR
□Bills
•••More
Offers for you →
Checking₺14.250,50
FX Wallet$1.250,00
Investment₺9.060,25
HomeTransferPaymentsInvestProfile

Layout Tokens Used

layout/mobile/viewport/ios393px
layout/mobile/columns4
layout/mobile/gutter16px
layout/mobile/padding/side16px
layout/mobile/spacing/section24px
layout/mobile/touch/target44px

Token Mapping

layout/mobile/padding/side→space/16
layout/mobile/gutter→space/16
layout/mobile/spacing/section→space/24
layout/mobile/touch/target→sizing/44

Key Notes

Use the 4-column grid as an alignment aid, not a cage. Keep 16px side padding on the reference viewport and preserve at least a 44×44 touch target for interactive controls.

DS Forge: these values map directly to the Layout Variables and native Layout Guide Styles generated by the plugin.
Guides · WebRehberler · Web

Web Layout Guide

Container, grid, gutter and responsive padding rules shown on a real interface skeleton.Container, grid, gutter ve responsive padding kurallarını gerçek bir arayüz iskeleti üzerinde gösterir.

Desktop Layout Anatomy

Reference viewport · 1440px · content max 1200px
12 columns · 24px gutter

Layout Tokens Used

layout/web/viewport1440px
layout/web/container/content1200px
layout/web/columns12
layout/web/gutter24px
layout/web/padding/current32px

Token Mapping

layout/web/gutter→space/24
layout/web/padding/current→space/32

Breakpoints

Mobile0–767
Tablet768–1023
Desktop1024–1439
Large≥1440

Key Notes

Use a 12-column grid with a 1200px content container inside a 1440px reference viewport. Keep 32px page padding and 24px gutters for desktop layouts.

Rule: layout values should reference spacing primitives where possible, so changing the spacing foundation can propagate through layout documentation and generated variables.
Component workflow

How to Build a Component

A component is not just a visual layer. Watch a production-ready Button assemble from tokens, anatomy, interaction states and accessibility rules. Use the timeline or press Play.

Build the contractBileşen yapısını birlikte oluşturalım

Change the decisions below. The validator catches design-system and accessibility mistakes instantly.Aşağıdaki seçenekleri değiştirerek butonun nasıl davrandığını canlı olarak görebilirsin. Kural kontrolü; tasarım sistemi, token ve erişilebilirlik ilkeleriyle çelişen seçimleri anında gösterir.

Rule checkKural kontrolü

0 / 5

    Definition of done

    A component is ready only when design and code use the same contract.

    LayerRequired outputReview question
    PurposeSingle responsibility and usage rulesWhen should this component not be used?
    TokensSemantic and component-token referencesDoes it survive light, dark and rebrand themes?
    AnatomySlots, spacing, size and content limitsWhat happens with long labels or missing icons?
    StatesDefault, hover, focus, active, disabled, loadingCan every state be distinguished without guessing?
    AccessibilityName, role, keyboard model and focus behaviorCan it be completed without a mouse?
    Components

    Button

    Token path: button/[variant]/background/[state]. Use the control panel below to change variant, size, state, and corner shape, and see the live preview and matching code.

    TokenReference
    button/primary/background/defaultaction/primary
    button/primary/background/hoveraction/primary-hover
    button/secondary/background/defaultaction/secondary
    button/danger/background/defaultaction/danger
    Do

    Use exactly one Primary button per view for the main call to action; pair it with Secondary or Ghost for lower-priority actions.

    Don't

    Use Danger for anything other than destructive, hard-to-reverse actions (delete, remove, cancel subscription) — overusing it dilutes the warning it's meant to carry.

    Components

    Input

    Token path: input/[part]/[state]. Component naming: Input / Outlined / Medium. The expanded feature set includes three variants, floating labels, adornments, validation and multiline behavior, all implemented with Design Studio's own OKLCH tokens.

    Enter your work email address.

    Sizes, adornments, and multiline — each independent of variant and state.

     
    $
     
     
    Grows with content, then scrolls.
    Click into any field — the label floats up on focus or once it holds a value.
    Do

    Show the error state only after the field has been touched or the form submitted, and describe exactly what to fix in the helper text.

    Don't

    Rely on the red border alone to signal an error — always pair it with an icon and a specific message for screen reader and colorblind users.

    Components

    Card

    Token path: card/surface/[variant]. Directly tied to the elevation scale.

    Project Summary

    This card component combines surface, border, and elevation tokens.

    Do

    Use Elevated for cards that float above page content (e.g. in a grid over a sunken background) and Outlined when the card sits directly on a raised surface.

    Don't

    Nest an Elevated card inside another Elevated card — stacking shadows reads as visual noise rather than hierarchy.

    Components

    Toast

    Token path: toast/[type]/background. The buttons below trigger a real toast (auto-dismisses after 3s).

    Toast examples appear in the top-right corner.
    Do

    Keep toast copy to a single short sentence and let it auto-dismiss for informational messages; give destructive confirmations a dedicated dialog instead.

    Don't

    Stack more than 2-3 toasts at once, or use a toast for anything the user must act on immediately — that belongs in a modal or inline banner.

    Components

    Navigation

    Token path: navigation/item/background/[state]. An isolated example using the same component logic as this page's sidebar.

    Click an item — the active state switches to the navigation/item/background/active token.
    Do

    Mark exactly one item as active at a time, and keep the active indicator's contrast strong enough to pass the same WCAG check used elsewhere in the system.

    Don't

    Rely on color alone to show the active item — the weight change and background together (not hue alone) carry the state.

    Components

    Component catalog

    The implementation now contains 31 production-oriented React component families, all using Design Studio's visual language, OKLCH color system, light/dark themes and token contracts.

    Stable

    Button

    Five variants, three sizes, loading and disabled states.

    Stable

    Input

    Outlined, filled, standard, adornments and multiline.

    Stable

    Checkbox · Radio · Switch

    Native semantics with independent checked and disabled axes.

    Stable

    Select · Tabs

    Roving keyboard focus with intentional clamp and wrap behavior.

    Stable

    Card · Navigation · Toast

    Structural, wayfinding and transient feedback patterns.

    New

    Badge

    Six semantic tones for status and compact metadata.

    New

    Alert

    Persistent feedback with polite and assertive live-region rules.

    New

    Accordion

    Single or multiple disclosure modes with native buttons.

    New

    Dialog

    Focus containment, focus restoration, Escape and backdrop handling.

    New

    Dropdown · Split Button

    Action menus, destructive states and compound primary actions.

    New

    Calendar · Date Picker

    Six-week calendar grid, constraints and native input compatibility.

    New

    Drawer · Popover · Tooltip

    Side panels and contextual overlay patterns.

    New

    Pagination · Stepper

    Large data-set navigation and multi-step progress.

    New

    Table

    Responsive semantic table primitives with header, body, row and cell APIs.

    New

    Notification · Progress · Spinner

    Persistent, determinate and indeterminate feedback.

    New

    Icon · Link · Tag · Textarea

    Foundational content, action and form primitives.

    Component coverage

    The catalog covers foundational inputs, navigation, feedback, overlays, data display and date-selection patterns required across modern product interfaces.

    Team guideEkip rehberi

    AI Tools & WorkflowAI Araçları ve Çalışma Akışı

    Use AI to accelerate exploration and production—not to replace design judgment. This guide turns a vague request into a reviewable, design-system-aware output.AI, tasarım kararını senin yerine vermek için değil; araştırmayı, keşfi ve üretimi hızlandırmak için güçlü bir yardımcıdır. Buradaki akış, havada kalan bir isteği ekipçe değerlendirilebilen ve design system kurallarını bilen net bir çıktıya dönüştürür.

    01ContextBağlam

    Product, user and current stateÜrün, kullanıcı ve mevcut durum

    02TaskGörev

    One clear job and success criteriaTek ve net görev, başarı ölçütü

    03ConstraintsKısıtlar

    Tokens, platform and accessibilityToken, platform ve erişilebilirlik kuralları

    04OutputÇıktı

    Format, depth and examplesFormat, detay seviyesi ve örnekler

    05ReviewKontrol

    Human validation before useKullanmadan önce insan doğrulaması

    Prompt BuilderPrompt Oluşturucu

    Describe the work; the structure is created automatically.Sen işi kendi cümlelerinle anlat; araç gerekli bağlamı düzenleyip kullanılabilir bir prompt yapısına dönüştürsün.

    Generated promptOluşturulan prompt

    Edit the fields and copy the result when ready.Alanları düzenleyin; hazır olduğunda sonucu kopyalayın.

    
            

    Give real contextGerçek bağlamı paylaş

    Include the product goal, user group and known evidence. Do not ask AI to invent missing research.Ürün hedefini, kullanıcı grubunu ve elindeki bulguları açıkça yaz. Bilmediğin bir şeyi AI’ın araştırma sonucuymuş gibi tamamlamasına izin verme.

    Reference the systemSistemi tarifin içine kat

    Name semantic tokens, component contracts, breakpoints and content rules instead of visual guesses.“Mavi bir button yap” gibi yoruma açık tarifler yerine semantik tokenları, bileşen kurallarını, breakpointleri ve içerik kurallarını doğrudan belirt.

    Review before useÇıktıyı olduğu gibi kullanma

    Validate usability, accessibility, edge cases, technical feasibility and brand consistency.AI çıktısını bir taslak olarak ele al. Kullanılabilirlik, erişilebilirlik, uç durumlar, teknik uygulanabilirlik ve marka tutarlılığı için son kontrol her zaman insanda olmalı.

    Privacy ruleGizlilik çizgisi net

    Never paste customer names, credentials, production data, internal financial information or unreleased project details into an unapproved AI tool. Anonymize examples and follow the company’s approved-tool policy.Onaylanmamış bir AI aracına müşteri adı, parola, canlı ortam verisi, şirket içi finansal bilgi veya henüz yayınlanmamış proje detayı girme. Örneğe gerçekten ihtiyaç varsa veriyi anonimleştir ve yalnızca şirketin onayladığı araçları kullan.

    Motion system

    Micro Animations

    Motion should confirm an action, explain a state change or direct attention—never delay the task. Click any example to trigger it, or replay the complete set.

    Motion principle: fast, purposeful and interruptible.

    Press feedback

    60–120ms

    Scale and elevation acknowledge a physical press immediately.

    State transition

    180–250ms

    The thumb movement explains exactly which state became active.

    Favorite

    200–350ms

    A short overshoot adds character while the filled icon preserves state.

    Success feedback

    400–700ms

    Draw the check only after the operation has actually completed.

    Loading

    loop

    Shimmer communicates progress without suggesting an exact completion time.

    Changes savedDeğişiklikler kaydedildi

    Your token updates are ready.Token güncellemeleriniz hazır.

    Notification

    400–800ms

    Use sparingly; movement should stop after attracting attention once.

    Do

    Animate transform and opacity, preserve the final state and let users interrupt the motion.

    Don't

    Loop decorative motion, block input during animation or rely on motion as the only state signal.

    Accessibility Tool

    Colour Contrast Checker

    Test any foreground and background pairing against WCAG contrast thresholds and compare combinations directly with the Design Studio token palette.

    Aa
    8.95contrast ratio
    Large text · 24pxDesign systems make decisions reusable.
    Normal text · 16px

    Use semantic tokens to keep every component consistent across brands and themes.

    Guidelines

    Accessibility

    Design Studio treats WCAG 2.1 AA as the minimum standard. The contrast values below are computed live from the actual token colors generated on this page.

    ExampleForeground / BackgroundContrast ratioAA (text)AAA (text)

    Other rules

    Touch targets must be at least 40×40px. All interactive components must show a focus ring via :focus-visible at least 2px thick, distinguishable from the background. For users who prefer reduced motion, prefers-reduced-motion should shorten or disable transition durations. Color must never be the sole carrier of information; state should always be reinforced with an icon or text.

    Keyboard interaction

    ComponentKeyBehavior
    ButtonEnter / SpaceActivates the button
    InputTab / Shift+TabMoves focus in and out of the field
    ToastEscDismisses the focused toast
    Navigation itemArrow Up / DownMoves focus between items in the list
    Search⌘K / Ctrl+KFocuses the search field from anywhere on the page
    Guidelines

    Font Licensing

    Before adding a typeface to the system, make sure its license scope covers your product use.

    FontLicenseCommercial useWeb embedding
    Space GroteskSIL Open Font License 1.1FreePermitted, no attribution required
    JetBrains MonoApache License 2.0FreePermitted, no attribution required

    Google Fonts libraryGoogle Fonts kütüphanesi

    Review the type families, available weights and license details from their official font pages.Bir fontu sisteme almadan önce family yapısını, mevcut weight’leri ve lisans kapsamını kendi resmi sayfasından kontrol et.

    Checklist for adding a new font

    Confirm whether the license covers desktop and web embedding rights separately. For static exports (PDF, slides), check subsetting rights. Some foundry licenses charge per monthly page view — estimate cost based on projected traffic. If using a variable font, make sure the license covers the full weight range. Before committing font files to the repo, confirm redistribution rights.

    Self-hosting vs. CDN

    Both Space Grotesk and JetBrains Mono are open-licensed and available on Google Fonts, which is the fastest way to prototype. For production, most teams self-host the woff2 files instead — it removes a third-party network request, keeps the font available if the CDN has an outage, and avoids sending user IP addresses to an external font host, which matters for privacy compliance (e.g. GDPR) in some jurisdictions.

    Guidelines

    Component Migration Guide

    Design Studio manages component and token changes through semantic versioning. Breaking changes are always announced with a migration window and a mapping table.

    Lifecycle

    StageStatusDescription
    1. IntroductionnewA new token or component is added; existing usage is unaffected.
    2. StablestableUsable unchanged for at least one minor release.
    3. DeprecationdeprecatedThe replacement token is specified; a build-time warning is issued. A minimum of one major version's time is given.
    4. RemovalremovedFully removed from the codebase in the next major version.

    Example mapping (v2 → v3)

    Old tokenNew tokenNote
    color/primary/500color/brand/500Category name changed from "primary" to "brand"; the anchor remains 500.
    Button/Blue/BigButton/Primary/LargeSize and variant names standardized.
    space/largespace/16Naming moved to a numeric scale.

    Codemod example

    Removed tokens ship with a small find-replace script so consuming teams don't have to hunt for every usage by hand.

    // migrate-v3-color-tokens.js const renameMap = { 'color/primary/500': 'color/brand/500', 'Button/Blue/Big': 'Button/Primary/Large', 'space/large': 'space/16', }; // run: node migrate-v3-color-tokens.js --write ./src

    Migration checklist

    A codemod or find-replace script is provided for every removed token. The changelog lists token, component, and API level changes separately for every release. On critical product surfaces (checkout, authentication) migrations are tested behind a feature flag first. Design files (Figma) and the codebase are updated simultaneously; version drift between them should never exceed one sprint.

    Workbench · InteractiveWorkbench · Etkileşimli

    Component Playground

    Tune a component in context, preview responsive behavior, and copy a clean implementation without leaving the documentation.Component'i bağlamında düzenleyin, responsive davranışını önizleyin ve dokümantasyondan çıkmadan temiz kodu kopyalayın.

    PreviewDesktop · Medium · Default
    
          
    Workbench · Theme

    Theme BuilderTema Oluşturucu

    Tune semantic theme decisions once and preview them across real components. Primitive → Semantic → Component stays visible at every step.Semantik tema kararlarını tek yerden düzenleyin ve gerçek bileşenlerde önizleyin. Primitive → Semantic → Component zinciri her adımda görünür kalır.

    Live system preview

    Product surface

    Semantic tokens
    Available balance₺128,420.52+8.4% this month
    ApprovalTransfer request
    primitive/brand/500→semantic/primary→component/action/primary
    Theme tokensCSS variables · Light / Dark ready
    
        
    Reference · Component contract

    Component API

    Document props, states, variants, token ownership and accessibility behavior as a single component contract.Props, state, variant, token sahipliği ve erişilebilirlik davranışını tek bir component sözleşmesinde dokümante edin.

    Button API

    Action component with semantic variants, sizes and interaction states.

    PropertyTypeDefaultDescription
    Patterns · Ready-to-compose

    Component RecipesComponent Recipes

    Go beyond isolated components. Recipes show how primitives combine into common product flows.Tekil componentlerin ötesine geçin. Recipes, temel parçaların gerçek ürün akışlarında nasıl birleştiğini gösterir.

    Login Form

    Input, password field and primary action with a predictable vertical rhythm.

    InputButtonSpacing

    Search & Filter

    A compact toolbar recipe for data-heavy screens and responsive dashboards.

    SearchFilterResponsive

    Payment Form

    Financial input grouping with clear hierarchy and a single primary completion action.

    DataInputAction
    ◎

    No activity yet

    Empty states should explain what happened and what the user can do next.

    Empty State

    Supporting content pattern for zero-data, search and first-use experiences.

    IconContentGuidance
    Preview · Responsive behavior

    Responsive Preview

    Validate hierarchy and composition at common product widths before implementation.Uygulamaya geçmeden önce hiyerarşi ve kompozisyonu yaygın ürün genişliklerinde doğrulayın.

    Desktop · 1200px
    Product DashboardOverview   Activity   Settings
    Balance

    ₺128,420.52

    Responsive preview keeps content hierarchy stable while layout changes around it.

    Recent activity

    Payment completed · ₺1,250

    Transfer received · ₺8,400

    Workbench · InteractiveWorkbench · Etkileşimli

    Token PlaygroundToken Playground

    Start from a primitive anchor and preview how it flows into semantic roles. Use this before introducing a new brand color or hardcoding a value into a component.Bir temel renkten başla ve bu rengin semantik rollere nasıl dönüştüğünü canlı olarak gör. Yeni bir marka rengi eklemeden veya bileşene doğrudan renk değeri vermeden önce burayı kullan.

    Live semantic previewCanlı semantik önizleme

    Change Brand/500. The playground derives UI roles for exploration; final production values still belong in the approved token set.Brand/500 değerini değiştir ve arayüz rollerinin nasıl etkilendiğini gör. Bu alan keşif içindir; canlı ortamda yalnızca onaylı token seti kullanılmalıdır.

    Reference chainReferans zinciri

    Components consume meaning, never raw palette values.Bileşenler doğrudan palet değerlerini değil, anlam taşıyan semantik tokenları kullanır.

    Primitive→color/brand/500
    Semantic→color/action/primary
    Component→button/primary/background
    Code→var(--button-primary-background)
    RuleKural
    If a Figma layer exposes Light/8 or Brand/500 inside a product component, stop and map it to a semantic token first.Bir ürün bileşeninde veya Figma katmanında Light/8 ya da Brand/500 gibi ham bir değer görüyorsan önce uygun semantik tokenla eşleştir.
    Workbench · v2.5

    Component Anatomy

    Inspect a component by responsibility, not by pixels. Each highlighted part maps back to the token layer that owns it.

    Component/Button/Primary → Color/Action/Primary → Brand/500 → #303AB2
    Workbench · Live contrast

    Accessibility Lab

    Test foreground and background pairs with the WCAG contrast formula before they become component decisions.

    Contrast pair

    Accessible interface
    Primary action example

    WCAG result

    —
    contrast ratio
    AA textAAA textAA large

    Workbench · Traceability

    Token Inspector

    Paste a HEX value or choose a known token to trace how a raw value becomes semantic intent and finally a component decision.

    Closest approved token——
    Color difference——
    Used by
    Recommendation—

    —

    Developer Handoff · v2.9Geliştirici Aktarımı · v2.9

    Design → Token → CodeTasarımdan Koda

    Keep the same component intent from Figma to production. Inspect the token path, switch implementation examples, and copy code without translating design decisions by hand.Figma’daki bileşen kararını üretim koduna kadar aynı anlamla taşı. Token zincirini incele, teknoloji örnekleri arasında geçiş yap ve tasarım kararlarını yeniden yorumlamadan kodu kopyala.

    Implementation exampleUygulama örneği

    The component stays semantic; only the implementation syntax changes.Bileşenin anlamı değişmez; yalnızca uygulama biçimi değişir.

    components/Button.tsx
    <Button variant="primary" size="large">
      Continue
    </Button>
    Rule: Do not pass raw colors into production components. Use the component API or semantic CSS variable.Üretim bileşenlerine doğrudan renk değeri verme. Bileşen API’sini veya semantik CSS değişkenini kullan.

    Traceabilityİzlenebilirlik

    One decision, visible across every layer.Tek bir kararın tüm katmanlardaki karşılığını gör.

    FigmaAction / Primary / Large
    ComponentButton/Primary
    Semantic tokenColor/Action/Primary
    PrimitiveBrand/500 · #303AB2
    CSSvar(--color-action-primary)
    Automation · v3.0Otomasyon · v3.0

    Figma → Production PipelineFigma → Üretim Token Akışı

    Turn token changes into versioned code artifacts instead of manually copying values. The pipeline makes every design decision traceable from Figma variables to production components.Token değişikliklerini elle kopyalamak yerine sürümlenmiş kod çıktısına dönüştür. Böylece Figma değişkenlerinden üretim bileşenlerine kadar her karar izlenebilir kalır.

    Recommended pipelineÖnerilen token akışı

    A practical architecture for keeping Figma, token source files, generated platform variables and application components in sync.Figma, token kaynak dosyaları, üretilen platform değişkenleri ve uygulama bileşenlerini aynı sistemde tutan pratik mimari.

    Single source of truthTek kaynak
    FG01 · FigmaVariables & Tokens

    Primitive, semantic and component aliases live in the design file.Primitive, semantik ve bileşen alias’ları tasarım dosyasında yaşar.

    JS02 · Sourcetokens.json

    Export a platform-neutral token source that can be reviewed and versioned.İncelenebilir ve sürümlenebilir, platformdan bağımsız token kaynağı üret.

    SD03 · TransformToken Build

    Transform names, references and formats for each target platform.İsimleri, referansları ve formatları hedef platformlara göre dönüştür.

    CSS04 · OutputCSS / TS Variables

    Generate CSS variables and typed token exports without hand edits.Elle düzenleme yapmadan CSS variables ve typed token çıktıları üret.

    UI05 · ProductReact / Next.js

    Components consume semantic tokens, never raw brand values.Bileşenler ham marka rengini değil semantik tokenı tüketir.

    Generated artifactÜretilen çıktıtokens/tokens.json
    {
      "color": {
        "brand": { "500": { "$value": "#303AB2" } },
        "action": {
          "primary": { "$value": "{color.brand.500}" }
        }
      }
    }
    Change propagationDeğişikliğin yayılımıBrand/500
    Change the Figma source token once. Semantic aliases and generated outputs update from the same source.Figma’daki kaynak tokenı bir kez değiştir. Semantik alias’lar ve üretilen çıktılar aynı kaynaktan güncellensin.
    Production rule:Üretim kuralı: Generated files should be treated as build artifacts. Review token changes at the source layer; do not manually patch generated CSS or TypeScript values.Üretilen dosyaları build çıktısı olarak ele al. Token değişikliğini kaynak katmanda incele; oluşturulan CSS veya TypeScript değerlerini elle değiştirme.
    Governance · SnapshotGovernance · Anlık görünüm

    Design System HealthDesign System Health

    A lightweight governance view for spotting drift before it reaches product files.Tutarsızlıkları ürün dosyalarına yayılmadan önce fark etmek için hızlı bir sistem görünümü.

    System snapshotSistem özeti

    Illustrative metrics — connect these to your Figma/code audit when automation is available.Örnek metrikler — otomasyon hazır olduğunda Figma ve kod denetimi verilerine bağlanabilir.

    31Documented components
    94%Semantic token coverage
    3Deprecated patterns
    2Accessibility follow-ups

    Release gateRelease kontrolü

    Before a component is marked Stable, verify naming, semantic tokens, states, accessibility, responsive behavior and documentation.Bir bileşeni Stable durumuna almadan önce isimlendirme, semantik tokenlar, durumlar, erişilebilirlik, responsive davranış ve dokümantasyonu doğrula.

    ✓Primitive → Semantic → Component mapping
    ✓Default / Hover / Pressed / Disabled states
    ✓Light & Dark theme review
    ✓Keyboard, focus & contrast review

    Do / Don’t in product filesÜrün dosyalarında Yap / Yapma

    ×DON’T · Raw styling
    Fill: Light/8 · CTA: Tertiary

    Avoid raw palette references and weak hierarchy when the CTA is the only action on the surface.Tek aksiyonlu yüzeylerde ham palet değerleri veya zayıf CTA hiyerarşisi kullanma.

    ✓DO · Semantic intent
    Color/Action/Primary · Button/Primary

    Use the semantic role and let the component preserve the correct token when content is replaced.Semantik rol kullan; içerik değişse bile bileşenin doğru tokenı korumasını sağla.

    Interactive tool · BetaInteractive tool · Beta

    Gradient LabGradient Lab

    Build a fluid mesh-style gradient using approved system colors. Drag the four points, switch tokens, then copy production-ready CSS or export a PNG.Onaylı sistem renkleriyle akışkan bir mesh gradient oluştur. Renk noktalarını sürükle, tokenları değiştir; ardından kullanıma hazır CSS’i kopyala veya görsel çıktıyı indir.