スキル一覧に戻る
vuralserhat86

design-tokens

by vuralserhat86

OS for Agents: 130+ Agentic Skills, Gemini Protocols, and Autonomous Workflows. (Antigravity System)

19🍴 9📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: design_tokens router_kit: FullStackKit description: 8-point grid spacing, typography scale ve color system. Temel tasarım değişkenleri. metadata: skillport: category: design tags: [accessibility, api integration, backend, browser apis, client-side, components, css3, debugging, deployment, design tokens, frameworks, frontend, fullstack, html5, javascript, libraries, node.js, npm, performance optimization, responsive design, seo, state management, testing, typescript, ui/ux, web development] - design-responsive

🎨 Design Tokens

Temel tasarım değişkenleri: spacing, typography, colors.


📐 1. Spacing System (8-Point Grid)

Temel Kural

Tüm boşluklar 8'in katları olmalı.

4px   - Minimum (micro)
8px   - XS
16px  - SM (icon-text arası)
24px  - MD (card içi)
32px  - LG (component'ler arası)
48px  - XL (section içi gruplar)
64px  - 2XL (section'lar arası)
96px  - 3XL (major section'lar)
128px - 4XL (hero padding)

Padding Yapısı

ElementPadding
Card/Container24px veya 32px
Button12px / 24px (V/H)
Input12px / 16px (V/H)
Section (Desktop)64px - 96px
Section (Mobile)32px - 48px

🔤 2. Typography Scale

Font Sizes

12px  - Caption / Helper
14px  - Small / Metadata
16px  - Body (Base)
20px  - Lead paragraph
24px  - H4
32px  - H3
40px  - H2
48px  - H1
64px  - Hero

Line Height

TipOran
Başlıklar (H1-H3)1.2 - 1.3
Body text1.5 - 1.6
Small text1.4
Hero text1.1

Font Weight

400 - Regular (Body)
500 - Medium (Subtle emphasis)
600 - Semibold (Subheadings, buttons)
700 - Bold (Headings)
800 - Extra bold (Hero)

🎨 3. Color System

Contrast Ratios (WCAG)

TipMinimum
Normal text4.5:1
Large text (18px+)3:1
UI components3:1
AAA ideal7:1

Palet Yapısı

Primary:   50, 100, 200...900, 950 (10 shade)
Secondary: 10 shades
Neutral:   10 shades
Success/Warning/Error/Info: 5 shades

Opacity Scale

100% - Default
75%  - Disabled
60%  - Placeholder
40%  - Dividers
20%  - Subtle backgrounds
10%  - Hover overlays

📦 4. Border Radius

0px    - Sharp
4px    - Small (buttons)
8px    - Medium (cards) ← Default
16px   - Large (feature cards)
9999px - Full (pills, avatars)

🔄 Workflow

Kaynak: W3C Design Tokens Format & Style Dictionary Best Practices

Aşama 1: Audit & Token Hierarchy

  • Color/Type Audit: Marka renklerini ve tipografi ölçeğini (Scale) standartlaştır.
  • Classification: Tokenlar'ı 3 seviyeye ayır: Primitive (Global), Semantic (Purpose) ve Component-specific.
  • Naming Convention: category-type-item-state (örn: action-primary-hover) formatını uygula.

Aşama 2: Definition & Tooling

  • JSON Definition: Token'ları merkezi bir JSON dosyasında tanımla.
  • Multi-Platform Export: Style Dictionary kullanarak tokens'ları CSS, JS ve Swift/Kotlin formatlarına dönüştür.
  • Theme Variation: Dark/Light mode için semantik eşlemeleri yap.

Aşama 3: Consumption & Maintenance

  • Implementation: Kod içerisinde hardcoded değerleri token değişkenleriyle değiştir.
  • Version Control: Token değişikliklerini merkezi tasarım kütüphanesi üzerinden takip et.
  • Governance: Yeni eklenen renk veya boşluk değerlerinin sisteme uygunluğunu denetle.

Kontrol Noktaları

AşamaDoğrulama
1Tüm renkler WCAG erişilebilirlik (Contrast) testinden geçti mi?
2Token isimleri geliştirici ve tasarımcı için aynı anlamı taşıyor mu?
3Token değişikliği tüm platformlarda otomatik güncelleniyor mu?

Design Tokens v1.5 - With Workflow

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です