@digiko-npm/designsystem 0.9.41 → 0.9.43
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/dist/designsystem.css +288 -109
- package/dist/designsystem.min.css +2 -2
- package/package.json +7 -2
- package/src/base/typography.css +1 -1
- package/src/components/admin-layout.css +3 -3
- package/src/components/avatar.css +1 -1
- package/src/components/badge.css +1 -1
- package/src/components/bottom-sheet.css +1 -1
- package/src/components/button.css +2 -2
- package/src/components/card.css +2 -2
- package/src/components/chip.css +1 -1
- package/src/components/combobox.css +3 -3
- package/src/components/command.css +3 -3
- package/src/components/custom-select.css +3 -3
- package/src/components/datepicker.css +5 -5
- package/src/components/description-list.css +1 -1
- package/src/components/drop-zone.css +1 -1
- package/src/components/dropdown.css +3 -3
- package/src/components/gallery.css +3 -3
- package/src/components/kbd.css +1 -1
- package/src/components/nav.css +1 -1
- package/src/components/popover.css +1 -1
- package/src/components/progress.css +1 -1
- package/src/components/prose.css +149 -2
- package/src/components/search.css +4 -4
- package/src/components/segmented-control.css +2 -2
- package/src/components/skeleton.css +1 -1
- package/src/components/slider.css +1 -1
- package/src/components/stat-card.css +1 -1
- package/src/components/table.css +1 -1
- package/src/components/tabs.css +4 -4
- package/src/components/tag.css +7 -7
- package/src/components/timeline.css +1 -1
- package/src/components/toggle.css +23 -22
- package/src/components/toolbar.css +2 -2
- package/src/tokens/colors.css +35 -13
- package/src/tokens/typography.css +9 -0
- package/src/utilities/states.css +6 -6
- package/src/utilities/text.css +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digiko-npm/designsystem",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.43",
|
|
4
4
|
"description": "Design system — installable, extensible, indestructible.",
|
|
5
5
|
"main": "dist/designsystem.css",
|
|
6
6
|
"style": "dist/designsystem.css",
|
|
@@ -80,8 +80,13 @@
|
|
|
80
80
|
"validate": "node scripts/validate.js",
|
|
81
81
|
"docs": "node scripts/generate-docs.js",
|
|
82
82
|
"lint": "stylelint 'src/**/*.css'",
|
|
83
|
-
"dev": "node scripts/build.js --watch &
|
|
83
|
+
"dev": "node scripts/build.js --watch & npm run dev --workspace=docs",
|
|
84
|
+
"dev:legacy": "node scripts/build.js --watch & node scripts/generate-docs.js && live-server --host=localhost --port=3000 --open=examples/ --watch=dist/,examples/ --wait=200 --no-browser"
|
|
84
85
|
},
|
|
86
|
+
"workspaces": [
|
|
87
|
+
"packages/*",
|
|
88
|
+
"docs"
|
|
89
|
+
],
|
|
85
90
|
"keywords": [
|
|
86
91
|
"design-system",
|
|
87
92
|
"css",
|
package/src/base/typography.css
CHANGED
|
@@ -94,7 +94,7 @@ strong, b {
|
|
|
94
94
|
code, kbd, samp {
|
|
95
95
|
font-family: var(--ds-font-mono);
|
|
96
96
|
font-size: 0.9em;
|
|
97
|
-
background-color: var(--ds-color-
|
|
97
|
+
background-color: var(--ds-color-surface-elevated);
|
|
98
98
|
padding: 2px 6px;
|
|
99
99
|
border-radius: var(--ds-radius-sm);
|
|
100
100
|
}
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
.ds-admin__sidebar-badge {
|
|
125
125
|
border-radius: var(--ds-radius-md);
|
|
126
126
|
border: 1px solid var(--ds-color-border);
|
|
127
|
-
background-color: var(--ds-color-
|
|
127
|
+
background-color: var(--ds-color-surface-muted);
|
|
128
128
|
padding: var(--ds-space-0-5) var(--ds-space-1-5);
|
|
129
129
|
font-size: var(--ds-text-xs);
|
|
130
130
|
font-weight: var(--ds-weight-medium);
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
|
|
163
163
|
.ds-admin__nav-item--active,
|
|
164
164
|
.ds-admin__nav-item--active:hover {
|
|
165
|
-
background-color: var(--ds-color-
|
|
165
|
+
background-color: var(--ds-color-surface-elevated);
|
|
166
166
|
color: var(--ds-color-text);
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.ds-admin__subnav-item--active {
|
|
215
|
-
background-color: var(--ds-color-
|
|
215
|
+
background-color: var(--ds-color-surface-elevated);
|
|
216
216
|
color: var(--ds-color-text);
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
width: var(--ds-size-3);
|
|
11
11
|
height: var(--ds-size-3);
|
|
12
12
|
border-radius: var(--ds-radius-full);
|
|
13
|
-
background-color: var(--ds-color-
|
|
13
|
+
background-color: var(--ds-color-surface-muted);
|
|
14
14
|
color: var(--ds-color-text-secondary);
|
|
15
15
|
font-family: var(--ds-font-sans);
|
|
16
16
|
font-size: var(--ds-text-sm);
|
package/src/components/badge.css
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
border-radius: var(--ds-radius-full);
|
|
15
15
|
white-space: nowrap;
|
|
16
16
|
border: 1px solid var(--ds-color-border);
|
|
17
|
-
background-color: var(--ds-color-
|
|
17
|
+
background-color: var(--ds-color-surface-muted);
|
|
18
18
|
color: var(--ds-color-text-secondary);
|
|
19
19
|
|
|
20
20
|
/* Semantic variants — subtle bg + bright text + subtle border */
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
/* --- Variants --- */
|
|
52
52
|
|
|
53
53
|
&--secondary {
|
|
54
|
-
background-color: var(--ds-color-
|
|
54
|
+
background-color: var(--ds-color-surface-muted);
|
|
55
55
|
color: var(--ds-color-text);
|
|
56
56
|
border-color: var(--ds-color-border);
|
|
57
57
|
|
|
58
58
|
&:hover {
|
|
59
59
|
border-color: var(--ds-color-border-hover);
|
|
60
|
-
background-color: var(--ds-color-
|
|
60
|
+
background-color: var(--ds-color-surface-muted-hover);
|
|
61
61
|
opacity: 1;
|
|
62
62
|
}
|
|
63
63
|
}
|
package/src/components/card.css
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
/* Elevated card — visible shadow */
|
|
48
48
|
&--elevated {
|
|
49
|
-
background-color: var(--ds-color-
|
|
49
|
+
background-color: var(--ds-color-surface-muted);
|
|
50
50
|
box-shadow: var(--ds-shadow-lg);
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
width: 100%;
|
|
92
92
|
aspect-ratio: 16/10;
|
|
93
93
|
object-fit: cover;
|
|
94
|
-
background-color: var(--ds-color-
|
|
94
|
+
background-color: var(--ds-color-surface-muted);
|
|
95
95
|
|
|
96
96
|
&--square { aspect-ratio: 1; }
|
|
97
97
|
&--video { aspect-ratio: 16/9; }
|
package/src/components/chip.css
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
font-size: var(--ds-text-xs);
|
|
30
30
|
font-family: inherit;
|
|
31
31
|
color: var(--ds-color-text-secondary);
|
|
32
|
-
background: var(--ds-color-
|
|
32
|
+
background: var(--ds-color-surface-muted);
|
|
33
33
|
border: 1px solid var(--ds-color-border);
|
|
34
34
|
border-radius: var(--ds-radius-full);
|
|
35
35
|
white-space: nowrap;
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
max-height: 16rem;
|
|
150
150
|
overflow-y: auto;
|
|
151
151
|
overscroll-behavior: contain;
|
|
152
|
-
background-color: var(--ds-color-
|
|
152
|
+
background-color: var(--ds-color-surface-muted);
|
|
153
153
|
border: 1px solid var(--ds-color-border);
|
|
154
154
|
border-radius: var(--ds-radius-xl);
|
|
155
155
|
box-shadow: var(--ds-shadow-lg);
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
|
|
225
225
|
.ds-combobox__option--active,
|
|
226
226
|
.ds-combobox__option--active:hover {
|
|
227
|
-
background-color: var(--ds-color-
|
|
227
|
+
background-color: var(--ds-color-surface-elevated);
|
|
228
228
|
color: var(--ds-color-text);
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
font-family: var(--ds-font-sans);
|
|
325
325
|
line-height: var(--ds-leading-none);
|
|
326
326
|
border-radius: var(--ds-radius-full);
|
|
327
|
-
background-color: var(--ds-color-
|
|
327
|
+
background-color: var(--ds-color-surface-muted);
|
|
328
328
|
border: 1px solid var(--ds-color-border);
|
|
329
329
|
color: var(--ds-color-text-secondary);
|
|
330
330
|
white-space: nowrap;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
/* Content panel */
|
|
70
70
|
&__content {
|
|
71
|
-
background-color: var(--ds-color-
|
|
71
|
+
background-color: var(--ds-color-surface-muted);
|
|
72
72
|
border: 1px solid var(--ds-color-border);
|
|
73
73
|
border-radius: var(--ds-radius-xl);
|
|
74
74
|
box-shadow: var(--ds-shadow-lg);
|
|
@@ -148,13 +148,13 @@
|
|
|
148
148
|
|
|
149
149
|
/* Item hover & active states */
|
|
150
150
|
&:hover {
|
|
151
|
-
background-color: var(--ds-color-
|
|
151
|
+
background-color: var(--ds-color-surface-muted-hover);
|
|
152
152
|
color: var(--ds-color-text);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
&--active,
|
|
156
156
|
&--active:hover {
|
|
157
|
-
background-color: var(--ds-color-
|
|
157
|
+
background-color: var(--ds-color-surface-elevated);
|
|
158
158
|
color: var(--ds-color-text);
|
|
159
159
|
|
|
160
160
|
& .ds-command__item-icon,
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
.ds-custom-select__panel {
|
|
124
124
|
position: fixed;
|
|
125
125
|
z-index: var(--ds-z-dropdown);
|
|
126
|
-
background-color: var(--ds-color-
|
|
126
|
+
background-color: var(--ds-color-surface-muted);
|
|
127
127
|
border: 1px solid var(--ds-color-border);
|
|
128
128
|
border-radius: var(--ds-radius-xl);
|
|
129
129
|
box-shadow: var(--ds-shadow-lg);
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
|
|
223
223
|
.ds-custom-select__option--selected,
|
|
224
224
|
.ds-custom-select__option--selected:hover {
|
|
225
|
-
background-color: var(--ds-color-
|
|
225
|
+
background-color: var(--ds-color-surface-elevated);
|
|
226
226
|
color: var(--ds-color-text);
|
|
227
227
|
font-weight: var(--ds-weight-medium);
|
|
228
228
|
}
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
font-family: var(--ds-font-sans);
|
|
366
366
|
line-height: var(--ds-leading-none);
|
|
367
367
|
border-radius: var(--ds-radius-full);
|
|
368
|
-
background-color: var(--ds-color-
|
|
368
|
+
background-color: var(--ds-color-surface-muted);
|
|
369
369
|
border: 1px solid var(--ds-color-border);
|
|
370
370
|
color: var(--ds-color-text-secondary);
|
|
371
371
|
white-space: nowrap;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
z-index: var(--ds-z-dropdown);
|
|
68
68
|
inset-block-start: calc(100% + var(--ds-offset-sm));
|
|
69
69
|
inset-inline-start: 0;
|
|
70
|
-
background-color: var(--ds-color-
|
|
70
|
+
background-color: var(--ds-color-surface-muted);
|
|
71
71
|
border: 1px solid var(--ds-color-border);
|
|
72
72
|
border-radius: var(--ds-radius-xl);
|
|
73
73
|
box-shadow: var(--ds-shadow-lg);
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
transition: all var(--ds-duration-fast) var(--ds-ease-default);
|
|
120
120
|
|
|
121
121
|
&:hover {
|
|
122
|
-
background-color: var(--ds-color-
|
|
122
|
+
background-color: var(--ds-color-surface-muted-hover);
|
|
123
123
|
color: var(--ds-color-text);
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
user-select: none;
|
|
171
171
|
|
|
172
172
|
&:hover {
|
|
173
|
-
background-color: var(--ds-color-
|
|
173
|
+
background-color: var(--ds-color-surface-muted-hover);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
&:focus-visible {
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
transition: all var(--ds-duration-fast) var(--ds-ease-default);
|
|
225
225
|
|
|
226
226
|
&:hover {
|
|
227
|
-
background-color: var(--ds-color-
|
|
227
|
+
background-color: var(--ds-color-surface-muted-hover);
|
|
228
228
|
color: var(--ds-color-text);
|
|
229
229
|
border-color: var(--ds-color-border-hover);
|
|
230
230
|
}
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
flex-shrink: 0;
|
|
254
254
|
|
|
255
255
|
&:hover {
|
|
256
|
-
background-color: var(--ds-color-
|
|
256
|
+
background-color: var(--ds-color-surface-muted-hover);
|
|
257
257
|
color: var(--ds-color-text);
|
|
258
258
|
}
|
|
259
259
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
width: 3rem;
|
|
72
72
|
height: 3rem;
|
|
73
73
|
border-radius: var(--ds-radius-xl);
|
|
74
|
-
background-color: var(--ds-color-
|
|
74
|
+
background-color: var(--ds-color-surface-muted);
|
|
75
75
|
color: var(--ds-color-text-secondary);
|
|
76
76
|
transition: color var(--ds-duration-fast) var(--ds-ease-default);
|
|
77
77
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
padding-block: var(--ds-space-1-5);
|
|
43
|
-
background-color: var(--ds-color-
|
|
43
|
+
background-color: var(--ds-color-surface-muted);
|
|
44
44
|
border: 1px solid var(--ds-color-border);
|
|
45
45
|
border-radius: var(--ds-radius-xl);
|
|
46
46
|
box-shadow: var(--ds-shadow-lg);
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
background-color var(--ds-duration-fast) var(--ds-ease-default);
|
|
104
104
|
|
|
105
105
|
&:hover {
|
|
106
|
-
background-color: var(--ds-color-
|
|
106
|
+
background-color: var(--ds-color-surface-muted-hover);
|
|
107
107
|
color: var(--ds-color-text);
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
|
|
116
116
|
&--active,
|
|
117
117
|
&--active:hover {
|
|
118
|
-
background-color: var(--ds-color-
|
|
118
|
+
background-color: var(--ds-color-surface-elevated);
|
|
119
119
|
color: var(--ds-color-text);
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
position: relative;
|
|
52
52
|
overflow: hidden;
|
|
53
53
|
border-radius: var(--ds-radius-xl);
|
|
54
|
-
background-color: var(--ds-color-
|
|
54
|
+
background-color: var(--ds-color-surface-muted);
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
|
|
57
57
|
& img {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
border-radius: var(--ds-radius-md);
|
|
86
86
|
overflow: hidden;
|
|
87
87
|
cursor: pointer;
|
|
88
|
-
background: var(--ds-color-
|
|
88
|
+
background: var(--ds-color-surface-muted);
|
|
89
89
|
transition:
|
|
90
90
|
border-color var(--ds-duration-fast) var(--ds-ease-default),
|
|
91
91
|
opacity var(--ds-duration-fast) var(--ds-ease-default);
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
height: 4rem;
|
|
123
123
|
border: 1px solid var(--ds-color-border);
|
|
124
124
|
border-radius: var(--ds-radius-md);
|
|
125
|
-
background-color: var(--ds-color-
|
|
125
|
+
background-color: var(--ds-color-surface-muted);
|
|
126
126
|
color: var(--ds-color-text-secondary);
|
|
127
127
|
font-size: var(--ds-text-sm);
|
|
128
128
|
font-weight: var(--ds-weight-medium);
|
package/src/components/kbd.css
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
padding: var(--ds-space-0-5) var(--ds-space-1-5);
|
|
26
26
|
font-family: var(--ds-font-mono);
|
|
27
27
|
font-size: var(--ds-text-xs);
|
|
28
|
-
background-color: var(--ds-color-
|
|
28
|
+
background-color: var(--ds-color-surface-muted);
|
|
29
29
|
border: 1px solid var(--ds-color-border);
|
|
30
30
|
border-block-end-width: 2px;
|
|
31
31
|
border-radius: var(--ds-radius-sm);
|
package/src/components/nav.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
&__content {
|
|
29
29
|
position: absolute;
|
|
30
30
|
z-index: var(--ds-z-dropdown);
|
|
31
|
-
background-color: var(--ds-color-
|
|
31
|
+
background-color: var(--ds-color-surface-muted);
|
|
32
32
|
border: 1px solid var(--ds-color-border);
|
|
33
33
|
border-radius: var(--ds-radius-xl);
|
|
34
34
|
box-shadow: var(--ds-shadow-lg);
|
package/src/components/prose.css
CHANGED
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
.ds-prose-block code {
|
|
61
61
|
font-family: var(--ds-font-mono);
|
|
62
62
|
font-size: var(--ds-text-sm);
|
|
63
|
-
background-color: var(--ds-color-
|
|
63
|
+
background-color: var(--ds-color-surface-muted);
|
|
64
64
|
padding: 0.125em 0.375em;
|
|
65
65
|
border-radius: var(--ds-radius-sm);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.ds-prose-block pre {
|
|
69
|
-
background-color: var(--ds-color-
|
|
69
|
+
background-color: var(--ds-color-surface-muted);
|
|
70
70
|
padding: var(--ds-space-4);
|
|
71
71
|
border-radius: var(--ds-radius-lg);
|
|
72
72
|
overflow-x: auto;
|
|
@@ -117,3 +117,150 @@
|
|
|
117
117
|
border-radius: var(--ds-radius-lg);
|
|
118
118
|
margin-block-end: 1em;
|
|
119
119
|
}
|
|
120
|
+
|
|
121
|
+
/* ==========================================================================
|
|
122
|
+
Editorial long-form typography (promoted from esys blog — 12 Apr 2026)
|
|
123
|
+
|
|
124
|
+
Three classes that together make an article page look like a magazine
|
|
125
|
+
instead of a dashboard. They fill the gap between .ds-hero-title (too
|
|
126
|
+
big for articles) and .ds-prose-block (whose h2 is 4xl — too heavy for
|
|
127
|
+
reading rhythm).
|
|
128
|
+
|
|
129
|
+
Usage:
|
|
130
|
+
<h1 class="ds-editorial-title">The title of the article</h1>
|
|
131
|
+
<p class="ds-editorial-lede">The lead paragraph, larger than body.</p>
|
|
132
|
+
<div class="ds-editorial-body">
|
|
133
|
+
<h2>Section</h2>
|
|
134
|
+
<p>Body text at 17px, line-height loose, with proper h2/h3 scale.</p>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
Designed for: blog posts, long-form articles, editorial landing, magazine
|
|
138
|
+
layouts. NOT for admin UI, dashboards, or functional copy — use
|
|
139
|
+
.ds-heading-ui / .ds-section-title / .ds-prose-block for those.
|
|
140
|
+
========================================================================== */
|
|
141
|
+
|
|
142
|
+
.ds-editorial-title {
|
|
143
|
+
font-family: var(--ds-font-display);
|
|
144
|
+
font-size: var(--ds-text-editorial-title);
|
|
145
|
+
font-weight: var(--ds-font-display-weight);
|
|
146
|
+
line-height: var(--ds-leading-tight);
|
|
147
|
+
letter-spacing: var(--ds-tracking-tight);
|
|
148
|
+
color: var(--ds-color-text);
|
|
149
|
+
margin: 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.ds-editorial-lede {
|
|
153
|
+
font-family: var(--ds-font-sans);
|
|
154
|
+
font-size: var(--ds-text-editorial-lede);
|
|
155
|
+
line-height: var(--ds-leading-normal);
|
|
156
|
+
color: var(--ds-color-text-secondary);
|
|
157
|
+
margin: 0;
|
|
158
|
+
max-width: 600px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.ds-editorial-body {
|
|
162
|
+
color: var(--ds-color-text);
|
|
163
|
+
font-size: var(--ds-text-editorial-body);
|
|
164
|
+
line-height: var(--ds-leading-loose);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.ds-editorial-body > * + * {
|
|
168
|
+
margin-block-start: var(--ds-space-4);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.ds-editorial-body h2 {
|
|
172
|
+
font-family: var(--ds-font-display);
|
|
173
|
+
font-size: var(--ds-text-2xl);
|
|
174
|
+
font-weight: var(--ds-font-display-weight);
|
|
175
|
+
line-height: var(--ds-leading-tight);
|
|
176
|
+
letter-spacing: var(--ds-tracking-tight);
|
|
177
|
+
color: var(--ds-color-text);
|
|
178
|
+
margin-block-start: var(--ds-space-8);
|
|
179
|
+
margin-block-end: 0;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.ds-editorial-body h3 {
|
|
183
|
+
font-family: var(--ds-font-display);
|
|
184
|
+
font-size: var(--ds-text-xl);
|
|
185
|
+
font-weight: var(--ds-font-display-weight);
|
|
186
|
+
line-height: var(--ds-leading-snug);
|
|
187
|
+
letter-spacing: var(--ds-tracking-tight);
|
|
188
|
+
color: var(--ds-color-text);
|
|
189
|
+
margin-block-start: var(--ds-space-6);
|
|
190
|
+
margin-block-end: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.ds-editorial-body h4 {
|
|
194
|
+
font-family: var(--ds-font-display);
|
|
195
|
+
font-size: var(--ds-text-lg);
|
|
196
|
+
font-weight: var(--ds-font-display-weight);
|
|
197
|
+
color: var(--ds-color-text);
|
|
198
|
+
margin-block-start: var(--ds-space-5);
|
|
199
|
+
margin-block-end: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.ds-editorial-body a {
|
|
203
|
+
color: var(--ds-color-interactive);
|
|
204
|
+
text-decoration: underline;
|
|
205
|
+
text-underline-offset: 2px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ds-editorial-body a:hover {
|
|
209
|
+
text-decoration: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ds-editorial-body strong {
|
|
213
|
+
color: var(--ds-color-text);
|
|
214
|
+
font-weight: var(--ds-weight-semibold);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ds-editorial-body ul,
|
|
218
|
+
.ds-editorial-body ol {
|
|
219
|
+
padding-inline-start: var(--ds-space-6);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.ds-editorial-body ul { list-style-type: disc; }
|
|
223
|
+
.ds-editorial-body ol { list-style-type: decimal; }
|
|
224
|
+
|
|
225
|
+
.ds-editorial-body li + li {
|
|
226
|
+
margin-block-start: var(--ds-space-2);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.ds-editorial-body blockquote {
|
|
230
|
+
border-inline-start: 3px solid var(--ds-color-border-hover);
|
|
231
|
+
padding-inline-start: var(--ds-space-4);
|
|
232
|
+
color: var(--ds-color-text-secondary);
|
|
233
|
+
font-style: italic;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.ds-editorial-body img {
|
|
237
|
+
max-width: 100%;
|
|
238
|
+
height: auto;
|
|
239
|
+
border-radius: var(--ds-radius-md);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.ds-editorial-body hr {
|
|
243
|
+
border: none;
|
|
244
|
+
border-block-start: 1px solid var(--ds-color-border);
|
|
245
|
+
margin-block: var(--ds-space-6);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.ds-editorial-body pre {
|
|
249
|
+
background: var(--ds-color-surface-muted);
|
|
250
|
+
padding: var(--ds-space-4);
|
|
251
|
+
border-radius: var(--ds-radius-md);
|
|
252
|
+
overflow-x: auto;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ds-editorial-body code {
|
|
256
|
+
background: var(--ds-color-surface-muted);
|
|
257
|
+
padding: 0.125em 0.375em;
|
|
258
|
+
border-radius: var(--ds-radius-sm);
|
|
259
|
+
font-family: var(--ds-font-mono);
|
|
260
|
+
font-size: 0.9em;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.ds-editorial-body pre code {
|
|
264
|
+
background: transparent;
|
|
265
|
+
padding: 0;
|
|
266
|
+
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
font-family: inherit;
|
|
93
93
|
line-height: 1;
|
|
94
94
|
color: var(--ds-color-text-tertiary);
|
|
95
|
-
background: var(--ds-color-
|
|
95
|
+
background: var(--ds-color-surface-muted);
|
|
96
96
|
border: 1px solid var(--ds-color-border);
|
|
97
97
|
border-radius: var(--ds-radius-sm);
|
|
98
98
|
pointer-events: none;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
position: fixed;
|
|
130
130
|
max-height: min(22rem, calc(100dvh - 5rem));
|
|
131
131
|
overflow-y: auto;
|
|
132
|
-
background: var(--ds-color-
|
|
132
|
+
background: var(--ds-color-surface-muted);
|
|
133
133
|
border: 1px solid var(--ds-color-border);
|
|
134
134
|
border-radius: var(--ds-radius-lg);
|
|
135
135
|
box-shadow: var(--ds-shadow-lg);
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
|
|
180
180
|
.ds-search__result--active,
|
|
181
181
|
.ds-search__result--active:hover {
|
|
182
|
-
background: var(--ds-color-
|
|
182
|
+
background: var(--ds-color-surface-elevated);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
.ds-search__result:focus-visible {
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
border-inline-start: none;
|
|
305
305
|
border-inline-end: none;
|
|
306
306
|
max-height: calc(100dvh - var(--ds-search-bar-height, 3.5rem));
|
|
307
|
-
background: var(--ds-color-
|
|
307
|
+
background: var(--ds-color-surface-muted);
|
|
308
308
|
backdrop-filter: blur(var(--ds-blur-lg)) saturate(1.5);
|
|
309
309
|
-webkit-backdrop-filter: blur(var(--ds-blur-lg)) saturate(1.5);
|
|
310
310
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
align-items: center;
|
|
25
25
|
gap: var(--ds-space-0-5);
|
|
26
26
|
padding: var(--ds-space-0-5);
|
|
27
|
-
background-color: var(--ds-color-
|
|
27
|
+
background-color: var(--ds-color-surface-muted);
|
|
28
28
|
border-radius: var(--ds-radius-lg);
|
|
29
29
|
border: 1px solid var(--ds-color-border-subtle);
|
|
30
30
|
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
&--active,
|
|
61
61
|
&--active:hover {
|
|
62
|
-
background-color: var(--ds-color-
|
|
62
|
+
background-color: var(--ds-color-surface-elevated);
|
|
63
63
|
color: var(--ds-color-text);
|
|
64
64
|
box-shadow: var(--ds-shadow-sm);
|
|
65
65
|
}
|
package/src/components/table.css
CHANGED
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
inset-inline-end: var(--ds-space-4);
|
|
208
208
|
height: 0.75rem;
|
|
209
209
|
transform: translateY(-50%);
|
|
210
|
-
background: var(--ds-color-
|
|
210
|
+
background: var(--ds-color-surface-muted);
|
|
211
211
|
border-radius: var(--ds-radius-sm);
|
|
212
212
|
animation: ds-table-skeleton-pulse 1.5s ease-in-out infinite;
|
|
213
213
|
}
|
package/src/components/tabs.css
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
&--pills {
|
|
23
23
|
border-block-end: none;
|
|
24
24
|
gap: var(--ds-space-1);
|
|
25
|
-
background-color: var(--ds-color-
|
|
25
|
+
background-color: var(--ds-color-surface-muted);
|
|
26
26
|
border-radius: var(--ds-radius-lg);
|
|
27
27
|
padding: var(--ds-space-1);
|
|
28
28
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
&--active,
|
|
42
42
|
&--active:hover {
|
|
43
|
-
background-color: var(--ds-color-
|
|
43
|
+
background-color: var(--ds-color-surface-elevated);
|
|
44
44
|
color: var(--ds-color-text);
|
|
45
45
|
box-shadow: var(--ds-shadow-sm);
|
|
46
46
|
border-block-end: none;
|
|
@@ -197,14 +197,14 @@
|
|
|
197
197
|
font-weight: var(--ds-weight-medium);
|
|
198
198
|
line-height: var(--ds-leading-snug);
|
|
199
199
|
color: var(--ds-color-text-tertiary);
|
|
200
|
-
background-color: var(--ds-color-
|
|
200
|
+
background-color: var(--ds-color-surface-muted);
|
|
201
201
|
border-radius: var(--ds-radius-full);
|
|
202
202
|
min-width: 1.25rem;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
&--active &__count {
|
|
206
206
|
color: var(--ds-color-text-secondary);
|
|
207
|
-
background-color: var(--ds-color-
|
|
207
|
+
background-color: var(--ds-color-surface-elevated);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
|