@solid-design-system/styles 1.0.0-next.1

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE.md +10 -0
  3. package/README.md +8 -0
  4. package/cdn/modules/chip.css +1 -0
  5. package/cdn/modules/container.css +1 -0
  6. package/cdn/modules/copyright.css +1 -0
  7. package/cdn/modules/display.css +1 -0
  8. package/cdn/modules/flag.css +1 -0
  9. package/cdn/modules/footnotes.css +1 -0
  10. package/cdn/modules/headline.css +1 -0
  11. package/cdn/modules/hidden-links.css +1 -0
  12. package/cdn/modules/interactive.css +1 -0
  13. package/cdn/modules/leadtext.css +1 -0
  14. package/cdn/modules/list.css +1 -0
  15. package/cdn/modules/mark.css +1 -0
  16. package/cdn/modules/media.css +1 -0
  17. package/cdn/modules/meta.css +1 -0
  18. package/cdn/modules/paragraph.css +1 -0
  19. package/cdn/modules/prose.css +1 -0
  20. package/cdn/modules/table-cell.css +1 -0
  21. package/cdn/modules/table.css +1 -0
  22. package/cdn/solid-styles.css +1 -0
  23. package/cdn-versioned/modules/chip.css +1 -0
  24. package/cdn-versioned/modules/container.css +1 -0
  25. package/cdn-versioned/modules/copyright.css +1 -0
  26. package/cdn-versioned/modules/display.css +1 -0
  27. package/cdn-versioned/modules/flag.css +1 -0
  28. package/cdn-versioned/modules/footnotes.css +1 -0
  29. package/cdn-versioned/modules/headline.css +1 -0
  30. package/cdn-versioned/modules/hidden-links.css +1 -0
  31. package/cdn-versioned/modules/interactive.css +1 -0
  32. package/cdn-versioned/modules/leadtext.css +1 -0
  33. package/cdn-versioned/modules/list.css +1 -0
  34. package/cdn-versioned/modules/mark.css +1 -0
  35. package/cdn-versioned/modules/media.css +1 -0
  36. package/cdn-versioned/modules/meta.css +1 -0
  37. package/cdn-versioned/modules/paragraph.css +1 -0
  38. package/cdn-versioned/modules/prose.css +1 -0
  39. package/cdn-versioned/modules/table-cell.css +1 -0
  40. package/cdn-versioned/modules/table.css +1 -0
  41. package/cdn-versioned/solid-styles.css +1 -0
  42. package/dist/modules/chip.css +61 -0
  43. package/dist/modules/container.css +184 -0
  44. package/dist/modules/copyright.css +63 -0
  45. package/dist/modules/display.css +70 -0
  46. package/dist/modules/flag.css +59 -0
  47. package/dist/modules/footnotes.css +42 -0
  48. package/dist/modules/headline.css +237 -0
  49. package/dist/modules/hidden-links.css +57 -0
  50. package/dist/modules/interactive.css +105 -0
  51. package/dist/modules/leadtext.css +43 -0
  52. package/dist/modules/list.css +152 -0
  53. package/dist/modules/mark.css +15 -0
  54. package/dist/modules/media.css +33 -0
  55. package/dist/modules/meta.css +49 -0
  56. package/dist/modules/paragraph.css +28 -0
  57. package/dist/modules/prose.css +852 -0
  58. package/dist/modules/table-cell.css +186 -0
  59. package/dist/modules/table.css +24 -0
  60. package/dist/solid-styles.css +1348 -0
  61. package/dist-versioned/modules/chip.css +61 -0
  62. package/dist-versioned/modules/container.css +184 -0
  63. package/dist-versioned/modules/copyright.css +63 -0
  64. package/dist-versioned/modules/display.css +70 -0
  65. package/dist-versioned/modules/flag.css +59 -0
  66. package/dist-versioned/modules/footnotes.css +42 -0
  67. package/dist-versioned/modules/headline.css +237 -0
  68. package/dist-versioned/modules/hidden-links.css +57 -0
  69. package/dist-versioned/modules/interactive.css +105 -0
  70. package/dist-versioned/modules/leadtext.css +43 -0
  71. package/dist-versioned/modules/list.css +152 -0
  72. package/dist-versioned/modules/mark.css +15 -0
  73. package/dist-versioned/modules/media.css +33 -0
  74. package/dist-versioned/modules/meta.css +49 -0
  75. package/dist-versioned/modules/paragraph.css +28 -0
  76. package/dist-versioned/modules/prose.css +852 -0
  77. package/dist-versioned/modules/table-cell.css +186 -0
  78. package/dist-versioned/modules/table.css +24 -0
  79. package/dist-versioned/solid-styles.css +1348 -0
  80. package/package.json +68 -0
