@solid-design-system/styles 1.5.5 → 2.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 (86) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/cdn/modules/chip.css +2 -1
  3. package/cdn/modules/container.css +2 -1
  4. package/cdn/modules/copyright.css +2 -1
  5. package/cdn/modules/display.css +2 -1
  6. package/cdn/modules/flag.css +2 -1
  7. package/cdn/modules/footnotes.css +2 -1
  8. package/cdn/modules/headline.css +2 -1
  9. package/cdn/modules/hidden-links.css +2 -1
  10. package/cdn/modules/interactive.css +2 -1
  11. package/cdn/modules/leadtext.css +2 -1
  12. package/cdn/modules/list.css +2 -1
  13. package/cdn/modules/mark.css +2 -1
  14. package/cdn/modules/media.css +2 -1
  15. package/cdn/modules/meta.css +2 -1
  16. package/cdn/modules/pagination.css +2 -1
  17. package/cdn/modules/paragraph.css +2 -1
  18. package/cdn/modules/prose.css +2 -1
  19. package/cdn/modules/status-badge.css +2 -1
  20. package/cdn/modules/table-cell.css +2 -1
  21. package/cdn/modules/table.css +2 -1
  22. package/cdn/solid-styles.css +2 -1
  23. package/cdn-versioned/modules/chip.css +2 -1
  24. package/cdn-versioned/modules/container.css +2 -1
  25. package/cdn-versioned/modules/copyright.css +2 -1
  26. package/cdn-versioned/modules/display.css +2 -1
  27. package/cdn-versioned/modules/flag.css +2 -1
  28. package/cdn-versioned/modules/footnotes.css +2 -1
  29. package/cdn-versioned/modules/headline.css +2 -1
  30. package/cdn-versioned/modules/hidden-links.css +2 -1
  31. package/cdn-versioned/modules/interactive.css +2 -1
  32. package/cdn-versioned/modules/leadtext.css +2 -1
  33. package/cdn-versioned/modules/list.css +2 -1
  34. package/cdn-versioned/modules/mark.css +2 -1
  35. package/cdn-versioned/modules/media.css +2 -1
  36. package/cdn-versioned/modules/meta.css +2 -1
  37. package/cdn-versioned/modules/pagination.css +2 -1
  38. package/cdn-versioned/modules/paragraph.css +2 -1
  39. package/cdn-versioned/modules/prose.css +2 -1
  40. package/cdn-versioned/modules/status-badge.css +2 -1
  41. package/cdn-versioned/modules/table-cell.css +2 -1
  42. package/cdn-versioned/modules/table.css +2 -1
  43. package/cdn-versioned/solid-styles.css +2 -1
  44. package/dist/modules/chip.css +20 -56
  45. package/dist/modules/container.css +56 -122
  46. package/dist/modules/copyright.css +107 -49
  47. package/dist/modules/display.css +53 -62
  48. package/dist/modules/flag.css +19 -54
  49. package/dist/modules/footnotes.css +107 -119
  50. package/dist/modules/headline.css +114 -212
  51. package/dist/modules/hidden-links.css +118 -44
  52. package/dist/modules/interactive.css +67 -107
  53. package/dist/modules/leadtext.css +36 -39
  54. package/dist/modules/list.css +71 -143
  55. package/dist/modules/mark.css +4 -13
  56. package/dist/modules/media.css +10 -29
  57. package/dist/modules/meta.css +37 -38
  58. package/dist/modules/pagination.css +247 -384
  59. package/dist/modules/paragraph.css +36 -24
  60. package/dist/modules/prose.css +510 -773
  61. package/dist/modules/status-badge.css +19 -53
  62. package/dist/modules/table-cell.css +154 -169
  63. package/dist/modules/table.css +25 -17
  64. package/dist/solid-styles.css +1159 -1668
  65. package/dist-versioned/modules/chip.css +24 -60
  66. package/dist-versioned/modules/container.css +77 -143
  67. package/dist-versioned/modules/copyright.css +113 -55
  68. package/dist-versioned/modules/display.css +55 -64
  69. package/dist-versioned/modules/flag.css +23 -58
  70. package/dist-versioned/modules/footnotes.css +135 -147
  71. package/dist-versioned/modules/headline.css +129 -227
  72. package/dist-versioned/modules/hidden-links.css +122 -48
  73. package/dist-versioned/modules/interactive.css +73 -113
  74. package/dist-versioned/modules/leadtext.css +37 -40
  75. package/dist-versioned/modules/list.css +93 -165
  76. package/dist-versioned/modules/mark.css +5 -14
  77. package/dist-versioned/modules/media.css +14 -33
  78. package/dist-versioned/modules/meta.css +43 -44
  79. package/dist-versioned/modules/pagination.css +274 -411
  80. package/dist-versioned/modules/paragraph.css +37 -25
  81. package/dist-versioned/modules/prose.css +596 -859
  82. package/dist-versioned/modules/status-badge.css +25 -59
  83. package/dist-versioned/modules/table-cell.css +170 -185
  84. package/dist-versioned/modules/table.css +26 -18
  85. package/dist-versioned/solid-styles.css +1350 -1859
  86. package/package.json +4 -5
@@ -1,471 +1,274 @@
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
-
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ @layer theme, base, components, utilities;
19
4
  .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 */;
