oh-my-design-cli 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ko.md +3 -2
- package/README.md +3 -2
- package/package.json +3 -3
- package/references/Claude-Design-Sys-Prompt.txt +0 -421
- package/references/airbnb/README.md +0 -23
- package/references/airbnb/preview-dark.html +0 -234
- package/references/airbnb/preview.html +0 -233
- package/references/airtable/README.md +0 -23
- package/references/airtable/preview-dark.html +0 -165
- package/references/airtable/preview.html +0 -164
- package/references/apple/README.md +0 -24
- package/references/apple/preview-dark.html +0 -420
- package/references/apple/preview.html +0 -414
- package/references/baemin/README.md +0 -19
- package/references/bmw/README.md +0 -23
- package/references/bmw/preview-dark.html +0 -211
- package/references/bmw/preview.html +0 -210
- package/references/cal/README.md +0 -23
- package/references/cal/preview-dark.html +0 -449
- package/references/cal/preview.html +0 -575
- package/references/claude/README.md +0 -24
- package/references/claude/preview-dark.html +0 -803
- package/references/claude/preview.html +0 -826
- package/references/clay/README.md +0 -23
- package/references/clay/preview-dark.html +0 -316
- package/references/clay/preview.html +0 -315
- package/references/clickhouse/README.md +0 -24
- package/references/clickhouse/preview-dark.html +0 -834
- package/references/clickhouse/preview.html +0 -786
- package/references/cohere/README.md +0 -24
- package/references/cohere/preview-dark.html +0 -803
- package/references/cohere/preview.html +0 -807
- package/references/coinbase/README.md +0 -23
- package/references/coinbase/preview-dark.html +0 -164
- package/references/coinbase/preview.html +0 -163
- package/references/composio/README.md +0 -24
- package/references/composio/preview-dark.html +0 -958
- package/references/composio/preview.html +0 -933
- package/references/cursor/README.md +0 -24
- package/references/cursor/preview-dark.html +0 -393
- package/references/cursor/preview.html +0 -383
- package/references/dcard/README.md +0 -12
- package/references/dcard/_research/forum-1440px.png +0 -0
- package/references/dcard/_research.md +0 -77
- package/references/elevenlabs/README.md +0 -23
- package/references/elevenlabs/preview-dark.html +0 -252
- package/references/elevenlabs/preview.html +0 -251
- package/references/expo/README.md +0 -24
- package/references/expo/preview-dark.html +0 -533
- package/references/expo/preview.html +0 -533
- package/references/ferrari/README.md +0 -23
- package/references/ferrari/preview-dark.html +0 -1162
- package/references/ferrari/preview.html +0 -1122
- package/references/figma/README.md +0 -24
- package/references/figma/preview-dark.html +0 -822
- package/references/figma/preview.html +0 -832
- package/references/framer/README.md +0 -23
- package/references/framer/preview-dark.html +0 -902
- package/references/framer/preview.html +0 -883
- package/references/freee/README.md +0 -12
- package/references/freee/_research/vibes-storybook-1440px.png +0 -0
- package/references/freee/_research.md +0 -77
- package/references/hashicorp/README.md +0 -24
- package/references/hashicorp/preview-dark.html +0 -1202
- package/references/hashicorp/preview.html +0 -1193
- package/references/ibm/README.md +0 -24
- package/references/ibm/preview-dark.html +0 -443
- package/references/ibm/preview.html +0 -428
- package/references/intercom/README.md +0 -23
- package/references/intercom/preview-dark.html +0 -185
- package/references/intercom/preview.html +0 -184
- package/references/kakao/README.md +0 -18
- package/references/karrot/README.md +0 -18
- package/references/kraken/README.md +0 -23
- package/references/kraken/preview-dark.html +0 -169
- package/references/kraken/preview.html +0 -168
- package/references/lamborghini/README.md +0 -23
- package/references/lamborghini/preview-dark.html +0 -303
- package/references/lamborghini/preview.html +0 -381
- package/references/line/README.md +0 -12
- package/references/line/_research/home-1440px.png +0 -0
- package/references/line/_research.md +0 -65
- package/references/linear.app/README.md +0 -24
- package/references/linear.app/preview-dark.html +0 -383
- package/references/linear.app/preview.html +0 -373
- package/references/lovable/README.md +0 -24
- package/references/lovable/preview-dark.html +0 -349
- package/references/lovable/preview.html +0 -348
- package/references/mercari/README.md +0 -12
- package/references/mercari/_research/home-1440px.png +0 -0
- package/references/mercari/_research.md +0 -77
- package/references/minimax/README.md +0 -24
- package/references/minimax/preview-dark.html +0 -1262
- package/references/minimax/preview.html +0 -1248
- package/references/mintlify/README.md +0 -24
- package/references/mintlify/preview-dark.html +0 -409
- package/references/mintlify/preview.html +0 -398
- package/references/miro/README.md +0 -23
- package/references/miro/preview-dark.html +0 -174
- package/references/miro/preview.html +0 -173
- package/references/mistral.ai/README.md +0 -24
- package/references/mistral.ai/preview-dark.html +0 -806
- package/references/mistral.ai/preview.html +0 -805
- package/references/mongodb/README.md +0 -23
- package/references/mongodb/preview-dark.html +0 -260
- package/references/mongodb/preview.html +0 -259
- package/references/notion/README.md +0 -24
- package/references/notion/preview-dark.html +0 -372
- package/references/notion/preview.html +0 -364
- package/references/nvidia/README.md +0 -24
- package/references/nvidia/preview-dark.html +0 -374
- package/references/nvidia/preview.html +0 -366
- package/references/ollama/README.md +0 -24
- package/references/ollama/preview-dark.html +0 -678
- package/references/ollama/preview.html +0 -678
- package/references/opencode.ai/README.md +0 -24
- package/references/opencode.ai/preview-dark.html +0 -366
- package/references/opencode.ai/preview.html +0 -357
- package/references/pinkoi/README.md +0 -12
- package/references/pinkoi/_research/browse-1440px.png +0 -0
- package/references/pinkoi/_research.md +0 -115
- package/references/pinterest/README.md +0 -23
- package/references/pinterest/preview-dark.html +0 -233
- package/references/pinterest/preview.html +0 -232
- package/references/posthog/README.md +0 -23
- package/references/posthog/preview-dark.html +0 -699
- package/references/posthog/preview.html +0 -749
- package/references/raycast/README.md +0 -23
- package/references/raycast/preview-dark.html +0 -606
- package/references/raycast/preview.html +0 -688
- package/references/renault/README.md +0 -23
- package/references/renault/preview-dark.html +0 -406
- package/references/renault/preview.html +0 -606
- package/references/replicate/README.md +0 -24
- package/references/replicate/preview-dark.html +0 -828
- package/references/replicate/preview.html +0 -831
- package/references/resend/README.md +0 -23
- package/references/resend/preview-dark.html +0 -355
- package/references/resend/preview.html +0 -354
- package/references/revolut/README.md +0 -23
- package/references/revolut/preview-dark.html +0 -234
- package/references/revolut/preview.html +0 -233
- package/references/runwayml/README.md +0 -24
- package/references/runwayml/preview-dark.html +0 -664
- package/references/runwayml/preview.html +0 -665
- package/references/sanity/README.md +0 -24
- package/references/sanity/preview-dark.html +0 -990
- package/references/sanity/preview.html +0 -1135
- package/references/sentry/README.md +0 -24
- package/references/sentry/preview-dark.html +0 -626
- package/references/sentry/preview.html +0 -951
- package/references/spacex/README.md +0 -23
- package/references/spacex/preview-dark.html +0 -221
- package/references/spacex/preview.html +0 -220
- package/references/spotify/README.md +0 -23
- package/references/spotify/preview-dark.html +0 -231
- package/references/spotify/preview.html +0 -230
- package/references/stripe/README.md +0 -24
- package/references/stripe/preview-dark.html +0 -428
- package/references/stripe/preview.html +0 -419
- package/references/supabase/README.md +0 -24
- package/references/supabase/preview-dark.html +0 -977
- package/references/supabase/preview.html +0 -955
- package/references/superhuman/README.md +0 -23
- package/references/superhuman/preview-dark.html +0 -973
- package/references/superhuman/preview.html +0 -951
- package/references/tesla/README.md +0 -23
- package/references/tesla/preview-dark.html +0 -947
- package/references/tesla/preview.html +0 -925
- package/references/together.ai/README.md +0 -24
- package/references/together.ai/preview-dark.html +0 -892
- package/references/together.ai/preview.html +0 -897
- package/references/toss/README.md +0 -19
- package/references/uber/README.md +0 -24
- package/references/uber/preview-dark.html +0 -1120
- package/references/uber/preview.html +0 -1119
- package/references/vercel/README.md +0 -24
- package/references/vercel/preview-dark.html +0 -368
- package/references/vercel/preview.html +0 -367
- package/references/voltagent/README.md +0 -24
- package/references/voltagent/preview-dark.html +0 -487
- package/references/voltagent/preview.html +0 -766
- package/references/warp/README.md +0 -23
- package/references/warp/preview-dark.html +0 -500
- package/references/warp/preview.html +0 -533
- package/references/webflow/README.md +0 -23
- package/references/webflow/preview-dark.html +0 -147
- package/references/webflow/preview.html +0 -146
- package/references/wise/README.md +0 -23
- package/references/wise/preview-dark.html +0 -230
- package/references/wise/preview.html +0 -229
- package/references/x.ai/README.md +0 -24
- package/references/x.ai/preview-dark.html +0 -356
- package/references/x.ai/preview.html +0 -407
- package/references/zapier/README.md +0 -24
- package/references/zapier/preview-dark.html +0 -380
- package/references/zapier/preview.html +0 -372
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Design System Inspired by Wise</title>
|
|
7
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
|
-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;900&display=swap" rel="stylesheet">
|
|
10
|
-
<style>
|
|
11
|
-
:root {
|
|
12
|
-
--white:#ffffff; --black:#0e0f0c; --green:#9fe870; --dark-green:#163300;
|
|
13
|
-
--mint:#e2f6d5; --gray:#868685; --warm-dark:#454745; --light:#e8ebe6;
|
|
14
|
-
--danger:#d03238; --warning:#ffd11a;
|
|
15
|
-
--font:'Inter',Helvetica,Arial,sans-serif;
|
|
16
|
-
}
|
|
17
|
-
* { margin:0; padding:0; box-sizing:border-box; }
|
|
18
|
-
body { background:var(--white); color:var(--black); font-family:var(--font); font-size:18px; font-weight:400; line-height:1.44; font-feature-settings:"calt" 1; -webkit-font-smoothing:antialiased; }
|
|
19
|
-
|
|
20
|
-
.nav { position:sticky; top:0; z-index:100; display:flex; align-items:center; justify-content:space-between; padding:14px 24px; background:var(--white); border-bottom:1px solid rgba(14,15,12,0.08); }
|
|
21
|
-
.nav-brand { font-size:18px; font-weight:600; color:var(--black); text-decoration:none; }
|
|
22
|
-
.nav-links { display:flex; gap:20px; list-style:none; }
|
|
23
|
-
.nav-links a { font-size:16px; font-weight:600; color:var(--black); text-decoration:none; transition:opacity 0.15s; }
|
|
24
|
-
.nav-links a:hover { opacity:0.7; }
|
|
25
|
-
.nav-cta { display:inline-block; background:var(--green); color:var(--dark-green); padding:8px 20px; border-radius:9999px; font-size:16px; font-weight:600; text-decoration:none; transition:transform 0.2s; }
|
|
26
|
-
.nav-cta:hover { transform:scale(1.05); }
|
|
27
|
-
|
|
28
|
-
.hero { padding:80px 24px 64px; text-align:left; max-width:900px; margin:0 auto; }
|
|
29
|
-
.hero h1 { font-size:80px; font-weight:900; line-height:0.85; margin-bottom:24px; }
|
|
30
|
-
.hero h1 span { color:var(--dark-green); }
|
|
31
|
-
.hero p { font-size:18px; font-weight:400; color:var(--warm-dark); max-width:500px; margin-bottom:32px; letter-spacing:0.18px; }
|
|
32
|
-
.hero-buttons { display:flex; gap:12px; flex-wrap:wrap; }
|
|
33
|
-
.btn-green { display:inline-block; background:var(--green); color:var(--dark-green); padding:12px 28px; border-radius:9999px; font-family:var(--font); font-size:18px; font-weight:600; text-decoration:none; border:none; cursor:pointer; transition:transform 0.2s; }
|
|
34
|
-
.btn-green:hover { transform:scale(1.05); }
|
|
35
|
-
.btn-green:active { transform:scale(0.95); }
|
|
36
|
-
.btn-subtle { display:inline-block; background:rgba(22,51,0,0.08); color:var(--black); padding:12px 28px; border-radius:9999px; font-family:var(--font); font-size:18px; font-weight:600; text-decoration:none; border:none; cursor:pointer; transition:transform 0.2s; }
|
|
37
|
-
.btn-subtle:hover { transform:scale(1.05); }
|
|
38
|
-
|
|
39
|
-
.section { padding:64px 24px; max-width:1100px; margin:0 auto; }
|
|
40
|
-
.section-label { font-size:12px; font-weight:600; color:var(--gray); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:8px; }
|
|
41
|
-
.section-title { font-size:40px; font-weight:900; line-height:0.85; margin-bottom:32px; }
|
|
42
|
-
.section-divider { border:none; border-top:1px solid rgba(14,15,12,0.08); margin:0; }
|
|
43
|
-
|
|
44
|
-
.color-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(145px,1fr)); gap:10px; margin-bottom:20px; }
|
|
45
|
-
.color-swatch { border-radius:16px; overflow:hidden; border:1px solid rgba(14,15,12,0.12); }
|
|
46
|
-
.color-swatch-block { height:64px; width:100%; }
|
|
47
|
-
.color-swatch-info { padding:10px; }
|
|
48
|
-
.color-swatch-name { font-size:13px; font-weight:600; margin-bottom:2px; }
|
|
49
|
-
.color-swatch-hex { font-size:10px; color:var(--gray); font-family:monospace; }
|
|
50
|
-
.color-swatch-role { font-size:9px; color:var(--gray); margin-top:2px; }
|
|
51
|
-
.color-group-label { font-size:12px; font-weight:600; color:var(--warm-dark); margin:20px 0 8px; }
|
|
52
|
-
|
|
53
|
-
.type-sample { margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--light); }
|
|
54
|
-
.type-sample:last-child { border-bottom:none; }
|
|
55
|
-
.type-meta { font-size:10px; color:var(--gray); margin-top:4px; font-family:monospace; }
|
|
56
|
-
|
|
57
|
-
.button-row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
|
|
58
|
-
.button-item { text-align:center; }
|
|
59
|
-
.button-label { font-size:10px; color:var(--gray); margin-top:6px; }
|
|
60
|
-
|
|
61
|
-
.card-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:16px; }
|
|
62
|
-
.card { background:var(--white); border:1px solid rgba(14,15,12,0.12); border-radius:30px; padding:24px; }
|
|
63
|
-
.card h3 { font-size:22px; font-weight:600; margin-bottom:8px; letter-spacing:-0.396px; }
|
|
64
|
-
.card p { font-size:16px; color:var(--warm-dark); letter-spacing:0.08px; }
|
|
65
|
-
|
|
66
|
-
.form-group { margin-bottom:16px; max-width:400px; }
|
|
67
|
-
.form-label { display:block; font-size:14px; font-weight:600; margin-bottom:4px; }
|
|
68
|
-
.form-input { width:100%; background:var(--white); color:var(--black); border:1px solid rgba(14,15,12,0.12); padding:12px 16px; border-radius:10px; font-family:var(--font); font-size:16px; outline:none; }
|
|
69
|
-
.form-input:focus { box-shadow:rgba(14,15,12,0.12) 0px 0px 0px 1px, 0 0 0 2px var(--green); }
|
|
70
|
-
.form-input--focus { box-shadow:rgba(14,15,12,0.12) 0px 0px 0px 1px, 0 0 0 2px var(--green); }
|
|
71
|
-
.form-input--error { border-color:var(--danger); box-shadow:0 0 0 2px var(--danger); }
|
|
72
|
-
.form-textarea { width:100%; min-height:80px; background:var(--white); color:var(--black); border:1px solid rgba(14,15,12,0.12); padding:12px 16px; border-radius:10px; font-family:var(--font); font-size:16px; resize:vertical; outline:none; }
|
|
73
|
-
.form-state-label { font-size:9px; color:var(--gray); margin-top:4px; }
|
|
74
|
-
|
|
75
|
-
.spacing-row { display:flex; align-items:flex-end; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
|
|
76
|
-
.spacing-item { text-align:center; }
|
|
77
|
-
.spacing-block { background:var(--green); border-radius:4px; margin-bottom:4px; height:24px; }
|
|
78
|
-
.spacing-value { font-size:9px; color:var(--gray); font-family:monospace; }
|
|
79
|
-
|
|
80
|
-
.radius-row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
|
|
81
|
-
.radius-item { text-align:center; }
|
|
82
|
-
.radius-box { width:52px; height:52px; background:var(--mint); border:1px solid var(--green); margin-bottom:4px; }
|
|
83
|
-
.radius-label { font-size:9px; color:var(--gray); font-family:monospace; }
|
|
84
|
-
|
|
85
|
-
.elevation-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); gap:12px; }
|
|
86
|
-
.elevation-card { background:var(--white); border:1px solid rgba(14,15,12,0.12); border-radius:30px; padding:16px; text-align:center; }
|
|
87
|
-
.elevation-label { font-size:13px; font-weight:600; margin-bottom:4px; }
|
|
88
|
-
.elevation-desc { font-size:9px; color:var(--gray); font-family:monospace; }
|
|
89
|
-
|
|
90
|
-
.footer { padding:32px; text-align:center; background:var(--black); color:var(--gray); font-size:13px; }
|
|
91
|
-
.footer a { color:var(--green); text-decoration:underline; }
|
|
92
|
-
|
|
93
|
-
@media (max-width:576px) { .hero h1 { font-size:48px; } .nav-links { display:none; } .section { padding:48px 16px; } .card-grid { grid-template-columns:1fr; } }
|
|
94
|
-
</style>
|
|
95
|
-
</head>
|
|
96
|
-
<body>
|
|
97
|
-
|
|
98
|
-
<nav class="nav">
|
|
99
|
-
<span class="nav-brand">awesome-design-md</span>
|
|
100
|
-
<ul class="nav-links">
|
|
101
|
-
<li><a href="#colors">Colors</a></li>
|
|
102
|
-
<li><a href="#typography">Typography</a></li>
|
|
103
|
-
<li><a href="#buttons">Buttons</a></li>
|
|
104
|
-
<li><a href="#cards">Cards</a></li>
|
|
105
|
-
<li><a href="#forms">Forms</a></li>
|
|
106
|
-
</ul>
|
|
107
|
-
<a class="nav-cta" href="#">Get Started</a>
|
|
108
|
-
</nav>
|
|
109
|
-
|
|
110
|
-
<section class="hero">
|
|
111
|
-
<h1>Design System<br>Inspired by<br><span>Wise</span></h1>
|
|
112
|
-
<p>A design token catalog generated from DESIGN.md. Every color, font, and component — bold, green, and borderless.</p>
|
|
113
|
-
<div class="hero-buttons">
|
|
114
|
-
<a class="btn-green" href="#">Send Money</a>
|
|
115
|
-
<a class="btn-subtle" href="#">Learn More</a>
|
|
116
|
-
</div>
|
|
117
|
-
</section>
|
|
118
|
-
|
|
119
|
-
<hr class="section-divider">
|
|
120
|
-
|
|
121
|
-
<section class="section" id="colors">
|
|
122
|
-
<div class="section-label">01 / Colors</div><h2 class="section-title">Color Palette</h2>
|
|
123
|
-
<div class="color-group-label">Brand</div>
|
|
124
|
-
<div class="color-grid">
|
|
125
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#0e0f0c"></div><div class="color-swatch-info"><div class="color-swatch-name">Near Black</div><div class="color-swatch-hex">#0e0f0c</div><div class="color-swatch-role">Primary text</div></div></div>
|
|
126
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#9fe870"></div><div class="color-swatch-info"><div class="color-swatch-name">Wise Green</div><div class="color-swatch-hex">#9fe870</div><div class="color-swatch-role">Primary CTA</div></div></div>
|
|
127
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#163300"></div><div class="color-swatch-info"><div class="color-swatch-name">Dark Green</div><div class="color-swatch-hex">#163300</div><div class="color-swatch-role">Button text on green</div></div></div>
|
|
128
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#e2f6d5"></div><div class="color-swatch-info"><div class="color-swatch-name">Mint</div><div class="color-swatch-hex">#e2f6d5</div><div class="color-swatch-role">Soft green surface</div></div></div>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="color-group-label">Semantic</div>
|
|
131
|
-
<div class="color-grid">
|
|
132
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#054d28"></div><div class="color-swatch-info"><div class="color-swatch-name">Positive</div><div class="color-swatch-hex">#054d28</div><div class="color-swatch-role">Success</div></div></div>
|
|
133
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#d03238"></div><div class="color-swatch-info"><div class="color-swatch-name">Danger</div><div class="color-swatch-hex">#d03238</div><div class="color-swatch-role">Error</div></div></div>
|
|
134
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#ffd11a"></div><div class="color-swatch-info"><div class="color-swatch-name">Warning</div><div class="color-swatch-hex">#ffd11a</div><div class="color-swatch-role">Warning</div></div></div>
|
|
135
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#ffc091"></div><div class="color-swatch-info"><div class="color-swatch-name">Orange</div><div class="color-swatch-hex">#ffc091</div><div class="color-swatch-role">Warm accent</div></div></div>
|
|
136
|
-
</div>
|
|
137
|
-
<div class="color-group-label">Neutral</div>
|
|
138
|
-
<div class="color-grid">
|
|
139
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#454745"></div><div class="color-swatch-info"><div class="color-swatch-name">Warm Dark</div><div class="color-swatch-hex">#454745</div><div class="color-swatch-role">Secondary text</div></div></div>
|
|
140
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#868685"></div><div class="color-swatch-info"><div class="color-swatch-name">Gray</div><div class="color-swatch-hex">#868685</div><div class="color-swatch-role">Muted text</div></div></div>
|
|
141
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#e8ebe6"></div><div class="color-swatch-info"><div class="color-swatch-name">Light</div><div class="color-swatch-hex">#e8ebe6</div><div class="color-swatch-role">Light surface</div></div></div>
|
|
142
|
-
</div>
|
|
143
|
-
</section>
|
|
144
|
-
|
|
145
|
-
<hr class="section-divider">
|
|
146
|
-
|
|
147
|
-
<section class="section" id="typography">
|
|
148
|
-
<div class="section-label">02 / Typography</div><h2 class="section-title">Typography Scale</h2>
|
|
149
|
-
<div class="type-sample"><div style="font-size:80px; font-weight:900; line-height:0.85;">DISPLAY HERO</div><div class="type-meta">Display — 126px / 900 / 0.85 / Wise Sans / "calt"</div></div>
|
|
150
|
-
<div class="type-sample"><div style="font-size:40px; font-weight:900; line-height:0.85;">Section Title</div><div class="type-meta">Section — 40px / 900 / 0.85 / Wise Sans</div></div>
|
|
151
|
-
<div class="type-sample"><div style="font-size:22px; font-weight:600; line-height:1.25; letter-spacing:-0.396px;">Card Title</div><div class="type-meta">Card — 22px / 600 / 1.25 / -0.396px / Inter</div></div>
|
|
152
|
-
<div class="type-sample"><div style="font-size:18px; font-weight:400; line-height:1.44; letter-spacing:0.18px; color:var(--warm-dark);">Body — Send money abroad. Fast, cheap, transparent. No hidden fees, no bad exchange rates.</div><div class="type-meta">Body — 18px / 400 / 1.44 / +0.18px / Inter</div></div>
|
|
153
|
-
<div class="type-sample"><div style="font-size:18px; font-weight:600; line-height:1.44; letter-spacing:-0.108px;">Body Semibold — Account balance</div><div class="type-meta">Semibold — 18px / 600 / 1.44 / -0.108px / Inter</div></div>
|
|
154
|
-
<div class="type-sample"><div style="font-size:14px; font-weight:600; line-height:1.55; letter-spacing:-0.084px; color:var(--gray);">Caption — Updated 2 minutes ago</div><div class="type-meta">Caption — 14px / 600 / 1.55 / -0.084px / Inter</div></div>
|
|
155
|
-
</section>
|
|
156
|
-
|
|
157
|
-
<hr class="section-divider">
|
|
158
|
-
|
|
159
|
-
<section class="section" id="buttons">
|
|
160
|
-
<div class="section-label">03 / Buttons</div><h2 class="section-title">Buttons</h2>
|
|
161
|
-
<div class="button-row">
|
|
162
|
-
<div class="button-item"><a class="btn-green" href="#">Send Money</a><div class="button-label">Primary Green</div></div>
|
|
163
|
-
<div class="button-item"><a class="btn-subtle" href="#">Learn More</a><div class="button-label">Subtle</div></div>
|
|
164
|
-
</div>
|
|
165
|
-
<p style="font-size:13px; color:var(--gray); margin-top:16px;">Hover to see scale(1.05) grow. Click for scale(0.95) compress.</p>
|
|
166
|
-
</section>
|
|
167
|
-
|
|
168
|
-
<hr class="section-divider">
|
|
169
|
-
|
|
170
|
-
<section class="section" id="cards">
|
|
171
|
-
<div class="section-label">04 / Cards</div><h2 class="section-title">Cards</h2>
|
|
172
|
-
<div class="card-grid">
|
|
173
|
-
<div class="card"><h3>International Transfers</h3><p>Send money to 80+ countries at the real exchange rate. No markup, just a small, transparent fee.</p></div>
|
|
174
|
-
<div class="card" style="background:var(--mint); border-color:var(--green);"><h3>Multi-currency Account</h3><p>Hold and convert 40+ currencies. Spend abroad with the Wise card. Green accent card variant.</p></div>
|
|
175
|
-
<div class="card"><h3>Business Account</h3><p>Pay invoices, receive payments, and manage your international finances in one place.</p></div>
|
|
176
|
-
</div>
|
|
177
|
-
</section>
|
|
178
|
-
|
|
179
|
-
<hr class="section-divider">
|
|
180
|
-
|
|
181
|
-
<section class="section" id="forms">
|
|
182
|
-
<div class="section-label">05 / Forms</div><h2 class="section-title">Forms</h2>
|
|
183
|
-
<div class="form-group"><label class="form-label">Amount</label><input class="form-input" type="text" placeholder="1,000.00 GBP"><div class="form-state-label">Default</div></div>
|
|
184
|
-
<div class="form-group"><label class="form-label">Recipient</label><input class="form-input form-input--focus" type="text" value="John Smith"><div class="form-state-label">Focus (green ring)</div></div>
|
|
185
|
-
<div class="form-group"><label class="form-label">IBAN</label><input class="form-input form-input--error" type="text" value="invalid"><div class="form-state-label">Error</div></div>
|
|
186
|
-
<div class="form-group"><label class="form-label">Reference</label><textarea class="form-textarea" placeholder="Payment reference..."></textarea></div>
|
|
187
|
-
</section>
|
|
188
|
-
|
|
189
|
-
<hr class="section-divider">
|
|
190
|
-
|
|
191
|
-
<section class="section">
|
|
192
|
-
<div class="section-label">06 / Spacing</div><h2 class="section-title">Spacing</h2>
|
|
193
|
-
<div class="spacing-row">
|
|
194
|
-
<div class="spacing-item"><div class="spacing-block" style="width:4px"></div><div class="spacing-value">4</div></div>
|
|
195
|
-
<div class="spacing-item"><div class="spacing-block" style="width:8px"></div><div class="spacing-value">8</div></div>
|
|
196
|
-
<div class="spacing-item"><div class="spacing-block" style="width:12px"></div><div class="spacing-value">12</div></div>
|
|
197
|
-
<div class="spacing-item"><div class="spacing-block" style="width:16px"></div><div class="spacing-value">16</div></div>
|
|
198
|
-
<div class="spacing-item"><div class="spacing-block" style="width:20px"></div><div class="spacing-value">20</div></div>
|
|
199
|
-
<div class="spacing-item"><div class="spacing-block" style="width:24px"></div><div class="spacing-value">24</div></div>
|
|
200
|
-
</div>
|
|
201
|
-
</section>
|
|
202
|
-
|
|
203
|
-
<hr class="section-divider">
|
|
204
|
-
|
|
205
|
-
<section class="section">
|
|
206
|
-
<div class="section-label">07 / Radius</div><h2 class="section-title">Radius</h2>
|
|
207
|
-
<div class="radius-row">
|
|
208
|
-
<div class="radius-item"><div class="radius-box" style="border-radius:10px"></div><div class="radius-label">10px</div></div>
|
|
209
|
-
<div class="radius-item"><div class="radius-box" style="border-radius:16px"></div><div class="radius-label">16px</div></div>
|
|
210
|
-
<div class="radius-item"><div class="radius-box" style="border-radius:30px"></div><div class="radius-label">30px</div></div>
|
|
211
|
-
<div class="radius-item"><div class="radius-box" style="border-radius:40px"></div><div class="radius-label">40px</div></div>
|
|
212
|
-
<div class="radius-item"><div class="radius-box" style="border-radius:9999px; width:52px; height:52px;"></div><div class="radius-label">pill</div></div>
|
|
213
|
-
</div>
|
|
214
|
-
</section>
|
|
215
|
-
|
|
216
|
-
<hr class="section-divider">
|
|
217
|
-
|
|
218
|
-
<section class="section">
|
|
219
|
-
<div class="section-label">08 / Elevation</div><h2 class="section-title">Depth</h2>
|
|
220
|
-
<div class="elevation-grid">
|
|
221
|
-
<div class="elevation-card"><div class="elevation-label">Flat</div><div class="elevation-desc">No shadow</div></div>
|
|
222
|
-
<div class="elevation-card" style="box-shadow:rgba(14,15,12,0.12) 0px 0px 0px 1px;"><div class="elevation-label">Ring</div><div class="elevation-desc">1px ring shadow</div></div>
|
|
223
|
-
</div>
|
|
224
|
-
</section>
|
|
225
|
-
|
|
226
|
-
<footer class="footer">Maintained by <a href="https://github.com/VoltAgent/voltagent" target="_blank" rel="noopener noreferrer" style="text-decoration:none;"><img src="https://github.com/VoltAgent.png?size=32" alt="VoltAgent" width="14" height="14" style="border-radius:3px;vertical-align:-2px;margin-right:3px;">VoltAgent</a> team</footer>
|
|
227
|
-
|
|
228
|
-
</body>
|
|
229
|
-
</html>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# xAI Inspired Design System
|
|
2
|
-
|
|
3
|
-
[DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/x.ai/DESIGN.md) extracted from the public [xAI](https://x.ai/) website. This is not the official design system. Colors, fonts, and spacing may not be 100% accurate. But it's a good starting point for building something similar.
|
|
4
|
-
|
|
5
|
-
## Files
|
|
6
|
-
|
|
7
|
-
| File | Description |
|
|
8
|
-
|------|-------------|
|
|
9
|
-
| `DESIGN.md` | Complete design system documentation (9 sections) |
|
|
10
|
-
| `preview.html` | Interactive design token catalog (light) |
|
|
11
|
-
| `preview-dark.html` | Interactive design token catalog (dark) |
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Use [DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/x.ai/DESIGN.md) to use as a reference for AI agents (Claude, Cursor, Stitch) to generate UI that looks like the xAI design language.
|
|
15
|
-
|
|
16
|
-
## Preview
|
|
17
|
-
|
|
18
|
-
A sample landing page built with DESIGN.md. It shows the actual colors, typography, buttons, cards, spacing, and elevation, all in one page.
|
|
19
|
-
|
|
20
|
-
### Dark Mode
|
|
21
|
-

|
|
22
|
-
|
|
23
|
-
### Light Mode
|
|
24
|
-

|
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Design System Inspired by xAI</title>
|
|
7
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
|
-
<link href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
10
|
-
<style>
|
|
11
|
-
:root {
|
|
12
|
-
--bg: #1f2228;
|
|
13
|
-
--bg-page: #1f2228;
|
|
14
|
-
--white: #ffffff;
|
|
15
|
-
--text-primary: #ffffff;
|
|
16
|
-
--text-secondary: rgba(255, 255, 255, 0.7);
|
|
17
|
-
--text-muted: rgba(255, 255, 255, 0.5);
|
|
18
|
-
--text-disabled: rgba(255, 255, 255, 0.3);
|
|
19
|
-
--border: rgba(255, 255, 255, 0.1);
|
|
20
|
-
--border-strong: rgba(255, 255, 255, 0.2);
|
|
21
|
-
--surface: rgba(255, 255, 255, 0.03);
|
|
22
|
-
--surface-hover: rgba(255, 255, 255, 0.08);
|
|
23
|
-
--ring-blue: rgb(59, 130, 246);
|
|
24
|
-
--font-display: 'Geist Mono', ui-monospace, SFMono-Regular, 'Roboto Mono', Menlo, Monaco, monospace;
|
|
25
|
-
--font-body: 'Inter', -apple-system, system-ui, sans-serif;
|
|
26
|
-
}
|
|
27
|
-
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
28
|
-
body {
|
|
29
|
-
background: var(--bg-page);
|
|
30
|
-
color: var(--text-primary);
|
|
31
|
-
font-family: var(--font-body);
|
|
32
|
-
font-size: 16px; font-weight: 400; line-height: 1.50;
|
|
33
|
-
-webkit-font-smoothing: antialiased;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* NAV */
|
|
37
|
-
.nav {
|
|
38
|
-
position: sticky; top: 0; z-index: 100;
|
|
39
|
-
display: flex; align-items: center; justify-content: space-between;
|
|
40
|
-
padding: 12px 32px;
|
|
41
|
-
background: rgba(31,34,40,0.90);
|
|
42
|
-
backdrop-filter: blur(12px);
|
|
43
|
-
border-bottom: 1px solid var(--border);
|
|
44
|
-
}
|
|
45
|
-
.nav-brand { font-family: var(--font-display); font-size: 14px; font-weight: 400; color: var(--text-primary); text-decoration: none; text-transform: uppercase; letter-spacing: 1.4px; }
|
|
46
|
-
.nav-links { display: flex; gap: 24px; list-style: none; }
|
|
47
|
-
.nav-links a { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
|
|
48
|
-
.nav-links a:hover { color: var(--text-muted); }
|
|
49
|
-
.nav-cta {
|
|
50
|
-
display: inline-block; background: var(--white); color: var(--bg);
|
|
51
|
-
padding: 8px 16px; border-radius: 0px;
|
|
52
|
-
font-family: var(--font-display); font-size: 12px; font-weight: 400;
|
|
53
|
-
text-decoration: none; text-transform: uppercase; letter-spacing: 1.4px;
|
|
54
|
-
transition: opacity 0.15s;
|
|
55
|
-
}
|
|
56
|
-
.nav-cta:hover { opacity: 0.85; }
|
|
57
|
-
|
|
58
|
-
/* DARK MODE BADGE */
|
|
59
|
-
.dark-badge {
|
|
60
|
-
position: fixed; top: 16px; right: 16px; z-index: 200;
|
|
61
|
-
background: var(--white); color: var(--bg);
|
|
62
|
-
font-family: var(--font-display); font-size: 11px; font-weight: 400;
|
|
63
|
-
padding: 4px 10px; border-radius: 0px;
|
|
64
|
-
text-transform: uppercase; letter-spacing: 1px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* HERO */
|
|
68
|
-
.hero { padding: 96px 32px 80px; text-align: center; }
|
|
69
|
-
.hero h1 {
|
|
70
|
-
font-family: var(--font-display); font-size: 64px; font-weight: 300; line-height: 1.20;
|
|
71
|
-
color: var(--text-primary); margin-bottom: 16px;
|
|
72
|
-
}
|
|
73
|
-
.hero p { font-size: 18px; font-weight: 400; line-height: 1.50; color: var(--text-secondary); max-width: 560px; margin: 0 auto 32px; }
|
|
74
|
-
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
|
|
75
|
-
.btn-primary {
|
|
76
|
-
display: inline-block; background: var(--white); color: var(--bg);
|
|
77
|
-
padding: 12px 24px; border-radius: 0px; border: none;
|
|
78
|
-
font-family: var(--font-display); font-size: 14px; font-weight: 400;
|
|
79
|
-
text-decoration: none; text-transform: uppercase; letter-spacing: 1.4px;
|
|
80
|
-
cursor: pointer; transition: opacity 0.15s;
|
|
81
|
-
}
|
|
82
|
-
.btn-primary:hover { opacity: 0.85; }
|
|
83
|
-
.btn-ghost {
|
|
84
|
-
display: inline-block; background: transparent; color: var(--text-primary);
|
|
85
|
-
padding: 12px 24px; border-radius: 0px;
|
|
86
|
-
border: 1px solid var(--border-strong);
|
|
87
|
-
font-family: var(--font-display); font-size: 14px; font-weight: 400;
|
|
88
|
-
text-decoration: none; text-transform: uppercase; letter-spacing: 1.4px;
|
|
89
|
-
cursor: pointer; transition: opacity 0.15s;
|
|
90
|
-
}
|
|
91
|
-
.btn-ghost:hover { opacity: 0.6; }
|
|
92
|
-
|
|
93
|
-
/* SECTIONS */
|
|
94
|
-
.section { padding: 64px 32px; max-width: 1080px; margin: 0 auto; }
|
|
95
|
-
.section-label { font-family: var(--font-display); font-size: 12px; font-weight: 400; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 8px; }
|
|
96
|
-
.section-title { font-family: var(--font-body); font-size: 30px; font-weight: 400; line-height: 1.20; margin-bottom: 32px; color: var(--text-primary); }
|
|
97
|
-
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }
|
|
98
|
-
|
|
99
|
-
/* COLORS */
|
|
100
|
-
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; margin-bottom: 24px; }
|
|
101
|
-
.color-swatch { overflow: hidden; border: 1px solid var(--border); }
|
|
102
|
-
.color-swatch-block { height: 72px; width: 100%; }
|
|
103
|
-
.color-swatch-info { padding: 10px 12px; }
|
|
104
|
-
.color-swatch-name { font-size: 13px; font-weight: 400; margin-bottom: 2px; color: var(--text-primary); }
|
|
105
|
-
.color-swatch-hex { font-size: 12px; color: var(--text-muted); font-family: var(--font-display); }
|
|
106
|
-
.color-swatch-role { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
|
|
107
|
-
.color-group-label { font-size: 14px; font-weight: 400; color: var(--text-secondary); margin: 24px 0 10px; }
|
|
108
|
-
|
|
109
|
-
/* TYPOGRAPHY */
|
|
110
|
-
.type-sample { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
|
|
111
|
-
.type-sample:last-child { border-bottom: none; }
|
|
112
|
-
.type-meta { font-family: var(--font-display); font-size: 12px; font-weight: 400; color: var(--text-muted); margin-top: 8px; }
|
|
113
|
-
|
|
114
|
-
/* BUTTONS */
|
|
115
|
-
.button-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
|
|
116
|
-
.button-item { text-align: center; }
|
|
117
|
-
.button-label { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
|
|
118
|
-
.btn-text-link {
|
|
119
|
-
display: inline-block; background: none; color: var(--text-primary);
|
|
120
|
-
padding: 8px 16px; font-family: var(--font-body); font-size: 16px;
|
|
121
|
-
font-weight: 400; text-decoration: none; transition: opacity 0.15s;
|
|
122
|
-
}
|
|
123
|
-
.btn-text-link:hover { opacity: 0.5; }
|
|
124
|
-
.badge-mono {
|
|
125
|
-
display: inline-block; background: transparent; color: var(--text-primary);
|
|
126
|
-
padding: 4px 8px; font-family: var(--font-display); font-size: 12px;
|
|
127
|
-
text-transform: uppercase; letter-spacing: 1px;
|
|
128
|
-
border: 1px solid var(--border-strong);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* CARDS */
|
|
132
|
-
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
|
|
133
|
-
.card {
|
|
134
|
-
background: var(--surface); padding: 24px;
|
|
135
|
-
border: 1px solid var(--border);
|
|
136
|
-
transition: border-color 0.2s ease;
|
|
137
|
-
}
|
|
138
|
-
.card:hover { border-color: var(--border-strong); }
|
|
139
|
-
.card h3 { font-family: var(--font-body); font-size: 20px; font-weight: 400; margin-bottom: 8px; color: var(--text-primary); }
|
|
140
|
-
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.60; }
|
|
141
|
-
.card-tag { display: inline-block; font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 2px 6px; border: 1px solid var(--border-strong); margin-bottom: 12px; color: var(--text-muted); }
|
|
142
|
-
|
|
143
|
-
/* FORMS */
|
|
144
|
-
.form-group { margin-bottom: 20px; max-width: 400px; }
|
|
145
|
-
.form-label { display: block; font-size: 14px; font-weight: 400; color: var(--text-secondary); margin-bottom: 6px; }
|
|
146
|
-
.form-input {
|
|
147
|
-
width: 100%; background: transparent; color: var(--text-primary);
|
|
148
|
-
border: 1px solid var(--border-strong); padding: 10px 12px; border-radius: 0px;
|
|
149
|
-
font-family: var(--font-body); font-size: 14px; font-weight: 400; outline: none;
|
|
150
|
-
transition: border-color 0.15s;
|
|
151
|
-
}
|
|
152
|
-
.form-input:focus { border-color: var(--ring-blue); box-shadow: 0 0 0 2px rgba(59,130,246,0.3); }
|
|
153
|
-
.form-input--focus { border-color: var(--ring-blue); box-shadow: 0 0 0 2px rgba(59,130,246,0.3); }
|
|
154
|
-
.form-textarea {
|
|
155
|
-
width: 100%; min-height: 80px; background: transparent; color: var(--text-primary);
|
|
156
|
-
border: 1px solid var(--border-strong); padding: 10px 12px; border-radius: 0px;
|
|
157
|
-
font-family: var(--font-body); font-size: 14px; font-weight: 400; resize: vertical; outline: none;
|
|
158
|
-
}
|
|
159
|
-
.form-state-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
|
|
160
|
-
|
|
161
|
-
/* SPACING */
|
|
162
|
-
.spacing-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
|
|
163
|
-
.spacing-item { text-align: center; }
|
|
164
|
-
.spacing-block { background: var(--white); margin-bottom: 6px; height: 28px; }
|
|
165
|
-
.spacing-value { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--text-muted); }
|
|
166
|
-
|
|
167
|
-
/* RADIUS */
|
|
168
|
-
.radius-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
|
|
169
|
-
.radius-item { text-align: center; }
|
|
170
|
-
.radius-box { width: 64px; height: 64px; background: var(--white); margin-bottom: 6px; }
|
|
171
|
-
.radius-label { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--text-muted); }
|
|
172
|
-
.radius-context { font-size: 10px; color: var(--text-muted); }
|
|
173
|
-
|
|
174
|
-
/* ELEVATION */
|
|
175
|
-
.elevation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
|
|
176
|
-
.elevation-card { background: var(--surface); padding: 20px; text-align: center; }
|
|
177
|
-
.elevation-label { font-size: 14px; font-weight: 400; margin-bottom: 4px; color: var(--text-primary); }
|
|
178
|
-
.elevation-desc { font-family: var(--font-display); font-size: 11px; color: var(--text-muted); }
|
|
179
|
-
|
|
180
|
-
/* FOOTER */
|
|
181
|
-
.footer { padding: 32px; text-align: center; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
|
|
182
|
-
.footer a { color: var(--text-primary); text-decoration: underline; }
|
|
183
|
-
|
|
184
|
-
@media (max-width: 768px) {
|
|
185
|
-
.hero h1 { font-size: 36px; }
|
|
186
|
-
.nav-links { display: none; }
|
|
187
|
-
.section { padding: 48px 20px; }
|
|
188
|
-
.card-grid { grid-template-columns: 1fr; }
|
|
189
|
-
}
|
|
190
|
-
</style>
|
|
191
|
-
</head>
|
|
192
|
-
<body>
|
|
193
|
-
|
|
194
|
-
<nav class="nav">
|
|
195
|
-
<span class="nav-brand">awesome-design-md</span>
|
|
196
|
-
<ul class="nav-links">
|
|
197
|
-
<li><a href="#colors">Colors</a></li>
|
|
198
|
-
<li><a href="#typography">Typography</a></li>
|
|
199
|
-
<li><a href="#buttons">Buttons</a></li>
|
|
200
|
-
<li><a href="#cards">Cards</a></li>
|
|
201
|
-
<li><a href="#forms">Forms</a></li>
|
|
202
|
-
<li><a href="#spacing">Spacing</a></li>
|
|
203
|
-
</ul>
|
|
204
|
-
<a class="nav-cta" href="#">TRY GROK</a>
|
|
205
|
-
</nav>
|
|
206
|
-
<div class="dark-badge">Dark Mode</div>
|
|
207
|
-
|
|
208
|
-
<section class="hero">
|
|
209
|
-
<h1>Design System Inspired by xAI</h1>
|
|
210
|
-
<p>A design token catalog generated from DESIGN.md. Every color, font, component, and spacing value -- visualized.</p>
|
|
211
|
-
<div class="hero-buttons">
|
|
212
|
-
<a class="btn-primary" href="#">GET STARTED</a>
|
|
213
|
-
<a class="btn-ghost" href="#">VIEW DOCUMENTATION</a>
|
|
214
|
-
</div>
|
|
215
|
-
</section>
|
|
216
|
-
|
|
217
|
-
<hr class="section-divider">
|
|
218
|
-
|
|
219
|
-
<section class="section" id="colors">
|
|
220
|
-
<div class="section-label">01 / Colors</div>
|
|
221
|
-
<h2 class="section-title">Color Palette</h2>
|
|
222
|
-
|
|
223
|
-
<div class="color-group-label">Primary</div>
|
|
224
|
-
<div class="color-grid">
|
|
225
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228; border-bottom: 1px solid rgba(255,255,255,0.1)"></div><div class="color-swatch-info"><div class="color-swatch-name">Dark Background</div><div class="color-swatch-hex">#1f2228</div><div class="color-swatch-role">Page background</div></div></div>
|
|
226
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#ffffff"></div><div class="color-swatch-info"><div class="color-swatch-name">Pure White</div><div class="color-swatch-hex">#ffffff</div><div class="color-swatch-role">Text, foreground</div></div></div>
|
|
227
|
-
</div>
|
|
228
|
-
|
|
229
|
-
<div class="color-group-label">Text Opacity Scale</div>
|
|
230
|
-
<div class="color-grid">
|
|
231
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,1);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Text Primary</div><div class="color-swatch-hex">rgba(255,255,255,1)</div><div class="color-swatch-role">Headings, labels</div></div></div>
|
|
232
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,0.7);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Text Secondary</div><div class="color-swatch-hex">rgba(255,255,255,0.7)</div><div class="color-swatch-role">Descriptions</div></div></div>
|
|
233
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,0.5);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Text Muted</div><div class="color-swatch-hex">rgba(255,255,255,0.5)</div><div class="color-swatch-role">Hover state, placeholders</div></div></div>
|
|
234
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,0.3);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Text Disabled</div><div class="color-swatch-hex">rgba(255,255,255,0.3)</div><div class="color-swatch-role">Disabled states</div></div></div>
|
|
235
|
-
</div>
|
|
236
|
-
|
|
237
|
-
<div class="color-group-label">Border & Surface</div>
|
|
238
|
-
<div class="color-grid">
|
|
239
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,0.1);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Border Default</div><div class="color-swatch-hex">rgba(255,255,255,0.1)</div><div class="color-swatch-role">Cards, dividers</div></div></div>
|
|
240
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,0.2);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Border Strong</div><div class="color-swatch-hex">rgba(255,255,255,0.2)</div><div class="color-swatch-role">Active, buttons</div></div></div>
|
|
241
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,0.03);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Surface Subtle</div><div class="color-swatch-hex">rgba(255,255,255,0.03)</div><div class="color-swatch-role">Card backgrounds</div></div></div>
|
|
242
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:#1f2228"><div style="width:100%;height:100%;background:rgba(255,255,255,0.08);"></div></div><div class="color-swatch-info"><div class="color-swatch-name">Surface Hover</div><div class="color-swatch-hex">rgba(255,255,255,0.08)</div><div class="color-swatch-role">Hover surfaces</div></div></div>
|
|
243
|
-
</div>
|
|
244
|
-
|
|
245
|
-
<div class="color-group-label">Functional</div>
|
|
246
|
-
<div class="color-grid">
|
|
247
|
-
<div class="color-swatch"><div class="color-swatch-block" style="background:rgb(59,130,246)"></div><div class="color-swatch-info"><div class="color-swatch-name">Focus Ring</div><div class="color-swatch-hex">rgb(59, 130, 246)</div><div class="color-swatch-role">Keyboard focus</div></div></div>
|
|
248
|
-
</div>
|
|
249
|
-
</section>
|
|
250
|
-
|
|
251
|
-
<hr class="section-divider">
|
|
252
|
-
|
|
253
|
-
<section class="section" id="typography">
|
|
254
|
-
<div class="section-label">02 / Typography</div>
|
|
255
|
-
<h2 class="section-title">Typography Scale</h2>
|
|
256
|
-
|
|
257
|
-
<div class="type-sample"><div style="font-family:var(--font-display); font-size:72px; font-weight:300; line-height:1.20; color:var(--text-primary);">Display Hero</div><div class="type-meta">Display Hero -- 320px (shown at 72px) / GeistMono / 300 / 1.50</div></div>
|
|
258
|
-
<div class="type-sample"><div style="font-family:var(--font-body); font-size:30px; font-weight:400; line-height:1.20; color:var(--text-primary);">Section Heading</div><div class="type-meta">Section Heading -- 30px / universalSans / 400 / 1.20</div></div>
|
|
259
|
-
<div class="type-sample"><div style="font-family:var(--font-body); font-size:16px; font-weight:400; line-height:1.50; color:var(--text-secondary);">Body text -- xAI is a company working on building artificial intelligence to accelerate human scientific discovery.</div><div class="type-meta">Body -- 16px / universalSans / 400 / 1.50</div></div>
|
|
260
|
-
<div class="type-sample"><div style="font-family:var(--font-display); font-size:14px; font-weight:400; line-height:1.43; text-transform:uppercase; letter-spacing:1.4px; color:var(--text-primary);">Button Label</div><div class="type-meta">Button -- 14px / GeistMono / 400 / uppercase / 1.4px tracking</div></div>
|
|
261
|
-
<div class="type-sample"><div style="font-family:var(--font-body); font-size:14px; font-weight:400; line-height:1.50; color:var(--text-secondary);">Label / Caption text for supporting information</div><div class="type-meta">Label -- 14px / universalSans / 400 / 1.50</div></div>
|
|
262
|
-
<div class="type-sample"><div style="font-family:var(--font-body); font-size:12px; font-weight:400; line-height:1.50; color:var(--text-muted);">Small meta text, timestamps, footnotes</div><div class="type-meta">Small -- 12px / universalSans / 400 / 1.50</div></div>
|
|
263
|
-
<div class="type-sample"><div style="font-family:var(--font-display); font-size:12px; font-weight:400; line-height:1.50; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted);">MONOSPACE TAG</div><div class="type-meta">Tag -- 12px / GeistMono / uppercase / 1px tracking</div></div>
|
|
264
|
-
</section>
|
|
265
|
-
|
|
266
|
-
<hr class="section-divider">
|
|
267
|
-
|
|
268
|
-
<section class="section" id="buttons">
|
|
269
|
-
<div class="section-label">03 / Buttons</div>
|
|
270
|
-
<h2 class="section-title">Button Variants</h2>
|
|
271
|
-
<div class="button-row">
|
|
272
|
-
<div class="button-item"><a class="btn-primary" href="#">GET STARTED</a><div class="button-label">Primary</div></div>
|
|
273
|
-
<div class="button-item"><a class="btn-ghost" href="#">LEARN MORE</a><div class="button-label">Ghost / Outlined</div></div>
|
|
274
|
-
<div class="button-item"><a class="btn-text-link" href="#">Text Link</a><div class="button-label">Text Link</div></div>
|
|
275
|
-
<div class="button-item"><span class="badge-mono">API v2</span><div class="button-label">Mono Tag</div></div>
|
|
276
|
-
</div>
|
|
277
|
-
</section>
|
|
278
|
-
|
|
279
|
-
<hr class="section-divider">
|
|
280
|
-
|
|
281
|
-
<section class="section" id="cards">
|
|
282
|
-
<div class="section-label">04 / Cards</div>
|
|
283
|
-
<h2 class="section-title">Card Examples</h2>
|
|
284
|
-
<div class="card-grid">
|
|
285
|
-
<div class="card">
|
|
286
|
-
<div class="card-tag">MODEL</div>
|
|
287
|
-
<h3>Grok</h3>
|
|
288
|
-
<p>An AI assistant built to be maximally helpful. Grok has real-time knowledge, a conversational style, and handles complex reasoning tasks.</p>
|
|
289
|
-
</div>
|
|
290
|
-
<div class="card" style="border-color: var(--border-strong);">
|
|
291
|
-
<div class="card-tag">RESEARCH</div>
|
|
292
|
-
<h3>Understanding AI</h3>
|
|
293
|
-
<p>Advancing fundamental research in artificial intelligence. Card shown with stronger border for elevated emphasis.</p>
|
|
294
|
-
</div>
|
|
295
|
-
<div class="card">
|
|
296
|
-
<div class="card-tag">API</div>
|
|
297
|
-
<h3>Developer Access</h3>
|
|
298
|
-
<p>Build with Grok through the xAI API. Enterprise-grade performance with straightforward integration.</p>
|
|
299
|
-
</div>
|
|
300
|
-
</div>
|
|
301
|
-
</section>
|
|
302
|
-
|
|
303
|
-
<hr class="section-divider">
|
|
304
|
-
|
|
305
|
-
<section class="section" id="forms">
|
|
306
|
-
<div class="section-label">05 / Forms</div>
|
|
307
|
-
<h2 class="section-title">Form Elements</h2>
|
|
308
|
-
<div class="form-group"><label class="form-label">API Key Name</label><input class="form-input" type="text" placeholder="my-api-key"><div class="form-state-label">Default</div></div>
|
|
309
|
-
<div class="form-group"><label class="form-label">Endpoint URL</label><input class="form-input form-input--focus" type="text" value="https://api.x.ai/v1/chat"><div class="form-state-label">Focus (blue ring)</div></div>
|
|
310
|
-
<div class="form-group"><label class="form-label">System Prompt</label><textarea class="form-textarea" placeholder="You are a helpful assistant..."></textarea></div>
|
|
311
|
-
</section>
|
|
312
|
-
|
|
313
|
-
<hr class="section-divider">
|
|
314
|
-
|
|
315
|
-
<section class="section" id="spacing">
|
|
316
|
-
<div class="section-label">06 / Spacing</div>
|
|
317
|
-
<h2 class="section-title">Spacing Scale</h2>
|
|
318
|
-
<div class="spacing-row">
|
|
319
|
-
<div class="spacing-item"><div class="spacing-block" style="width:4px"></div><div class="spacing-value">4</div></div>
|
|
320
|
-
<div class="spacing-item"><div class="spacing-block" style="width:8px"></div><div class="spacing-value">8</div></div>
|
|
321
|
-
<div class="spacing-item"><div class="spacing-block" style="width:24px"></div><div class="spacing-value">24</div></div>
|
|
322
|
-
<div class="spacing-item"><div class="spacing-block" style="width:48px"></div><div class="spacing-value">48</div></div>
|
|
323
|
-
</div>
|
|
324
|
-
<p style="font-size:14px; color:var(--text-muted); margin-top:8px;">Base unit: 8px. Scale is deliberately sparse -- large jumps create clear hierarchy through whitespace.</p>
|
|
325
|
-
</section>
|
|
326
|
-
|
|
327
|
-
<hr class="section-divider">
|
|
328
|
-
|
|
329
|
-
<section class="section" id="radius">
|
|
330
|
-
<div class="section-label">07 / Radius</div>
|
|
331
|
-
<h2 class="section-title">Border Radius</h2>
|
|
332
|
-
<div class="radius-row">
|
|
333
|
-
<div class="radius-item"><div class="radius-box" style="border-radius:0px"></div><div class="radius-label">0px</div><div class="radius-context">Primary (buttons, cards)</div></div>
|
|
334
|
-
<div class="radius-item"><div class="radius-box" style="border-radius:4px"></div><div class="radius-label">4px</div><div class="radius-context">Secondary containers</div></div>
|
|
335
|
-
</div>
|
|
336
|
-
</section>
|
|
337
|
-
|
|
338
|
-
<hr class="section-divider">
|
|
339
|
-
|
|
340
|
-
<section class="section" id="elevation">
|
|
341
|
-
<div class="section-label">08 / Elevation</div>
|
|
342
|
-
<h2 class="section-title">Elevation (No Shadows)</h2>
|
|
343
|
-
<div class="elevation-grid">
|
|
344
|
-
<div class="elevation-card" style="border: 1px solid var(--border);"><div class="elevation-label">Level 0: Flat</div><div class="elevation-desc">No border, no shadow</div></div>
|
|
345
|
-
<div class="elevation-card" style="background: var(--surface); border: 1px solid var(--border);"><div class="elevation-label">Level 1: Surface</div><div class="elevation-desc">Subtle bg (0.03 opacity)</div></div>
|
|
346
|
-
<div class="elevation-card" style="border: 1px solid var(--border);"><div class="elevation-label">Level 2: Bordered</div><div class="elevation-desc">0.1 opacity border</div></div>
|
|
347
|
-
<div class="elevation-card" style="border: 1px solid var(--border-strong);"><div class="elevation-label">Level 3: Active</div><div class="elevation-desc">0.2 opacity border</div></div>
|
|
348
|
-
<div class="elevation-card" style="box-shadow: 0 0 0 2px rgb(59,130,246);"><div class="elevation-label">Focus</div><div class="elevation-desc">Blue focus ring</div></div>
|
|
349
|
-
</div>
|
|
350
|
-
<p style="font-size:14px; color:var(--text-muted); margin-top:16px;">xAI uses no box-shadows. Depth is communicated through border opacity and background opacity only.</p>
|
|
351
|
-
</section>
|
|
352
|
-
|
|
353
|
-
<footer class="footer">Maintained by <a href="https://github.com/VoltAgent/voltagent" target="_blank" rel="noopener noreferrer" style="text-decoration:none;"><img src="https://github.com/VoltAgent.png?size=32" alt="VoltAgent" width="14" height="14" style="border-radius:3px;vertical-align:-2px;margin-right:3px;">VoltAgent</a> team</footer>
|
|
354
|
-
|
|
355
|
-
</body>
|
|
356
|
-
</html>
|