-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesign-system.html
More file actions
260 lines (230 loc) · 9.43 KB
/
Copy pathdesign-system.html
File metadata and controls
260 lines (230 loc) · 9.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welfare Platform — Modern Design System</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<style>
:root {
--color-primary: #5B5BD6;
--color-primary-deep: #3B2E7E;
--color-primary-mid: #8A7BFF;
--color-lavender: #EAE9F6;
--color-bg: #F7F7FB;
--color-text: #1F1F2E;
--color-text-secondary: #4D4F66;
--color-text-muted: #8E91AD;
--color-surface: rgba(255,255,255,0.82);
--color-surface-2: #F6F5FF;
--color-border: #E8E8F3;
--color-green: #3D9E6F;
--color-green-tint: #EBF8F1;
--color-warning: #D85C75;
--color-warning-tint: #FFF2F4;
--gradient-brand: linear-gradient(135deg, #5B5BD6 0%, #8A7BFF 100%);
--gradient-hero: radial-gradient(1200px 680px at 82% -8%, rgba(138,123,255,0.28), transparent 58%),
radial-gradient(900px 560px at -10% 18%, rgba(111,102,232,0.18), transparent 62%),
#F7F7FB;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--shadow-xs: 0 2px 8px rgba(41, 35, 101, 0.04);
--shadow-sm: 0 8px 24px rgba(41, 35, 101, 0.06);
--shadow-md: 0 12px 28px rgba(41, 35, 101, 0.08);
--shadow-lg: 0 18px 34px rgba(41, 35, 101, 0.1);
--shadow-brand: 0 12px 28px rgba(91, 91, 214, 0.28);
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
padding: 32px 24px 56px;
font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
color: var(--color-text);
background: var(--gradient-hero);
-webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1060px; margin: 0 auto; }
h1 {
margin: 0;
font-size: clamp(44px, 6vw, 62px);
line-height: 1.06;
letter-spacing: -0.02em;
font-weight: 700;
}
.intro {
margin-top: 10px;
max-width: 760px;
font-size: 16px;
color: var(--color-text-secondary);
}
section {
margin-top: 28px;
padding: 24px;
border-radius: var(--radius-xl);
background: var(--color-surface);
border: 1px solid rgba(255,255,255,0.7);
box-shadow: var(--shadow-sm);
backdrop-filter: blur(12px);
}
section h2 {
margin: 0 0 14px;
font-size: 30px;
line-height: 1.15;
letter-spacing: -0.01em;
font-weight: 700;
}
.muted { color: var(--color-text-muted); font-size: 13px; }
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 12px;
}
.swatch {
border-radius: var(--radius-lg);
overflow: hidden;
border: 1px solid var(--color-border);
box-shadow: var(--shadow-xs);
background: #fff;
}
.block { height: 66px; }
.label { padding: 8px 10px 2px; font-size: 12px; font-weight: 700; color: var(--color-text-secondary); }
.value { padding: 0 10px 10px; font-size: 11px; color: var(--color-text-muted); font-family: ui-monospace, monospace; }
.tokens {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 14px;
}
.token-card {
border-radius: var(--radius-lg);
border: 1px solid var(--color-border);
background: #fff;
padding: 14px;
box-shadow: var(--shadow-xs);
}
.token-card h3 { margin: 0 0 8px; font-size: 14px; }
.token-card p { margin: 0; font-size: 13px; color: var(--color-text-secondary); }
.component-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
}
.btn {
border: 0;
border-radius: var(--radius-md);
padding: 10px 16px;
font: 700 13px/1 "Plus Jakarta Sans", sans-serif;
cursor: pointer;
}
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-secondary { background: var(--color-lavender); color: var(--color-text); }
.chip {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: var(--radius-md);
background: #ECEBFF;
color: var(--color-primary);
padding: 6px 10px;
font-size: 12px;
font-weight: 700;
}
.glass {
border-radius: var(--radius-xl);
border: 1px solid rgba(255,255,255,0.7);
background: var(--color-surface);
box-shadow: var(--shadow-sm);
backdrop-filter: blur(12px);
padding: 18px;
}
.hero-mock {
margin-top: 12px;
border-radius: var(--radius-xl);
background: linear-gradient(165deg, #F2F0FF 0%, #ECEBFF 55%, #E5E3FF 100%);
padding: 22px;
box-shadow: var(--shadow-sm);
min-height: 190px;
position: relative;
overflow: hidden;
}
.orb {
position: absolute;
border-radius: 50%;
filter: blur(1px);
background: radial-gradient(circle at 30% 30%, #A89BFF, #5B5BD6);
box-shadow: 0 20px 35px rgba(91,91,214,0.22);
}
.orb.a { width: 120px; height: 120px; right: 36px; bottom: -18px; }
.orb.b { width: 72px; height: 72px; right: 148px; bottom: 24px; opacity: 0.65; }
.guide { margin-top: 8px; font-size: 13px; color: var(--color-text-secondary); }
</style>
</head>
<body>
<div class="wrap">
<h1>Welfare Platform<br />Modern Visual System</h1>
<p class="intro">
Soft premium fintech direction: lavender–indigo gradients, frosted glass surfaces, spacious layout rhythm, and minimal but clear typography hierarchy for a calm and trustworthy product experience.
</p>
<section>
<h2>Color & Gradients</h2>
<div class="grid">
<div class="swatch"><div class="block" style="background:#5B5BD6"></div><div class="label">Primary Indigo</div><div class="value">#5B5BD6</div></div>
<div class="swatch"><div class="block" style="background:#3B2E7E"></div><div class="label">Deep Purple</div><div class="value">#3B2E7E</div></div>
<div class="swatch"><div class="block" style="background:#8A7BFF"></div><div class="label">Indigo Mid</div><div class="value">#8A7BFF</div></div>
<div class="swatch"><div class="block" style="background:#EAE9F6"></div><div class="label">Lavender</div><div class="value">#EAE9F6</div></div>
<div class="swatch"><div class="block" style="background:#F7F7FB"></div><div class="label">Off-white BG</div><div class="value">#F7F7FB</div></div>
<div class="swatch"><div class="block" style="background:#1F1F2E"></div><div class="label">Text Primary</div><div class="value">#1F1F2E</div></div>
</div>
<div class="hero-mock">
<div style="font-size:12px; color:#6d6f87; text-transform:uppercase; letter-spacing:.08em;">Brand Gradient</div>
<div style="margin-top:6px; font-size:20px; font-weight:700; color:#1f1f2e;">linear-gradient(135deg, #5B5BD6 0%, #8A7BFF 100%)</div>
<div class="orb a"></div>
<div class="orb b"></div>
</div>
</section>
<section>
<h2>Typography & Spacing</h2>
<div class="tokens">
<div class="token-card"><h3>Hero Heading</h3><p>48–64px, weight 700, tight tracking, generous top/bottom space.</p></div>
<div class="token-card"><h3>Section Title</h3><p>28–36px, weight 700, short and scannable.</p></div>
<div class="token-card"><h3>Body Copy</h3><p>14–16px, muted secondary text, avoid dense paragraphs.</p></div>
<div class="token-card"><h3>Rhythm</h3><p>80–120px spacing between major sections; roomy cards and gutters.</p></div>
</div>
<p class="guide">Typeface: Plus Jakarta Sans for modern fintech readability and cleaner hierarchy.</p>
</section>
<section>
<h2>Radius & Depth</h2>
<div class="tokens">
<div class="token-card"><h3>Radius System</h3><p>4 / 8 / 12 / 16 only. Cards use 16, interactive controls use 8.</p></div>
<div class="token-card"><h3>Shadow System</h3><p>Soft diffuse shadows: 0 8px 24px rgba(41,35,101,0.06) and up.</p></div>
<div class="token-card"><h3>Glass Panel</h3><p>rgba(255,255,255,0.82) + subtle border + 12px blur.</p></div>
</div>
</section>
<section>
<h2>Component Style</h2>
<div class="component-row" style="margin-bottom:12px;">
<button class="btn btn-primary">Primary Action</button>
<button class="btn btn-secondary">Secondary Action</button>
<span class="chip">Recommended</span>
</div>
<div class="glass">
<strong style="display:block; margin-bottom:6px;">Frosted Feature Block</strong>
<span style="color:var(--color-text-secondary); font-size:14px;">Use subtle tint shifts and airy padding to separate content without heavy borders.</span>
</div>
</section>
<section>
<h2>Usage Rules</h2>
<div class="tokens">
<div class="token-card"><h3>Do</h3><p>Use gradients for hero backgrounds, button emphasis, and highlighted states.</p></div>
<div class="token-card"><h3>Do</h3><p>Pair data blocks with soft tone differences (lavender/white) for scannability.</p></div>
<div class="token-card"><h3>Don't</h3><p>Avoid flat corporate blues, harsh black shadows, and dense dashboard clutter.</p></div>
</div>
</section>
</div>
</body>
</html>