5
+ font-size: var(--sd-text-3xl);
6
+ line-height: var(--tw-leading, var(--text-3xl--line-height, calc(2.25 / 1.875)));
7
+ --tw-leading: var(--leading-tight, 1.25);
8
+ line-height: var(--leading-tight, 1.25);
9
+ --tw-font-weight: var(--sd-font-weight-normal);
10
+ font-weight: var(--sd-font-weight-normal);
11
+ color: var(--sd-color-text-black);
12
+ }
13
+ @media (width >= 64rem) {
14
+ .sd-display {
15
+ font-size: var(--sd-text-4xl);
16
+ line-height: var(--tw-leading, var(--text-4xl--line-height, calc(2.5 / 2.25)))
25
17
  }
26
-
27
- @media (min-width: 1024px) {
28
-
29
- .sd-display {
30
- font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
31
18
  }
32
- }
33
-
34
19
  .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
-
20
+ font-size: var(--sd-text-xl);
21
+ line-height: var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)));
22
+ --tw-leading: var(--leading-tight, 1.25);
23
+ line-height: var(--leading-tight, 1.25);
24
+ --tw-font-weight: var(--sd-font-weight-normal);
25
+ font-weight: var(--sd-font-weight-normal);
26
+ color: var(--sd-color-text-black);
27
+ }
42
28
  .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
-
29
+ font-size: var(--sd-text-2xl);
30
+ line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
31
+ --tw-leading: var(--leading-tight, 1.25);
32
+ line-height: var(--leading-tight, 1.25);
33
+ --tw-font-weight: var(--sd-font-weight-normal);
34
+ font-weight: var(--sd-font-weight-normal);
35
+ color: var(--sd-color-text-black);
36
+ }
37
+ @media (width >= 64rem) {
38
+ .sd-display--size-3xl {
39
+ font-size: var(--sd-text-3xl);
40
+ line-height: var(--tw-leading, var(--text-3xl--line-height, calc(2.25 / 1.875)))
41
+ }
42
+ }
57
43
  .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) {
44
+ color: var(--sd-color-text-white);
45
+ }
46
+ .sd-headline, .sd-prose :is(h1, h2, h3, h4, h5) {
74
47
  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 */;
48
+ --tw-font-weight: var(--sd-font-weight-bold);
49
+ font-weight: var(--sd-font-weight-bold);
50
+ color: var(--sd-color-text-primary);
78
51
  }
79
-
80
52
  .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
-
53
+ flex-shrink: 0;
54
+ font-size: 3rem;
55
+ color: var(--sd-color-text-primary);
56
+ }
57
+ @media (width >= 40rem) {
58
+ .sd-headline sd-icon, .sd-prose :is(h1, h2, h3, h4, h5) sd-icon {
59
+ margin-top: var(--sd-spacing-2)
60
+ }
61
+ }
62
+ .sd-headline.sd-headline, .sd-headline:is(h1):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline, .sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) {
63
+ gap: var(--sd-spacing-4);
64
+ font-size: var(--sd-text-3xl);
65
+ line-height: var(--tw-leading, var(--text-3xl--line-height, calc(2.25 / 1.875)));
66
+ --tw-leading: var(--leading-tight, 1.25);
67
+ line-height: var(--leading-tight, 1.25);
68
+ }
69
+ @media (width >= 40rem) {
70
+ .sd-headline.sd-headline, .sd-headline:is(h1):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline, .sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) {
71
+ font-size: var(--sd-text-4xl);
72
+ line-height: var(--tw-leading, var(--text-4xl--line-height, calc(2.5 / 2.25)))
73
+ }
74
+ }
113
75
  .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
-
76
+ margin-top: calc(var(--sd-spacing-1) * -1);
77
+ }
78
+ @media (width >= 40rem) {
79
+ .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 {
80
+ margin-top: calc(var(--sd-spacing-1) * 0)
81
+ }
82
+ }
83
+ .sd-headline.sd-headline--size-3xl, .sd-headline:is(h2):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl, .sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) {
84
+ gap: var(--sd-spacing-4);
85
+ font-size: var(--sd-text-2xl);
86
+ line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
87
+ --tw-leading: var(--leading-tight, 1.25);
88
+ line-height: var(--leading-tight, 1.25);
89
+ }
90
+ @media (width >= 40rem) {
91
+ .sd-headline.sd-headline--size-3xl, .sd-headline:is(h2):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl, .sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) {
92
+ font-size: var(--sd-text-3xl);
93
+ line-height: var(--tw-leading, var(--text-3xl--line-height, calc(2.25 / 1.875)))
94
+ }
95
+ }
96
+ .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 {
97
+ margin-top: calc(var(--sd-spacing-1) * -1);
98
+ }
99
+ @media (width >= 40rem) {
143
100
  .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
-
101
+ margin-top: calc(var(--sd-spacing-1) * 0)
102
+ }
103
+ }
104
+ .sd-headline.sd-headline--size-xl, .sd-headline.sd-headline--size-lg, .sd-headline.sd-headline--size-base, .sd-headline:is(h3, h4, h5):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base, .sd-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-headline) {
105
+ gap: var(--sd-spacing-2);
106
+ color: var(--sd-color-text-black);
107
+ }
167
108
  .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
-
109
+ font-size: 2rem;
110
+ }
111
+ .sd-headline.sd-headline--size-xl, .sd-headline:is(h3):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl, .sd-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-headline) {
112
+ font-size: var(--sd-text-xl);
113
+ line-height: var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)));
114
+ }
178
115
  .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
