@solid-design-system/styles 1.5.4 → 2.0.0-next.0

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