@@ -0,0 +1,852 @@
1
+ /**
2
+ * Prose
3
+ * @name sd-prose
4
+ * @status stable
5
+ * @since 3.6.0
6
+ * @boolean sd-prose--inverted Inverts the content, but not tables.
7
+ * @boolean sd-prose--full-width Overrides the 80ch max-width and makes the prose full width.
8
+ */
9
+
10
+ /**
11
+ * Display provides larger text sizes that are not used as headlines. The different sizes allow for a more versatile styling of text elements. Display text should not be used as substitute for headlines.
12
+ * @name sd-display
13
+ * @status stable
14
+ * @since 1.7
15
+ * @variant { xl | 3xl } sd-display--size-... The display's size.
16
+ * @boolean sd-display--inverted Inverts the display text.
17
+ */
18
+
19
+ .sd-display {
20
+ font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
21
+ font-weight: 400;
22
+ line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
23
+
24
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
25
+ }
26
+
27
+ @media (min-width: 1024px) {
28
+
29
+ .sd-display {
30
+ font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
31
+ }
32
+ }
33
+
34
+ .sd-display--size-xl {
35
+ font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
36
+ font-weight: 400;
37
+ line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
38
+
39
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
40
+ }
41
+
42
+ .sd-display--size-3xl {
43
+ font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
44
+ font-weight: 400;
45
+ line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
46
+
47
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
48
+ }
49
+
50
+ @media (min-width: 1024px) {
51
+
52
+ .sd-display--size-3xl {
53
+ font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
54
+ }
55
+ }
56
+
57
+ .sd-display--inverted {
58
+
59
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
60
+ }
61
+
62
+ /**
63
+ * Headlines are vital for displaying content hierarchy and to improve accessibility. A headline can be additionally accompanied by an icon. The icon can be displayed on the left side or inline.
64
+ * @name sd-headline
65
+ * @status stable
66
+ * @since 1.16
67
+ * @variant { 3xl | xl | lg | base } sd-headline--size-... The headline's size.
68
+ * @boolean sd-headline--inverted Inverts the headline text.
69
+ * @boolean sd-headline--inline Sets inline behavior. Used exclusively when an sd-icon or other component is present. See usage <a href="#inline">here.</a>
70
+ */
71
+
72
+ .sd-headline,
73
+ .sd-prose :is(h1, h2, h3, h4, h5) {
74
+ display: flex;
75
+ font-weight: 700;
76
+
77
+ color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
78
+ }
79
+
80
+ .sd-headline sd-icon, .sd-prose :is(h1, h2, h3, h4, h5) sd-icon {
81
+ flex-shrink: 0;
82
+ font-size: 3rem;
83
+
84
+ color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
85
+ }
86
+
87
+ @media (min-width: 640px) {
88
+
89
+ .sd-headline sd-icon, .sd-prose :is(h1, h2, h3, h4, h5) sd-icon {
90
+ margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
91
+ }
92
+ }
93
+
94
+ .sd-headline.sd-headline,
95
+ .sd-headline:is(h1):not(.sd-headline),
96
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline,
97
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) {
98
+ gap: var(--sd-spacing-4, 1rem) /* 16px */;
99
+ font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
100
+ line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
101
+ }
102
+
103
+ @media (min-width: 640px) {
104
+
105
+ .sd-headline.sd-headline,
106
+ .sd-headline:is(h1):not(.sd-headline),
107
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline,
108
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) {
109
+ font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
110
+ }
111
+ }
112
+
113
+ .sd-headline.sd-headline sd-icon, .sd-headline:is(h1):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) sd-icon {
114
+ margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
115
+ }
116
+
117
+ @media (min-width: 640px) {
118
+
119
+ .sd-headline.sd-headline sd-icon, .sd-headline:is(h1):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) sd-icon {
120
+ margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
121
+ }
122
+ }
123
+
124
+ .sd-headline.sd-headline--size-3xl,
125
+ .sd-headline:is(h2):not(.sd-headline),
126
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl,
127
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) {
128
+ gap: var(--sd-spacing-4, 1rem) /* 16px */;
129
+ font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
130
+ line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
131
+ }
132
+
133
+ @media (min-width: 640px) {
134
+
135
+ .sd-headline.sd-headline--size-3xl,
136
+ .sd-headline:is(h2):not(.sd-headline),
137
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl,
138
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) {
139
+ font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
140
+ }
141
+ }
142
+
143
+ .sd-headline.sd-headline--size-3xl sd-icon, .sd-headline:is(h2):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) sd-icon {
144
+ margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
145
+ }
146
+
147
+ @media (min-width: 640px) {
148
+
149
+ .sd-headline.sd-headline--size-3xl sd-icon, .sd-headline:is(h2):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) sd-icon {
150
+ margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
151
+ }
152
+ }
153
+
154
+ .sd-headline.sd-headline--size-xl,
155
+ .sd-headline.sd-headline--size-lg,
156
+ .sd-headline.sd-headline--size-base,
157
+ .sd-headline:is(h3, h4, h5):not(.sd-headline),
158
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl,
159
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg,
160
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base,
161
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-headline) {
162
+ gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
163
+
164
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
165
+ }
166
+
167
+ .sd-headline.sd-headline--size-xl sd-icon, .sd-headline.sd-headline--size-lg sd-icon, .sd-headline.sd-headline--size-base sd-icon, .sd-headline:is(h3, h4, h5):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-headline) sd-icon {
168
+ font-size: 2rem;
169
+ }
170
+
171
+ .sd-headline.sd-headline--size-xl,
172
+ .sd-headline:is(h3):not(.sd-headline),
173
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl,
174
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-headline) {
175
+ font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
176
+ }
177
+
178
+ .sd-headline.sd-headline--size-xl sd-icon, .sd-headline:is(h3):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-headline) sd-icon {
179
+ margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
180
+ }
181
+
182
+ @media (min-width: 640px) {
183
+
184
+ .sd-headline.sd-headline--size-xl sd-icon, .sd-headline:is(h3):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-headline) sd-icon {
185
+ margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
186
+ }
187
+ }
188
+
189
+ .sd-headline.sd-headline--size-lg,
190
+ .sd-headline.sd-headline--size-base,
191
+ .sd-headline:is(h4, h5):not(.sd-headline),
192
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg,
193
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base,
194
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h4, h5):not(.sd-headline) {
195
+ line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
196
+ }
197
+
198
+ .sd-headline.sd-headline--size-lg,
199
+ .sd-headline:is(h4),
200
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg,
201
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h4) {
202
+ font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
203
+ }
204
+
205
+ .sd-headline.sd-headline--size-lg sd-icon, .sd-headline:is(h4) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
206
+ margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
207
+ }
208
+
209
+ @media (min-width: 640px) {
210
+
211
+ .sd-headline.sd-headline--size-lg sd-icon, .sd-headline:is(h4) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
212
+ margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
213
+ }
214
+ }
215
+
216
+ .sd-headline.sd-headline--size-base,
217
+ .sd-headline:is(h5):not(.sd-headline),
218
+ .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base,
219
+ .sd-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-headline) {
220
+ font-size: var(--sd-font-size-base, 1rem) /* 16px */;
221
+ }
222
+
223
+ .sd-headline.sd-headline--size-base sd-icon, .sd-headline:is(h5):not(.sd-headline) sd-icon, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base sd-icon, .sd-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-headline) sd-icon {
224
+ margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
225
+ }
226
+
227
+ .sd-headline.sd-headline--size-base mark, .sd-headline:is(h5):not(.sd-headline) mark, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base mark, .sd-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-headline) mark {
228
+ color: inherit;
229
+ }
230
+
231
+ .sd-headline--inline {
232
+ display: inline-block;
233
+ }
234
+
235
+ .sd-headline--inline sd-icon {
236
+ margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
237
+ margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
238
+ vertical-align: middle;
239
+ }
240
+
241
+ .sd-headline--inline:is(.sd-headline--size-xl, .sd-headline--size-lg, .sd-headline--size-base) sd-icon {
242
+ margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
243
+ }
244
+
245
+ .sd-headline--inverted:not(#_),
246
+ .sd-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-headline):not(#_) {
247
+
248
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
249
+ }
250
+
251
+ .sd-headline--inverted:not(#_) sd-icon, .sd-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-headline):not(#_) sd-icon {
252
+
253
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
254
+ }
255
+
256
+ /**
257
+ * Generates basic styles for interactive elements.
258
+ * @name sd-interactive
259
+ * @status stable
260
+ * @since 1.11
261
+ * @boolean sd-interactive--disabled Makes an element look disabled.
262
+ * @boolean sd-interactive--inverted Inverts the colors of an element.
263
+ * @boolean sd-interactive--reset Resets the default browser styles of e.g., a button.
264
+ */
265
+
266
+ .sd-prose a--reset, .sd-interactive--reset {
267
+ all: unset;
268
+ outline: revert;
269
+ }
270
+
271
+ .sd-prose a,
272
+ .sd-interactive {
273
+ cursor: pointer;
274
+
275
+ color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
276
+ text-decoration-line: underline;
277
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
278
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
279
+ transition-duration: 150ms;
280
+ }
281
+
282
+ .sd-prose a:hover:not([disabled]),
283
+ .sd-interactive:hover:not([disabled]) {
284
+
285
+ color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
286
+ }
287
+
288
+ .sd-prose a:active:not([disabled]),
289
+ .sd-interactive:active:not([disabled]) {
290
+
291
+ color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
292
+ }
293
+
294
+ .sd-prose a:is(.sd-interactive), .sd-interactive:is(.sd-interactive) {
295
+ text-decoration-line: none;
296
+ }
297
+
298
+ .sd-prose a:focus-visible, .sd-interactive:focus-visible {
299
+ outline-style: solid;
300
+ outline-width: 2px;
301
+ outline-offset: 2px;
302
+ outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
303
+ }
304
+
305
+ .sd-prose a--disabled,
306
+ .sd-prose a[disabled],
307
+ .sd-prose a[href=''],
308
+ .sd-interactive--disabled,
309
+ .sd-interactive[disabled],
310
+ .sd-interactive[href=''] {
311
+ cursor: not-allowed;
312
+
313
+ color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
314
+ }
315
+
316
+ .sd-prose a--disabled:hover:not([disabled]),
317
+ .sd-prose a[disabled]:hover:not([disabled]),
318
+ .sd-prose a[href='']:hover:not([disabled]),
319
+ .sd-interactive--disabled:hover:not([disabled]),
320
+ .sd-interactive[disabled]:hover:not([disabled]),
321
+ .sd-interactive[href='']:hover:not([disabled]) {
322
+
323
+ color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
324
+ }
325
+
326
+ .sd-prose a--disabled:active:not([disabled]),
327
+ .sd-prose a[disabled]:active:not([disabled]),
328
+ .sd-prose a[href='']:active:not([disabled]),
329
+ .sd-interactive--disabled:active:not([disabled]),
330
+ .sd-interactive[disabled]:active:not([disabled]),
331
+ .sd-interactive[href='']:active:not([disabled]) {
332
+
333
+ color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
334
+ }
335
+
336
+ .sd-prose--inverted a,
337
+ .sd-interactive--inverted {
338
+
339
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
340
+ }
341
+
342
+ .sd-prose--inverted a:hover:not([disabled]),
343
+ .sd-interactive--inverted:hover:not([disabled]) {
344
+
345
+ color: rgb(var(--sd-color-primary-200, 224 233 243) / var(--tw-text-opacity, 1)) /* Used for inverted hover interaction text link and inverted pressed interaction button label */;
346
+ }
347
+
348
+ .sd-prose--inverted a:active:not([disabled]),
349
+ .sd-interactive--inverted:active:not([disabled]) {
350
+
351
+ color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
352
+ Used for inverted pressed interaction text link */;
353
+ }
354
+
355
+ .sd-prose--inverted a:focus-visible, .sd-interactive--inverted:focus-visible {
356
+ outline-style: solid;
357
+ outline-width: 2px;
358
+ outline-offset: 2px;
359
+ outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */;
360
+ }
361
+
362
+ /**
363
+ * Leadtext is used for text that should be highlighted and a focal point of the page.
364
+ * @name sd-leadtext
365
+ * @status stable
366
+ * @since 1.7
367
+ * @variant { lg } sd-leadtext--size-... The leadtext's size.
368
+ * @boolean sd-leadtext--inverted Inverts the leadtext text.
369
+ */
370
+
371
+ .sd-prose > .sd-leadtext,
372
+ .sd-leadtext {
373
+ font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
374
+ font-weight: 400;
375
+ line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
376
+
377
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
378
+ }
379
+
380
+ .sd-prose > .sd-leadtext--size-lg, .sd-leadtext--size-lg {
381
+ font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
382
+ font-weight: 400;
383
+ line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
384
+
385
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
386
+ }
387
+
388
+ .sd-prose--inverted > .sd-leadtext,
389
+ .sd-leadtext--inverted {
390
+
391
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
392
+ }
393
+
394
+ /**
395
+ * Generates basic styles for list elements.
396
+ * @name sd-list
397
+ * @status stable
398
+ * @since 1.39.0
399
+ * @boolean sd-list--inverted Inverts the list text.
400
+ */
401
+
402
+ .sd-list:not(.sd-list--icon),
403
+ .sd-prose > :is(ol, ul) {
404
+ padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
405
+ padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
406
+ text-align: left;
407
+ }
408
+
409
+ .sd-list:not(.sd-list--icon) li:not(:first-child), .sd-prose > :is(ol, ul) li:not(:first-child) {
410
+ margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
411
+ }
412
+
413
+ .sd-list:not(.sd-list--icon) ol,
414
+ .sd-list:not(.sd-list--icon) ul,
415
+ .sd-prose > :is(ol, ul) ol,
416
+ .sd-prose > :is(ol, ul) ul {
417
+ padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
418
+ }
419
+
420
+ /* Counter handling for ordered lists. */
421
+
422
+ .sd-list:not(.sd-list--icon):is(ol) > li, .sd-list:not(.sd-list--icon) ol > li, .sd-prose > :is(ol, ul):is(ol) > li, .sd-prose > :is(ol, ul) ol > li {
423
+ counter-increment: item;
424
+ }
425
+
426
+ .sd-list:not(.sd-list--icon):is(ol) > li:before, .sd-list:not(.sd-list--icon) ol > li:before, .sd-prose > :is(ol, ul):is(ol) > li:before, .sd-prose > :is(ol, ul) ol > li:before {
427
+ content: counters(item, '.') '. ';
428
+ }
429
+
430
+ /* Add second level */
431
+
432
+ .sd-list:not(.sd-list--icon):is(ol),
433
+ .sd-list:not(.sd-list--icon):is(ol) > li > ol,
434
+ .sd-list:not(.sd-list--icon) ol > li > ol,
435
+ .sd-prose > :is(ol, ul):is(ol),
436
+ .sd-prose > :is(ol, ul):is(ol) > li > ol,
437
+ .sd-prose > :is(ol, ul) ol > li > ol {
438
+ counter-reset: item;
439
+ }
440
+
441
+ /* Ordered lists inside unordered lists. */
442
+
443
+ .sd-list:not(.sd-list--icon):is(ul) > li > ol,
444
+ .sd-list:not(.sd-list--icon) ul > li > ol,
445
+ .sd-prose > :is(ol, ul):is(ul) > li > ol,
446
+ .sd-prose > :is(ol, ul) ul > li > ol {
447
+ counter-set: item 0;
448
+ }
449
+
450
+ /* Styling */
451
+
452
+ .sd-list:not(.sd-list--icon) li, .sd-prose > :is(ol, ul) li {
453
+ display: table;
454
+ }
455
+
456
+ .sd-list:not(.sd-list--icon) li:before, .sd-prose > :is(ol, ul) li:before {
457
+ display: table-cell;
458
+ padding-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
459
+ }
460
+
461
+ .sd-list:not(.sd-list--icon):is(ul),
462
+ .sd-list:not(.sd-list--icon) ul,
463
+ .sd-prose > :is(ol, ul):is(ul),
464
+ .sd-prose > :is(ol, ul) ul {
465
+ list-style-type: '';
466
+ }
467
+
468
+ .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li:before, .sd-list:not(.sd-list--icon) ul > li:before, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li:before, .sd-prose > :is(ol, ul) ul > li:before {
469
+ content: '\2022';
470
+ }
471
+
472
+ .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li > ul > li:before, .sd-list:not(.sd-list--icon) ul > li > ul > li:before, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li > ul > li:before, .sd-prose > :is(ol, ul) ul > li > ul > li:before {
473
+ content: '\002B1D';
474
+ }
475
+
476
+ .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li > ul > li > ul > li:before, .sd-list:not(.sd-list--icon) ul > li > ul > li > ul > li:before, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li > ul > li > ul > li:before, .sd-prose > :is(ol, ul) ul > li > ul > li > ul > li:before {
477
+ content: '\2010';
478
+ }
479
+
480
+ .sd-list--icon {
481
+ padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
482
+ padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
483
+ text-align: left;
484
+ }
485
+
486
+ .sd-list--icon li sd-icon:first-of-type,
487
+ .sd-list--icon li .sd-list--icon__icon:first-of-type {
488
+
489
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
490
+ }
491
+
492
+ .sd-list--icon {
493
+ list-style-type: '';
494
+ }
495
+
496
+ /* Safari removes list semantics of lists that don’t look like lists (list-style: none). The only way to remove list
497
+ styles without affecting semantics is to set list-style-type to an empty string.
498
+ https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics */
499
+
500
+ .sd-list--icon > li:first-of-type {
501
+ padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
502
+ }
503
+
504
+ .sd-list--icon li {
505
+ position: relative;
506
+ padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
507
+ padding-left: var(--sd-spacing-10, 2.5rem) /* 40px */;
508
+ line-height: 32px;
509
+ }
510
+
511
+ .sd-list--icon li > sd-icon:first-of-type,
512
+ .sd-list--icon li > .sd-list--icon__icon:first-of-type {
513
+ position: absolute;
514
+ left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
515
+ font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
516
+
517
+ color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
518
+ }
519
+
520
+ .sd-list--icon.sd-list--horizontal {
521
+ display: flex;
522
+ }
523
+
524
+ .sd-list--icon.sd-list--horizontal li {
525
+ display: flex;
526
+ padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
527
+ }
528
+
529
+ .sd-list--icon.sd-list--horizontal li:not(:last-child) {
530
+ margin-right: var(--sd-spacing-8, 2rem) /* 32px */;
531
+ }
532
+
533
+ .sd-list--inverted,
534
+ .sd-prose--inverted > :is(ol, ul) {
535
+
536
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
537
+ }
538
+
539
+ .sd-list--inverted li > sd-icon:first-of-type,
540
+ .sd-list--inverted li > .sd-list--icon__icon:first-of-type,
541
+ .sd-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type,
542
+ .sd-prose--inverted > :is(ol, ul) li > .sd-list--icon__icon:first-of-type {
543
+
544
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
545
+ }
546
+
547
+ /**
548
+ * A paragraph is used to display blocks of text. It uses the base font size and can contain bold and/or link styles.
549
+ * @name sd-paragraph
550
+ * @status stable
551
+ * @since 1.7
552
+ * @variant { sm } sd-paragraph--size-... The paragraph's font size.
553
+ * @boolean sd-paragraph--inverted Inverts the paragraph text.
554
+ */
555
+
556
+ .sd-paragraph,
557
+ .sd-prose p {
558
+ font-size: var(--sd-font-size-base, 1rem) /* 16px */;
559
+ font-weight: 400;
560
+ line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
561
+
562
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
563
+ }
564
+
565
+ .sd-paragraph--size-sm, .sd-prose p--size-sm {
566
+ font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
567
+ font-weight: 400;
568
+ line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
569
+
570
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
571
+ }
572
+
573
+ .sd-paragraph--inverted,
574
+ .sd-prose--inverted p {
575
+
576
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
577
+ }
578
+
579
+ /**
580
+ * Generates basic styles for media elements.
581
+ * @name sd-media
582
+ * @status stable
583
+ * @since 2.5.0
584
+ * @boolean sd-media--inverted Inverts the figcaption text.
585
+ */
586
+
587
+ .sd-prose figure,
588
+ figure.sd-media {
589
+ margin: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
590
+ }
591
+
592
+ .sd-prose figure figcaption, figure.sd-media figcaption {
593
+
594
+ color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
595
+ }
596
+
597
+ .sd-prose figure figcaption:last-child, figure.sd-media figcaption:last-child {
598
+ margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
599
+ }
600
+
601
+ .sd-prose--inverted figure figcaption, figure.sd-media--inverted figcaption {
602
+
603
+ color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
604
+ Used for inverted pressed interaction text link */;
605
+ }
606
+
607
+ /**
608
+ * A table cell is a single cell inside a table, used to display discrete data elements.
609
+ * @name sd-table-cell
610
+ * @status stable
611
+ * @since 1.13
612
+ * @boolean sd-table-cell--divider Displays a divider to the right.
613
+ * @variant { white | primary-100 | neutral-100 } sd-table-cell--bg-... Applies the selected background-color to the table cell. If not selected, a transparent background-color is used per default.
614
+ * @boolean sd-table-cell--shadow-active Displays the table shadow.
615
+ * @variant { top | left | right | bottom } sd-table-cell--shadow-... Applies the selected shadow to the table cell.
616
+ */
617
+
618
+ .sd-prose td,
619
+ .sd-prose th,
620
+ .sd-table-cell {
621
+ border-top-width: 1px;
622
+ border-bottom-width: 1px;
623
+ border-left-width: 0px;
624
+ border-right-width: 0px;
625
+ border-style: solid;
626
+ --tw-border-opacity: 1;
627
+ border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
628
+ Used for divider, teaser, container, ... */;
629
+ background-color: transparent;
630
+ padding: var(--sd-spacing-4, 1rem) /* 16px */;
631
+ text-align: left;
632
+ font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
633
+
634
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
635
+ }
636
+
637
+ .sd-table-cell--divider {
638
+ border-right-width: 1px;
639
+ }
640
+
641
+ .sd-table-cell--shadow-top:after, .sd-table-cell--shadow-bottom:after, .sd-table-cell--shadow-left:after, .sd-table-cell--shadow-right:after {
642
+ pointer-events: none;
643
+ position: absolute;
644
+ --tw-gradient-from: rgb(0 0 0 / var(--sd-opacity-10, 0.1)) var(--tw-gradient-from-position);
645
+ --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
646
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
647
+ --tw-gradient-to: transparent var(--tw-gradient-to-position);
648
+ opacity: var(--sd-opacity-0, 0);
649
+ transition-property: opacity;
650
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
651
+ transition-duration: 300ms;
652
+ --tw-content: '';
653
+ content: var(--tw-content);
654
+ }
655
+
656
+ .sd-table-cell--shadow-top:after, .sd-table-cell--shadow-bottom:after {
657
+ left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
658
+ right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
659
+ height: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
660
+ }
661
+
662
+ /* fix that shows line on top of table-cell */
663
+
664
+ .sd-table-cell--shadow-top:before, .sd-table-cell--shadow-bottom:before {
665
+ position: absolute;
666
+ left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
667
+ display: block;
668
+ height: 1px;
669
+ width: 100%;
670
+ border-width: 0.5px;
671
+ --tw-border-opacity: 1;
672
+ border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
673
+ Used for divider, teaser, container, ... */;
674
+ --tw-content: '';
675
+ content: var(--tw-content);
676
+ }
677
+
678
+ .sd-table-cell--shadow-left:after, .sd-table-cell--shadow-right:after {
679
+ top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
680
+ bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
681
+ width: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
682
+ }
683
+
684
+ .sd-table-cell.sd-table-cell--shadow-active:after {
685
+ opacity: 100%;
686
+ }
687
+
688
+ .sd-table-cell--shadow-top:after {
689
+ top: -10px;
690
+ background-image: linear-gradient(to top, var(--tw-gradient-stops));
691
+ }
692
+
693
+ /* fix that shows line on top of table-cell */
694
+
695
+ .sd-table-cell--shadow-top:before {
696
+ bottom: -1px;
697
+ }
698
+
699
+ .sd-table-cell--shadow-bottom:after {
700
+ bottom: -10px;
701
+ background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
702
+ }
703
+
704
+ /* fix that shows line on top of table-cell */
705
+
706
+ .sd-table-cell--shadow-bottom:before {
707
+ top: -1px;
708
+ }
709
+
710
+ .sd-table-cell--shadow-left:after {
711
+ left: -10px;
712
+ background-image: linear-gradient(to left, var(--tw-gradient-stops));
713
+ }
714
+
715
+ .sd-table-cell--shadow-right:after {
716
+ right: -10px;
717
+ background-image: linear-gradient(to right, var(--tw-gradient-stops));
718
+ }
719
+
720
+ .sd-table-cell--bg-white {
721
+
722
+ background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode) 
Used for inverted button */;
723
+ }
724
+
725
+ .sd-table-cell--bg-primary-100 {
726
+
727
+ background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
728
+ }
729
+
730
+ .sd-table-cell--bg-neutral-100 {
731
+
732
+ background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
733
+ }
734
+
735
+ /**
736
+ * A table is organized structured content, used for scanning, comparing, and analyzing the data.
737
+ * @name sd-table
738
+ * @status stable
739
+ * @since 1.13
740
+ */
741
+
742
+ /*
743
+ * Remove inherited styles from table before applying our styles.
744
+ */
745
+
746
+ .sd-table,
747
+ .sd-prose table {
748
+ all: unset;
749
+ display: table;
750
+ border-collapse: collapse;
751
+ --tw-border-spacing-x: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
752
+ --tw-border-spacing-y: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
753
+ border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
754
+ }
755
+
756
+ .sd-table thead tr:first-of-type, .sd-table tfoot tr:first-of-type, .sd-prose table thead tr:first-of-type, .sd-prose table tfoot tr:first-of-type {
757
+ position: relative;
758
+ }
759
+
760
+ /* plop:style */
761
+
762
+ .sd-prose {
763
+ /* Optimize for reading. */
764
+ max-width: 80ch;
765
+ text-align: left;
766
+ }
767
+
768
+ /* Add default spacings */
769
+
770
+ .sd-prose > *:not(:first-child) {
771
+ margin-top: var(--sd-spacing-4, 1rem) /* 16px */;
772
+ }
773
+
774
+ /* First element has no margin-top */
775
+
776
+ .sd-prose > *:first-child {
777
+ margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
778
+ }
779
+
780
+ /* headings after a heading have a smaller margin-top */
781
+
782
+ .sd-prose > :is(h1, h2, h3, h4, h5):not(#_) + :is(h1, h2, h3, h4, h5) {
783
+ /* :not(#_) is a hack to raise specifity, see https://stackoverflow.com/a/61781795 */
784
+ margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
785
+ }
786
+
787
+ /* Headlines after other non-headlines have a larger margin-top */
788
+
789
+ .sd-prose > *:not(:is(h1, h2, h3, h4, h5)) + :is(h1, h2, h3, h4, h5):not(#_) {
790
+ margin-top: var(--sd-spacing-8, 2rem) /* 32px */;
791
+ }
792
+
793
+ /* Images and figures lead to a bigger margin-top for the next element */
794
+
795
+ .sd-prose > figure + *:not(#_),
796
+ .sd-prose > img + *:not(#_) {
797
+ margin-top: var(--sd-spacing-6, 1.5rem) /* 24px */;
798
+ }
799
+
800
+ /* Add styles for elements that are not based on existing CSS styles */
801
+
802
+ .sd-prose hr {
803
+ height: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
804
+ border-top-width: 1px;
805
+ --tw-border-opacity: 1;
806
+ border-color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-border-opacity, 1)) /* Used for disabled state */;
807
+ }
808
+
809
+ .sd-prose pre {
810
+ overflow: auto;
811
+ }
812
+
813
+ .sd-prose blockquote,
814
+ .sd-prose blockquote > * {
815
+ font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
816
+ }
817
+
818
+ .sd-prose blockquote:has(*) *:first-child::before, .sd-prose blockquote:not(:has(*))::before {
819
+ content: open-quote;
820
+ display: inline;
821
+ }
822
+
823
+ .sd-prose blockquote:has(*) *:first-child::after, .sd-prose blockquote:not(:has(*))::after {
824
+ content: close-quote;
825
+ display: inline;
826
+ }
827
+
828
+ /* Fixes for other elements */
829
+
830
+ .sd-prose > :is(ul, ol):not(#_) {
831
+ /* ul and ol have padding that has to be reset */
832
+ padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
833
+ padding-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
834
+ }
835
+
836
+ /* Inverted styles */
837
+
838
+ .sd-prose--inverted hr {
839
+ --tw-border-opacity: 1;
840
+ border-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-border-opacity, 1)) /* Used for buttons, inverted focus state */;
841
+ }
842
+
843
+ .sd-prose--inverted pre {
844
+
845
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
846
+ }
847
+
848
+ /* Full width styles */
849
+
850
+ .sd-prose--full-width {
851
+ max-width: unset;
852
+ }