-
116
+ margin-top: var(--sd-spacing-0\.5);
117
+ }
118
+ @media (width >= 40rem) {
119
+ .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 {
120
+ margin-top: var(--sd-spacing-0\.5)
121
+ }
122
+ }
123
+ .sd-headline.sd-headline--size-lg, .sd-headline.sd-headline--size-base, .sd-headline:is(h4, h5):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg, .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base, .sd-prose :is(h1, h2, h3, h4, h5):is(h4, h5):not(.sd-headline) {
124
+ --tw-leading: var(--leading-normal, 1.5);
125
+ line-height: var(--leading-normal, 1.5);
126
+ }
127
+ .sd-headline.sd-headline--size-lg, .sd-headline:is(h4), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg, .sd-prose :is(h1, h2, h3, h4, h5):is(h4) {
128
+ font-size: var(--sd-text-lg);
129
+ line-height: var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));
130
+ }
205
131
  .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) */;
132
+ margin-top: calc(var(--sd-spacing-1) * 0);
133
+ }
134
+ @media (width >= 40rem) {
135
+ .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 {
136
+ margin-top: calc(var(--sd-spacing-1) * 0)
137
+ }
138
+ }
139
+ .sd-headline.sd-headline--size-base, .sd-headline:is(h5):not(.sd-headline), .sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base, .sd-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-headline) {
140
+ font-size: var(--sd-text-base);
141
+ line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
213
142
  }
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
143
  .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
-
144
+ margin-top: calc(var(--sd-spacing-1) * -1);
145
+ }
227
146
  .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
-
147
+ color: inherit;
148
+ }
231
149
  .sd-headline--inline {
232
150
  display: inline-block;
233
151
  }
234
-
235
152
  .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
-
153
+ margin-top: calc(var(--sd-spacing-1) * -1);
154
+ margin-right: var(--sd-spacing-2);
155
+ vertical-align: middle;
156
+ }
241
157
  .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 */;
158
+ margin-right: var(--sd-spacing-0\.5);
159
+ }
160
+ .sd-headline--inverted:not(#_), .sd-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-headline):not(#_) {
161
+ color: var(--sd-color-text-white);
249
162
  }
250
-
251
163
  .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
-
164
+ color: var(--sd-color-text-white);
165
+ }
266
166
  .sd-prose a--reset, .sd-interactive--reset {
267
167
  all: unset;
268
168
  outline: revert;
269
169
  }
270
-
271
- .sd-prose a,
272
- .sd-interactive {
170
+ .sd-prose a, .sd-interactive{
273
171
  cursor: pointer;
274
-
275
- color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
172
+ color: var(--sd-color-text-primary);
276
173
  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-prose a:hover:not([disabled]),
287
- .sd-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-prose a:active:not([disabled]),
293
- .sd-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-prose a:is(.sd-interactive), .sd-interactive:is(.sd-interactive) {
299
- text-decoration-line: none;
300
- }
301
-
174
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
175
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
176
+ transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
177
+ --tw-duration: var(--sd-duration-fast, 150ms);
178
+ transition-duration: var(--sd-duration-fast, 150ms);
179
+ --tw-ease: var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));
180
+ transition-timing-function: var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));
181
+ }
182
+ .sd-prose a:hover:not([disabled]), .sd-interactive:hover:not([disabled]) {
183
+ color: var(--sd-color-text-primary-500);
184
+ }
302
185
  .sd-prose a:focus-visible, .sd-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-prose a--disabled,
310
- .sd-prose a[disabled],
311
- .sd-prose a[href=''],
312
- .sd-interactive--disabled,
313
- .sd-interactive[disabled],
314
- .sd-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-prose a--disabled:hover:not([disabled]),
321
- .sd-prose a[disabled]:hover:not([disabled]),
322
- .sd-prose a[href='']:hover:not([disabled]),
323
- .sd-interactive--disabled:hover:not([disabled]),
324
- .sd-interactive[disabled]:hover:not([disabled]),
325
- .sd-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-prose a--disabled:active:not([disabled]),
331
- .sd-prose a[disabled]:active:not([disabled]),
332
- .sd-prose a[href='']:active:not([disabled]),
333
- .sd-interactive--disabled:active:not([disabled]),
334
- .sd-interactive[disabled]:active:not([disabled]),
335
- .sd-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
-
186
+ outline-style: solid;
187
+ outline-offset: 2px;
188
+ outline-width: 2px;
189
+ outline-color: var(--outline-color-primary);
190
+ }
191
+ .sd-prose a:active:not([disabled]), .sd-interactive:active:not([disabled]) {
192
+ color: var(--sd-interactive--active-color-text, var(--sd-color-primary-800));
193
+ }
194
+ .sd-prose a:is(.sd-interactive), .sd-interactive:is(.sd-interactive) {
195
+ text-decoration-line: none;
196
+ }
197
+ .sd-prose a--disabled, .sd-prose a[disabled], .sd-prose a[href=''], .sd-interactive--disabled, .sd-interactive[disabled], .sd-interactive[href=''] {
198
+ cursor: not-allowed;
199
+ color: var(--sd-color-text-neutral-500);
200
+ }
201
+ .sd-prose a--disabled:hover:not([disabled]), .sd-prose a[disabled]:hover:not([disabled]), .sd-prose a[href='']:hover:not([disabled]), .sd-interactive--disabled:hover:not([disabled]), .sd-interactive[disabled]:hover:not([disabled]), .sd-interactive[href='']:hover:not([disabled]) {
202
+ color: var(--sd-color-text-neutral-500);
203
+ }
204
+ .sd-prose a--disabled:active:not([disabled]), .sd-prose a[disabled]:active:not([disabled]), .sd-prose a[href='']:active:not([disabled]), .sd-interactive--disabled:active:not([disabled]), .sd-interactive[disabled]:active:not([disabled]), .sd-interactive[href='']:active:not([disabled]) {
205
+ color: var(--sd-color-text-neutral-500);
206
+ }
340
207
  .sd-prose a--disabled.sd-interactive--inverted, .sd-prose a[disabled].sd-interactive--inverted, .sd-prose a[href=''].sd-interactive--inverted, .sd-interactive--disabled.sd-interactive--inverted, .sd-interactive[disabled].sd-interactive--inverted, .sd-interactive[href=''].sd-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
-
208
+ color: var(--sd-color-text-neutral-600);
209
+ }
345
210
  .sd-prose a--disabled.sd-interactive--inverted:hover:not([disabled]), .sd-prose a[disabled].sd-interactive--inverted:hover:not([disabled]), .sd-prose a[href=''].sd-interactive--inverted:hover:not([disabled]), .sd-interactive--disabled.sd-interactive--inverted:hover:not([disabled]), .sd-interactive[disabled].sd-interactive--inverted:hover:not([disabled]), .sd-interactive[href=''].sd-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
-
211
+ color: var(--sd-color-text-neutral-600);
212
+ }
350
213
  .sd-prose a--disabled.sd-interactive--inverted:active:not([disabled]), .sd-prose a[disabled].sd-interactive--inverted:active:not([disabled]), .sd-prose a[href=''].sd-interactive--inverted:active:not([disabled]), .sd-interactive--disabled.sd-interactive--inverted:active:not([disabled]), .sd-interactive[disabled].sd-interactive--inverted:active:not([disabled]), .sd-interactive[href=''].sd-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-prose--inverted a,
356
- .sd-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-prose--inverted a:hover:not([disabled]),
362
- .sd-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-prose--inverted a:active:not([disabled]),
368
- .sd-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
-
214
+ color: var(--sd-color-text-neutral-600);
215
+ }
216
+ .sd-prose--inverted a, .sd-interactive--inverted {
217
+ color: var(--sd-color-text-white);
218
+ }
219
+ .sd-prose--inverted a:hover:not([disabled]), .sd-interactive--inverted:hover:not([disabled]) {
220
+ color: var(--sd-color-text-primary-200);
221
+ }
374
222
  .sd-prose--inverted a:focus-visible, .sd-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-leadtext
384
- * @status stable
385
- * @since 1.7
386
- * @variant { lg } sd-leadtext--size-... The leadtext's size.
387
- * @boolean sd-leadtext--inverted Inverts the leadtext text.
388
- */
389
-
390
- .sd-prose > .sd-leadtext,
391
- .sd-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
-
223
+ outline-style: solid;
224
+ outline-offset: 2px;
225
+ outline-width: 2px;
226
+ outline-color: var(--outline-color-primary);
227
+ }
228
+ .sd-prose--inverted a:active:not([disabled]), .sd-interactive--inverted:active:not([disabled]) {
229
+ color: var(--sd-color-text-primary-400);
230
+ }
231
+ .sd-prose > .sd-leadtext, .sd-leadtext {
232
+ font-size: var(--sd-text-xl);
233
+ line-height: var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)));
234
+ --tw-leading: var(--leading-normal, 1.5);
235
+ line-height: var(--leading-normal, 1.5);
236
+ --tw-font-weight: var(--sd-font-weight-normal);
237
+ font-weight: var(--sd-font-weight-normal);
238
+ color: var(--sd-color-text-black);
239
+ }
399
240
  .sd-prose > .sd-leadtext--size-lg, .sd-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-prose--inverted > .sd-leadtext,
408
- .sd-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-list
416
- * @status stable
417
- * @since 1.39.0
418
- * @boolean sd-list--inverted Inverts the list text.
419
- */
420
-
421
- .sd-list:not(.sd-list--icon),
422
- .sd-prose > :is(ol, ul) {
241
+ font-size: var(--sd-text-lg);
242
+ line-height: var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));
243
+ --tw-leading: var(--leading-normal, 1.5);
244
+ line-height: var(--leading-normal, 1.5);
245
+ --tw-font-weight: var(--sd-font-weight-normal);
246
+ font-weight: var(--sd-font-weight-normal);
247
+ color: var(--sd-color-text-black);
248
+ }
249
+ .sd-prose--inverted > .sd-leadtext, .sd-leadtext--inverted {
250
+ color: var(--sd-color-text-white);
251
+ }
252
+ .sd-list:not(.sd-list--icon), .sd-prose > :is(ol, ul) {
423
253
  list-style-position: revert;
424
254
  list-style-type: revert;
425
255
  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 */;
256
+ padding-block: var(--sd-spacing-4);
257
+ padding-left: var(--sd-spacing-4);
429
258
  text-align: left;
430
-
431
- /*
432
- * Unordered lists
433
- */
434
259
  }
435
-
436
260
  .sd-list:not(.sd-list--icon) li:not(:first-child), .sd-prose > :is(ol, ul) li:not(:first-child) {
437
- margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
438
- }
439
-
440
- .sd-list:not(.sd-list--icon) ul,
441
- .sd-list:not(.sd-list--icon) ol,
442
- .sd-prose > :is(ol, ul) ul,
443
- .sd-prose > :is(ol, ul) ol {
261
+ margin-top: var(--sd-spacing-3);
262
+ }
263
+ .sd-list:not(.sd-list--icon) ul, .sd-list:not(.sd-list--icon) ol, .sd-prose > :is(ol, ul) ul, .sd-prose > :is(ol, ul) ol {
444
264
  all: revert;
445
- padding-left: 1.4em;
446
265
  padding-top: 0.75em;
266
+ padding-left: 1.4em;
447
267
  }
448
-
449
268
  @supports not (-webkit-hyphens: none) {
450
-
451
- .sd-list:not(.sd-list--icon),
452
- .sd-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
269
  .sd-list:not(.sd-list--icon) li, .sd-prose > :is(ol, ul) li {
467
- padding-left: 0.3em;
468
- }
270
+ padding-left: 0.3em;
271
+ }
469
272
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon), .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) {
470
273
  counter-reset: item;
471
274
  }
@@ -475,443 +278,377 @@ Used for inverted pressed interaction text link */;
475
278
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon) > li::marker, .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) > li::marker {
476
279
  content: counters(item, '.', decimal) '. ';
477
280
  }
478
- /* Level 2 */
479
281
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon) > li > ol, .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) > li > ol {
480
- padding-left: 1.9em;
282
+ padding-left: 1.9em;
481
283
  counter-reset: subitem;
482
- }
284
+ }
483
285
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon) > li > ol > li, .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) > li > ol > li {
484
286
  counter-increment: subitem;
485
287
  }
486
288
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon) > li > ol > li::marker, .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) > li > ol > li::marker {
487
289
  content: counters(item, '.', decimal) '.' counters(subitem, '.', decimal) '. ';
488
290
  }
489
- /* Level 3 */
490
291
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon) > li > ol > li > ol, .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) > li > ol > li > ol {
491
- padding-left: 2.7em;
292
+ padding-left: 2.7em;
492
293
  counter-reset: subsubitem;
493
- }
294
+ }
494
295
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon) > li > ol > li > ol > li, .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) > li > ol > li > ol > li {
495
296
  counter-increment: subsubitem;
496
297
  }
497
298
  .sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon) > li > ol > li > ol > li::marker, .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) > li > ol > li > ol > li::marker {
498
- content: counters(item, '.', decimal) '.' counters(subitem, '.', decimal) '.'
499
- counters(subsubitem, '.', decimal) '. ';
299
+ content: counters(item, '.', decimal) '.' counters(subitem, '.', decimal) '.' counters(subsubitem, '.', decimal) '. ';
500
300
  }
501
301
  }
502
-
503
- /* Level 1 */
504
-
505
- .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon),
506
- .sd-list:not(.sd-list--icon) ul,
507
- .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon),
508
- .sd-prose > :is(ol, ul) ul {
509
- padding-left: 0.5em;
510
- }
511
-
302
+ .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon), .sd-list:not(.sd-list--icon) ul, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon), .sd-prose > :is(ol, ul) ul {
303
+ padding-left: 0.5em;
304
+ }
512
305
  .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li, .sd-list:not(.sd-list--icon) ul > li, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li, .sd-prose > :is(ol, ul) ul > li {
513
- padding-left: 0.75em;
514
- list-style-type: '\2022'; /* • */
515
- }
516
-
517
- /* Level 2 */
518
-
306
+ padding-left: 0.75em;
307
+ list-style-type: '\2022';
308
+ }
519
309
  .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li > ul, .sd-list:not(.sd-list--icon) ul > li > ul, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li > ul, .sd-prose > :is(ol, ul) ul > li > ul {
520
- padding-left: 0.3em;
521
- }
522
-
310
+ padding-left: 0.3em;
311
+ }
523
312
  .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li > ul > li, .sd-list:not(.sd-list--icon) ul > li > ul > li, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li > ul > li, .sd-prose > :is(ol, ul) ul > li > ul > li {
524
- list-style-type: '\002B1D'; /* · */
313
+ list-style-type: '\002B1D';
525
314
  }
526
-
527
- /* Level 3 */
528
-
529
315
  .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li > ul > li > ul, .sd-list:not(.sd-list--icon) ul > li > ul > li > ul, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li > ul > li > ul, .sd-prose > :is(ol, ul) ul > li > ul > li > ul {
530
- padding-left: 0.4em;
531
- }
532
-
316
+ padding-left: 0.4em;
317
+ }
533
318
  .sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon) > li > ul > li > ul > li, .sd-list:not(.sd-list--icon) ul > li > ul > li > ul > li, .sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon) > li > ul > li > ul > li, .sd-prose > :is(ol, ul) ul > li > ul > li > ul > li {
534
- list-style-type: '\2010'; /* - */
319
+ list-style-type: '\2010';
535
320
  }
536
-
537
- /*
538
- * Icon lists
539
- */
540
-
541
321
  .sd-list--icon {
542
- padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
543
- padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
322
+ padding-block: var(--sd-spacing-4);
544
323
  text-align: left;
545
324
  }
546
-
547
- .sd-list--icon li sd-icon:first-of-type,
548
- .sd-list--icon li .sd-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-list--icon {
325
+ .sd-list--icon li sd-icon:first-of-type, .sd-list--icon li .sd-list--icon__icon:first-of-type {
326
+ color: var(--sd-color-text-white);
327
+ }
328
+ .sd-list--icon{
554
329
  list-style-type: '';
555
330
  }
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
331
  .sd-list--icon > li:first-of-type {
562
- padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
563
- }
564
-
332
+ padding-top: calc(var(--sd-spacing-1) * 0);
333
+ }
565
334
  .sd-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-list--icon li > sd-icon:first-of-type,
573
- .sd-list--icon li > .sd-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
-
335
+ position: relative;
336
+ padding-top: var(--sd-spacing-3);
337
+ padding-left: var(--sd-spacing-10);
338
+ --tw-leading: 32px;
339
+ line-height: 32px;
340
+ }
341
+ .sd-list--icon li > sd-icon:first-of-type, .sd-list--icon li > .sd-list--icon__icon:first-of-type {
342
+ position: absolute;
343
+ left: calc(var(--sd-spacing-1) * 0);
344
+ font-size: var(--sd-text-3xl);
345
+ line-height: var(--tw-leading, var(--text-3xl--line-height, calc(2.25 / 1.875)));
346
+ color: var(--sd-color-text-primary);
347
+ }
581
348
  .sd-list--icon.sd-list--horizontal {
582
- display: flex;
583
- }
584
-
349
+ display: flex;
350
+ }
585
351
  .sd-list--icon.sd-list--horizontal li {
586
- display: flex;
587
- padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
588
- }
589
-
352
+ display: flex;
353
+ padding-top: calc(var(--sd-spacing-1) * 0);
354
+ }
590
355
  .sd-list--icon.sd-list--horizontal li:not(:last-child) {
591
- margin-right: var(--sd-spacing-8, 2rem) /* 32px */;
592
- }
593
-
594
- /*
595
- * Inverted
596
- */
597
-
598
- .sd-list--inverted,
599
- .sd-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-list--inverted li > sd-icon:first-of-type,
605
- .sd-list--inverted li > .sd-list--icon__icon:first-of-type,
606
- .sd-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type,
607
- .sd-prose--inverted > :is(ol, ul) li > .sd-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-paragraph
615
- * @status stable
616
- * @since 1.7
617
- * @variant { sm } sd-paragraph--size-... The paragraph's font size.
618
- * @boolean sd-paragraph--inverted Inverts the paragraph text.
619
- */
620
-
621
- .sd-paragraph,
622
- .sd-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
-
356
+ margin-right: var(--sd-spacing-8);
357
+ }
358
+ .sd-list--inverted, .sd-prose--inverted > :is(ol, ul) {
359
+ color: var(--sd-color-text-white);
360
+ }
361
+ .sd-list--inverted li > sd-icon:first-of-type, .sd-list--inverted li > .sd-list--icon__icon:first-of-type, .sd-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type, .sd-prose--inverted > :is(ol, ul) li > .sd-list--icon__icon:first-of-type {
362
+ color: var(--sd-color-text-white);
363
+ }
364
+ .sd-paragraph, .sd-prose p {
365
+ font-size: var(--sd-text-base);
366
+ line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
367
+ --tw-leading: var(--leading-normal, 1.5);
368
+ line-height: var(--leading-normal, 1.5);
369
+ --tw-font-weight: var(--sd-font-weight-normal);
370
+ font-weight: var(--sd-font-weight-normal);
371
+ color: var(--sd-color-text-black);
372
+ }
630
373
  .sd-paragraph--size-sm, .sd-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-paragraph--inverted,
639
- .sd-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-media
647
- * @status stable
648
- * @since 2.5.0
649
- * @boolean sd-media--inverted Inverts the figcaption text.
650
- */
651
-
652
- .sd-prose figure,
653
- figure.sd-media {
654
- margin: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
655
- }
656
-
657
- .sd-prose figure figcaption, figure.sd-media figcaption {
658
-
659
- color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
374
+ font-size: var(--sd-text-sm);
375
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
376
+ --tw-leading: var(--leading-normal, 1.5);
377
+ line-height: var(--leading-normal, 1.5);
378
+ --tw-font-weight: var(--sd-font-weight-normal);
379
+ font-weight: var(--sd-font-weight-normal);
380
+ color: var(--sd-color-text-black);
381
+ }
382
+ .sd-paragraph--inverted, .sd-prose--inverted p {
383
+ color: var(--sd-color-text-white);
660
384
  }
661
-
662
- .sd-prose figure figcaption:last-child, figure.sd-media figcaption:last-child {
663
- margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
385
+ .sd-prose figure, figure.sd-media {
386
+ margin: calc(var(--sd-spacing-1) * 0);
664
387
  }
665
-
388
+ .sd-prose figure figcaption, figure.sd-media figcaption {
389
+ color: var(--sd-color-text-neutral-700);
390
+ }
391
+ .sd-prose figure figcaption:last-child, figure.sd-media figcaption:last-child {
392
+ margin-top: var(--sd-spacing-3);
393
+ }
666
394
  .sd-prose--inverted figure figcaption, figure.sd-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-table-cell
675
- * @status stable
676
- * @since 1.13
677
- * @boolean sd-table-cell--divider Displays a divider to the right.
678
- * @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.
679
- * @boolean sd-table-cell--shadow-active Displays the table shadow.
680
- * @variant { top | left | right | bottom } sd-table-cell--shadow-... Applies the selected shadow to the table cell.
681
- */
682
-
683
- .sd-prose td,
684
- .sd-prose th,
685
- .sd-table-cell {
686
- border-top-width: 1px;
687
- border-bottom-width: 1px;
688
- border-left-width: 0px;
689
- border-right-width: 0px;
395
+ color: var(--sd-color-text-primary-400);
396
+ }
397
+ .sd-prose td, .sd-prose th, .sd-table-cell {
398
+ border-inline-style: var(--tw-border-style);
399
+ border-inline-width: 0px;
400
+ border-block-style: var(--tw-border-style);
401
+ border-block-width: 1px;
402
+ --tw-border-style: solid;
690
403
  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, ... */;
404
+ border-color: var(--sd-color-border-neutral-400);
694
405
  background-color: transparent;
695
- padding: var(--sd-spacing-4, 1rem) /* 16px */;
406
+ padding: var(--sd-spacing-4);
696
407
  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 */;
408
+ font-size: var(--sd-text-sm);
409
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
410
+ color: var(--sd-color-text-black);
700
411
  }
701
-
702
412
  .sd-table-cell--divider {
703
- border-right-width: 1px;
704
- }
705
-
413
+ border-right-style: var(--tw-border-style);
414
+ border-right-width: 1px;
415
+ }
706
416
  .sd-table-cell--shadow-top:after, .sd-table-cell--shadow-bottom:after, .sd-table-cell--shadow-left:after, .sd-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
-
417
+ pointer-events: none;
418
+ position: absolute;
419
+ --tw-gradient-from: color-mix(in oklab, #000 var(--sd-opacity-10), transparent);
420
+ --tw-gradient-to: transparent;
421
+ --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
422
+ opacity: var(--sd-opacity-0);
423
+ transition-property: opacity;
424
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
425
+ transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
426
+ --tw-duration: 300ms;
427
+ transition-duration: 300ms;
428
+ --tw-content: '';
429
+ content: var(--tw-content);
430
+ }
721
431
  .sd-table-cell--shadow-top:after, .sd-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
-
432
+ right: calc(var(--sd-spacing-1) * 0);
433
+ left: calc(var(--sd-spacing-1) * 0);
434
+ height: calc(var(--sd-spacing-1) * 2.5);
435
+ }
729
436
  .sd-table-cell--shadow-top:before, .sd-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
-
437
+ position: absolute;
438
+ left: calc(var(--sd-spacing-1) * 0);
439
+ display: block;
440
+ height: 1px;
441
+ width: 100%;
442
+ border-style: var(--tw-border-style);
443
+ border-width: 0.5px;
444
+ border-color: var(--sd-color-border-neutral-400);
445
+ --tw-content: '';
446
+ content: var(--tw-content);
447
+ }
743
448
  .sd-table-cell--shadow-left:after, .sd-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
-
449
+ top: calc(var(--sd-spacing-1) * 0);
450
+ bottom: calc(var(--sd-spacing-1) * 0);
451
+ width: calc(var(--sd-spacing-1) * 2.5);
452
+ }
749
453
  .sd-table-cell.sd-table-cell--shadow-active:after {
750
- opacity: 100%;
751
- }
752
-
454
+ opacity: 100%;
455
+ }
753
456
  .sd-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
-
457
+ top: -10px;
458
+ --tw-gradient-position: to top in oklab;
459
+ background-image: linear-gradient(var(--tw-gradient-stops));
460
+ }
760
461
  .sd-table-cell--shadow-top:before {
761
- bottom: -1px;
762
- }
763
-
462
+ bottom: -1px;
463
+ }
764
464
  .sd-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
-
465
+ bottom: -10px;
466
+ --tw-gradient-position: to bottom in oklab;
467
+ background-image: linear-gradient(var(--tw-gradient-stops));
468
+ }
771
469
  .sd-table-cell--shadow-bottom:before {
772
- top: -1px;
773
- }
774
-
470
+ top: -1px;
471
+ }
775
472
  .sd-table-cell--shadow-left:after {
776
- left: -10px;
777
- background-image: linear-gradient(to left, var(--tw-gradient-stops));
778
- }
779
-
473
+ left: -10px;
474
+ --tw-gradient-position: to left in oklab;
475
+ background-image: linear-gradient(var(--tw-gradient-stops));
476
+ }
780
477
  .sd-table-cell--shadow-right:after {
781
- right: -10px;
782
- background-image: linear-gradient(to right, var(--tw-gradient-stops));
783
- }
784
-
478
+ right: -10px;
479
+ --tw-gradient-position: to right in oklab;
480
+ background-image: linear-gradient(var(--tw-gradient-stops));
481
+ }
785
482
  .sd-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
-
483
+ background-color: var(--sd-color-background-white);
484
+ background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode) 
Used for inverted button */; }
790
485
  .sd-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
-
486
+ background-color: var(--sd-color-background-primary-100);
487
+ }
795
488
  .sd-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-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-table,
812
- .sd-prose table {
489
+ background-color: var(--sd-color-background-neutral-100);
490
+ }
491
+ .sd-table, .sd-prose table {
813
492
  all: unset;
814
493
  display: table;
815
494
  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) */;
495
+ --tw-border-spacing-x: calc(var(--sd-spacing-1) * 0);
496
+ --tw-border-spacing-y: calc(var(--sd-spacing-1) * 0);
818
497
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
819
498
  }
820
-
821
499
  .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 {
822
- position: relative;
823
- }
824
-
825
- /* plop:style */
826
-
500
+ position: relative;
501
+ }
827
502
  .sd-prose {
828
- /* Optimize for reading. */
829
503
  max-width: 80ch;
830
504
  text-align: left;
831
505
  }
832
-
833
- /* Add default spacings */
834
-
835
506
  .sd-prose > *:not(:first-child) {
836
- margin-top: var(--sd-spacing-4, 1rem) /* 16px */;
837
- }
838
-
839
- /* First element has no margin-top */
840
-
507
+ margin-top: var(--sd-spacing-4);
508
+ }
841
509
  .sd-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
-
510
+ margin-top: calc(var(--sd-spacing-1) * 0);
511
+ }
847
512
  .sd-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 */;
513
+ margin-top: var(--sd-spacing-2);
850
514
  }
851
-
852
- /* Headlines after other non-headlines have a larger margin-top */
853
-
854
515
  .sd-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-prose > figure + *:not(#_),
861
- .sd-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
-
516
+ margin-top: var(--sd-spacing-8);
517
+ }
518
+ .sd-prose > figure + *:not(#_), .sd-prose > img + *:not(#_) {
519
+ margin-top: var(--sd-spacing-6);
520
+ }
867
521
  .sd-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
-
522
+ height: calc(var(--sd-spacing-1) * 0);
523
+ border-top-style: var(--tw-border-style);
524
+ border-top-width: 1px;
525
+ border-color: var(--sd-color-border-neutral-500);
526
+ }
874
527
  .sd-prose pre {
875
- overflow: auto;
876
- }
877
-
878
- .sd-prose blockquote,
879
- .sd-prose blockquote > * {
880
- font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
881
- }
882
-
528
+ overflow: auto;
529
+ }
530
+ .sd-prose blockquote, .sd-prose blockquote > * {
531
+ font-size: var(--sd-text-xl);
532
+ line-height: var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)));
533
+ }
883
534
  .sd-prose blockquote:has(*) *:first-child::before, .sd-prose blockquote:not(:has(*))::before {
884
535
  content: open-quote;
885
536
  display: inline;
886
537
  }
887
-
888
538
  .sd-prose blockquote:has(*) *:first-child::after, .sd-prose blockquote:not(:has(*))::after {
889
539
  content: close-quote;
890
540
  display: inline;
891
541
  }
892
-
893
- /* Fixes for other elements */
894
-
895
542
  .sd-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) */;
543
+ padding-block: calc(var(--sd-spacing-1) * 0);
899
544
  }
900
-
901
- /* Inverted styles */
902
-
903
545
  .sd-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
-
546
+ border-color: var(--sd-color-border-white);
547
+ }
908
548
  .sd-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
-
549
+ color: var(--sd-color-text-white);
550
+ }
915
551
  .sd-prose--full-width {
916
552
  max-width: unset;
917
553
  }
554
+ @property --tw-leading {
555
+ syntax: "*";
556
+ inherits: false;
557
+ }
558
+ @property --tw-font-weight {
559
+ syntax: "*";
560
+ inherits: false;
561
+ }
562
+ @property --tw-duration {
563
+ syntax: "*";
564
+ inherits: false;
565
+ }
566
+ @property --tw-ease {
567
+ syntax: "*";
568
+ inherits: false;
569
+ }
570
+ @property --tw-border-style {
571
+ syntax: "*";
572
+ inherits: false;
573
+ initial-value: solid;
574
+ }
575
+ @property --tw-gradient-position {
576
+ syntax: "*";
577
+ inherits: false;
578
+ }
579
+ @property --tw-gradient-from {
580
+ syntax: "<color>";
581
+ inherits: false;
582
+ initial-value: #0000;
583
+ }
584
+ @property --tw-gradient-via {
585
+ syntax: "<color>";
586
+ inherits: false;
587
+ initial-value: #0000;
588
+ }
589
+ @property --tw-gradient-to {
590
+ syntax: "<color>";
591
+ inherits: false;
592
+ initial-value: #0000;
593
+ }
594
+ @property --tw-gradient-stops {
595
+ syntax: "*";
596
+ inherits: false;
597
+ }
598
+ @property --tw-gradient-via-stops {
599
+ syntax: "*";
600
+ inherits: false;
601
+ }
602
+ @property --tw-gradient-from-position {
603
+ syntax: "<length-percentage>";
604
+ inherits: false;
605
+ initial-value: 0%;
606
+ }
607
+ @property --tw-gradient-via-position {
608
+ syntax: "<length-percentage>";
609
+ inherits: false;
610
+ initial-value: 50%;
611
+ }
612
+ @property --tw-gradient-to-position {
613
+ syntax: "<length-percentage>";
614
+ inherits: false;
615
+ initial-value: 100%;
616
+ }
617
+ @property --tw-content {
618
+ syntax: "*";
619
+ inherits: false;
620
+ initial-value: "";
621
+ }
622
+ @property --tw-border-spacing-x {
623
+ syntax: "<length>";
624
+ inherits: false;
625
+ initial-value: 0;
626
+ }
627
+ @property --tw-border-spacing-y {
628
+ syntax: "<length>";
629
+ inherits: false;
630
+ initial-value: 0;
631
+ }
632
+ @layer properties {
633
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
634
+ *, ::before, ::after, ::backdrop {
635
+ --tw-leading: initial;
636
+ --tw-font-weight: initial;
637
+ --tw-duration: initial;
638
+ --tw-ease: initial;
639
+ --tw-border-style: solid;
640
+ --tw-gradient-position: initial;
641
+ --tw-gradient-from: #0000;
642
+ --tw-gradient-via: #0000;
643
+ --tw-gradient-to: #0000;
644
+ --tw-gradient-stops: initial;
645
+ --tw-gradient-via-stops: initial;
646
+ --tw-gradient-from-position: 0%;
647
+ --tw-gradient-via-position: 50%;
648
+ --tw-gradient-to-position: 100%;
649
+ --tw-content: "";
650
+ --tw-border-spacing-x: 0;
651
+ --tw-border-spacing-y: 0;
652
+ }
653
+ }
654
+ }