@universal-ember/docs-support 0.9.2 → 0.9.4

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 (54) hide show
  1. package/README.md +0 -1
  2. package/declarations/article.d.ts.map +1 -1
  3. package/declarations/callout.d.ts.map +1 -1
  4. package/declarations/errors.d.ts +1 -1
  5. package/declarations/errors.d.ts.map +1 -1
  6. package/declarations/icons.d.ts.map +1 -1
  7. package/declarations/index-page.d.ts.map +1 -1
  8. package/declarations/index.d.ts +1 -1
  9. package/declarations/index.d.ts.map +1 -1
  10. package/declarations/links.d.ts.map +1 -1
  11. package/declarations/menu-layout.d.ts.map +1 -1
  12. package/declarations/page-layout.d.ts +21 -1
  13. package/declarations/page-layout.d.ts.map +1 -1
  14. package/declarations/shell.d.ts +1 -8
  15. package/declarations/shell.d.ts.map +1 -1
  16. package/declarations/side-nav.d.ts +0 -2
  17. package/declarations/side-nav.d.ts.map +1 -1
  18. package/declarations/text.d.ts.map +1 -1
  19. package/dist/icons.js +1 -1
  20. package/dist/icons.js.map +1 -1
  21. package/dist/index-page.css +0 -1
  22. package/dist/index.js +58 -98
  23. package/dist/site-css/components.css +84 -4
  24. package/dist/site-css/featured-demo.css +8 -2
  25. package/dist/site-css/prose.css +320 -0
  26. package/dist/site-css/shell.css +21 -3
  27. package/dist/site-css/site.css +49 -14
  28. package/dist/theme-toggle.css +9 -1
  29. package/dist/types/scoped-css.d.ts +2 -0
  30. package/dist/types/scoped-css.d.ts.map +1 -0
  31. package/package.json +21 -24
  32. package/src/article.gts +1 -36
  33. package/src/callout.gts +48 -8
  34. package/src/errors.gts +14 -3
  35. package/src/h2.gts +1 -1
  36. package/src/icons.gts +6 -12
  37. package/src/index-page.css +0 -1
  38. package/src/index-page.gts +69 -6
  39. package/src/index.gts +2 -2
  40. package/src/links.gts +2 -12
  41. package/src/menu-layout.gts +15 -2
  42. package/src/page-layout.gts +188 -37
  43. package/src/shell.gts +1 -8
  44. package/src/side-nav.gts +99 -25
  45. package/src/site-css/components.css +84 -4
  46. package/src/site-css/featured-demo.css +8 -2
  47. package/src/site-css/prose.css +320 -0
  48. package/src/site-css/shell.css +21 -3
  49. package/src/site-css/site.css +49 -14
  50. package/src/text.gts +10 -1
  51. package/src/theme-toggle.css +9 -1
  52. package/src/theme-toggle.gts +2 -2
  53. package/src/types/scoped-css.d.ts +8 -0
  54. package/tailwind.mjs +0 -74
@@ -1,23 +1,103 @@
1
+ /* Lightbulb icon (callout) */
2
+ .lightbulb-icon {
3
+ --icon-foreground: #0f172a;
4
+ --icon-background: white;
5
+ }
6
+
7
+ .icon-bg-fill {
8
+ fill: var(--icon-background);
9
+ }
10
+
11
+ .icon-fg-fill {
12
+ fill: var(--icon-foreground);
13
+ }
14
+
15
+ .lightbulb-light {
16
+ display: block;
17
+ }
18
+
19
+ .lightbulb-dark {
20
+ display: none;
21
+ }
22
+
23
+ :is(html[style*="color-scheme: dark"]) .lightbulb-light {
24
+ display: none;
25
+ }
26
+
27
+ :is(html[style*="color-scheme: dark"]) .lightbulb-dark {
28
+ display: inline;
29
+ }
30
+
1
31
  .edit-page:after {
2
32
  content: "➚";
3
- @apply pl-1;
33
+ padding-left: 0.25rem;
4
34
  }
5
35
 
6
36
  .prose details {
7
- @apply px-6 py-3 mb-6 -mt-0 border rounded-xl dark:border-slate-800;
37
+ padding-left: 1.5rem;
38
+ padding-right: 1.5rem;
39
+ padding-top: 0.75rem;
40
+ padding-bottom: 0.75rem;
41
+ margin-bottom: 1.5rem;
42
+ margin-top: 0;
43
+ border: 1px solid #e2e8f0;
44
+ border-radius: 0.75rem;
45
+
46
+ :is(html[style*="color-scheme: dark"]) & {
47
+ border-color: #1e293b;
48
+ }
8
49
  }
9
50
 
10
51
  .prose summary {
11
- @apply font-medium cursor-default select-none text-slate-900 dark:text-slate-200;
52
+ font-weight: 500;
53
+ cursor: default;
54
+ user-select: none;
55
+ color: #0f172a;
56
+
57
+ :is(html[style*="color-scheme: dark"]) & {
58
+ color: #e2e8f0;
59
+ }
12
60
  }
13
61
 
14
62
  .prose summary h1,
15
63
  .prose summary h2,
16
64
  .prose summary h3 {
17
- @apply inline m-0;
65
+ display: inline;
66
+ margin: 0;
18
67
  }
19
68
 
20
69
  .prose pre {
21
70
  max-height: 520px;
22
71
  }
23
72
 
73
+ /* Styled links used in Links component */
74
+ .styled-link {
75
+ --link-prose-background: #fff;
76
+ --link-prose-underline: #7dd3fc;
77
+ --link-prose-underline-size: 4px;
78
+
79
+ font-size: 0.875rem;
80
+ line-height: 1.25rem;
81
+ font-weight: 600;
82
+ text-decoration: none;
83
+ box-shadow:
84
+ inset 0 -2px 0 0 var(--link-prose-background),
85
+ inset 0 calc(-1 * (var(--link-prose-underline-size) + 2px)) 0 0 var(--link-prose-underline);
86
+ }
87
+
88
+ .styled-link:hover {
89
+ --link-prose-underline-size: 6px;
90
+ }
91
+
92
+ :is(html[style*="color-scheme: dark"]) .styled-link {
93
+ --link-prose-background: #0f172a;
94
+ --link-prose-underline: #075985;
95
+
96
+ color: #38bdf8;
97
+ box-shadow: inset 0 calc(-1 * var(--link-prose-underline-size, 2px)) 0 0
98
+ var(--link-prose-underline);
99
+ }
100
+
101
+ :is(html[style*="color-scheme: dark"]) .styled-link:hover {
102
+ --link-prose-underline-size: 6px;
103
+ }
@@ -1,9 +1,15 @@
1
1
  .featured-demo .glimdown-render,
2
2
  .featured-demo .repl-sdk__demo {
3
- @apply w-full max-w-full p-20 bg-gradient-to-r from-violet-600 to-indigo-600 rounded-xl max-h-80 text-slate-50;
3
+ width: 100%;
4
+ max-width: 100%;
5
+ padding: 5rem;
6
+ background: linear-gradient(to right, #7c3aed, #4f46e5);
7
+ border-radius: 0.75rem;
8
+ max-height: 20rem;
9
+ color: #f8fafc;
4
10
  }
5
11
 
6
12
  .featured-demo.auto-height .glimdown-render,
7
13
  .featured-demo.auto-height .repl-sdk__demo {
8
- @apply max-h-none;
14
+ max-height: none;
9
15
  }
@@ -0,0 +1,320 @@
1
+ /**
2
+ * Prose typography styles
3
+ * Replaces @tailwindcss/typography plugin
4
+ */
5
+
6
+ .prose {
7
+ --prose-body: #334155;
8
+ --prose-headings: #0f172a;
9
+ --prose-lead: #64748b;
10
+ --prose-links: #0f172a;
11
+ --prose-bold: #0f172a;
12
+ --prose-counters: #64748b;
13
+ --prose-bullets: #94a3b8;
14
+ --prose-hr: #e2e8f0;
15
+ --prose-quotes: #0f172a;
16
+ --prose-quote-borders: #e2e8f0;
17
+ --prose-captions: #64748b;
18
+ --prose-kbd: #0f172a;
19
+ --prose-kbd-shadows: 17 24 39;
20
+ --prose-code: #0f172a;
21
+ --prose-pre-code: #e2e8f0;
22
+ --prose-pre-bg: #02020e;
23
+ --prose-th-borders: #cbd5e1;
24
+ --prose-td-borders: #e2e8f0;
25
+ --prose-background: #fff;
26
+ --prose-underline: #7dd3fc;
27
+ --prose-underline-size: 2px;
28
+
29
+ color: var(--prose-body);
30
+ max-width: none;
31
+ font-size: 1rem;
32
+ line-height: 1.75;
33
+ }
34
+
35
+ :is(html[style*="color-scheme: dark"]) .prose {
36
+ --prose-body: #94a3b8;
37
+ --prose-headings: #f8fafc;
38
+ --prose-lead: #94a3b8;
39
+ --prose-links: #f8fafc;
40
+ --prose-bold: #f8fafc;
41
+ --prose-counters: #94a3b8;
42
+ --prose-bullets: #475569;
43
+ --prose-hr: #1e293b;
44
+ --prose-quotes: #f1f5f9;
45
+ --prose-quote-borders: #1e293b;
46
+ --prose-captions: #94a3b8;
47
+ --prose-kbd: #f8fafc;
48
+ --prose-code: #f8fafc;
49
+ --prose-pre-code: #e2e8f0;
50
+ --prose-pre-bg: rgb(30 41 59 / 0.6);
51
+ --prose-th-borders: #475569;
52
+ --prose-td-borders: #1e293b;
53
+ --prose-background: #0f172a;
54
+ --prose-underline: #075985;
55
+ --prose-underline-size: 2px;
56
+
57
+ color: #94a3b8;
58
+ }
59
+
60
+ /* Headings */
61
+ .prose :where(h1, h2, h3, h4, h5, h6):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
62
+ color: var(--prose-headings);
63
+ font-weight: 400;
64
+ font-family: var(--font-display, "Helvetica", "Arial", sans-serif);
65
+ display: inline-block;
66
+ scroll-margin-top: 7rem;
67
+ }
68
+
69
+ @media (min-width: 1024px) {
70
+ .prose :where(h1, h2, h3, h4, h5, h6):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
71
+ scroll-margin-top: 8.5rem;
72
+ }
73
+ }
74
+
75
+ .prose :where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
76
+ font-size: 1.875rem;
77
+ line-height: 2.25rem;
78
+ margin-top: 0;
79
+ margin-bottom: 0.875em;
80
+ }
81
+
82
+ .prose :where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
83
+ font-size: 1.5em;
84
+ margin-top: 2em;
85
+ margin-bottom: 1em;
86
+ line-height: 1.333;
87
+ }
88
+
89
+ .prose :where(h3):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
90
+ font-size: 1.25em;
91
+ margin-top: 1.6em;
92
+ margin-bottom: 0.6em;
93
+ line-height: 1.6;
94
+ }
95
+
96
+ .prose :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
97
+ margin-top: 1.5em;
98
+ margin-bottom: 0.5em;
99
+ line-height: 1.5;
100
+ }
101
+
102
+ /* Paragraphs */
103
+ .prose :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
104
+ margin-top: 1.25em;
105
+ margin-bottom: 1.25em;
106
+ }
107
+
108
+ /* Lead text */
109
+ .prose :where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
110
+ color: var(--prose-lead);
111
+ font-size: 1.25em;
112
+ line-height: 1.6;
113
+ margin-top: 1.2em;
114
+ margin-bottom: 1.2em;
115
+ }
116
+
117
+ /* Links */
118
+ .prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
119
+ color: var(--prose-links);
120
+ font-weight: 600;
121
+ text-decoration: none;
122
+ box-shadow:
123
+ inset 0 -2px 0 0 var(--prose-background),
124
+ inset 0 calc(-1 * (var(--prose-underline-size) + 2px)) 0 0 var(--prose-underline);
125
+ }
126
+
127
+ .prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)):hover {
128
+ --prose-underline-size: 3px;
129
+ }
130
+
131
+ :is(html[style*="color-scheme: dark"])
132
+ .prose
133
+ :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
134
+ color: #38bdf8;
135
+ }
136
+
137
+ :is(html[style*="color-scheme: dark"])
138
+ .prose
139
+ :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)):hover {
140
+ --prose-underline-size: 6px;
141
+ }
142
+
143
+ /* Bold */
144
+ .prose :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
145
+ color: var(--prose-bold);
146
+ font-weight: 600;
147
+ }
148
+
149
+ /* Lists */
150
+ .prose :where(ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
151
+ list-style-type: decimal;
152
+ margin-top: 1.25em;
153
+ margin-bottom: 1.25em;
154
+ padding-left: 1.625em;
155
+ }
156
+
157
+ .prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
158
+ list-style-type: disc;
159
+ margin-top: 1.25em;
160
+ margin-bottom: 1.25em;
161
+ padding-left: 1.625em;
162
+ }
163
+
164
+ .prose :where(li):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
165
+ margin-top: 0.5em;
166
+ margin-bottom: 0.5em;
167
+ }
168
+
169
+ .prose :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
170
+ color: var(--prose-counters);
171
+ }
172
+
173
+ .prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
174
+ color: var(--prose-bullets);
175
+ }
176
+
177
+ /* Blockquotes */
178
+ .prose :where(blockquote):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
179
+ font-weight: 500;
180
+ font-style: italic;
181
+ color: var(--prose-quotes);
182
+ border-left: 0.25rem solid var(--prose-quote-borders);
183
+ margin-top: 1.6em;
184
+ margin-bottom: 1.6em;
185
+ padding-left: 1em;
186
+ quotes: "\201C" "\201D" "\2018" "\2019";
187
+ }
188
+
189
+ /* Horizontal rules */
190
+ .prose :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
191
+ border-color: var(--prose-hr);
192
+ border-top-width: 1px;
193
+ margin-top: 3em;
194
+ margin-bottom: 3em;
195
+ }
196
+
197
+ /* Code */
198
+ .prose :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
199
+ color: var(--prose-code);
200
+ font-weight: 600;
201
+ font-size: 0.875em;
202
+ font-family:
203
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
204
+ monospace;
205
+ }
206
+
207
+ :is(html[style*="color-scheme: dark"])
208
+ .prose
209
+ :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
210
+ color: #f8fafc;
211
+ }
212
+
213
+ /* Pre (code blocks) */
214
+ .prose :where(pre):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
215
+ color: var(--prose-pre-code);
216
+ background-color: var(--prose-pre-bg);
217
+ overflow-x: auto;
218
+ font-weight: 400;
219
+ font-size: 0.875em;
220
+ line-height: 1.714;
221
+ margin-top: 1.714em;
222
+ margin-bottom: 1.714em;
223
+ border-radius: 0.75rem;
224
+ padding: 0.857em 1.143em;
225
+ box-shadow:
226
+ 0 10px 15px -3px rgb(0 0 0 / 0.1),
227
+ 0 4px 6px -4px rgb(0 0 0 / 0.1);
228
+ }
229
+
230
+ :is(html[style*="color-scheme: dark"])
231
+ .prose
232
+ :where(pre):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
233
+ background-color: rgb(30 41 59 / 0.6);
234
+ box-shadow: none;
235
+ outline: 1px solid rgb(203 213 225 / 0.1);
236
+ }
237
+
238
+ .prose :where(pre code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
239
+ background-color: transparent;
240
+ border-width: 0;
241
+ border-radius: 0;
242
+ padding: 0;
243
+ font-weight: inherit;
244
+ color: inherit;
245
+ font-size: inherit;
246
+ font-family: inherit;
247
+ line-height: inherit;
248
+ }
249
+
250
+ /* Tables */
251
+ .prose :where(table):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
252
+ width: 100%;
253
+ table-layout: auto;
254
+ text-align: left;
255
+ margin-top: 2em;
256
+ margin-bottom: 2em;
257
+ font-size: 0.875em;
258
+ line-height: 1.714;
259
+ }
260
+
261
+ .prose :where(thead):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
262
+ border-bottom-width: 1px;
263
+ border-bottom-color: var(--prose-th-borders);
264
+ }
265
+
266
+ .prose :where(thead th):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
267
+ color: var(--prose-headings);
268
+ font-weight: 600;
269
+ vertical-align: bottom;
270
+ padding-right: 0.571em;
271
+ padding-bottom: 0.571em;
272
+ padding-left: 0.571em;
273
+ display: table-cell;
274
+ }
275
+
276
+ .prose :where(tbody tr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
277
+ border-bottom-width: 1px;
278
+ border-bottom-color: var(--prose-td-borders);
279
+ }
280
+
281
+ .prose :where(tbody tr:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
282
+ border-bottom-width: 0;
283
+ }
284
+
285
+ .prose :where(tbody td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
286
+ vertical-align: baseline;
287
+ }
288
+
289
+ .prose :where(tfoot):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
290
+ border-top-width: 1px;
291
+ border-top-color: var(--prose-th-borders);
292
+ }
293
+
294
+ .prose :where(tfoot td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
295
+ vertical-align: top;
296
+ }
297
+
298
+ .prose :where(th, td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
299
+ text-align: left;
300
+ padding: 0.571em;
301
+ }
302
+
303
+ /* Figures and captions */
304
+ .prose :where(figure > *):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
305
+ margin-top: 0;
306
+ margin-bottom: 0;
307
+ }
308
+
309
+ .prose :where(figcaption):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
310
+ color: var(--prose-captions);
311
+ font-size: 0.875em;
312
+ line-height: 1.428;
313
+ margin-top: 0.857em;
314
+ }
315
+
316
+ /* Images and media */
317
+ .prose :where(img, video):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
318
+ margin-top: 2em;
319
+ margin-bottom: 2em;
320
+ }
@@ -12,7 +12,11 @@
12
12
 
13
13
  aside,
14
14
  aside nav {
15
- @apply bg-white dark:bg-slate-900;
15
+ background: white;
16
+
17
+ :is(html[style*="color-scheme: dark"]) & {
18
+ background: #02020e;
19
+ }
16
20
  }
17
21
 
18
22
  /**
@@ -20,10 +24,22 @@
20
24
  */
21
25
  .outer-content {
22
26
  max-width: 80rem;
23
- @apply sm:px-2 lg:px-8 xl:px-12;
27
+ padding-left: 0.5rem;
28
+ padding-right: 0.5rem;
24
29
  display: grid;
25
30
  gap: 0.5rem;
31
+
32
+ @media (min-width: 1024px) {
33
+ padding-left: 2rem;
34
+ padding-right: 2rem;
35
+ }
36
+
37
+ @media (min-width: 1280px) {
38
+ padding-left: 3rem;
39
+ padding-right: 3rem;
40
+ }
26
41
  }
42
+
27
43
  .mobile-menu-wrapper__content {
28
44
  .outer-content {
29
45
  display: grid;
@@ -93,9 +109,11 @@ header button.mobile-menu__toggle {
93
109
  .outer-content {
94
110
  grid-template-columns: 1fr;
95
111
 
96
- @apply px-4;
112
+ padding-left: 1rem;
113
+ padding-right: 1rem;
97
114
  }
98
115
  }
116
+
99
117
  .mobile-menu-wrapper__content aside {
100
118
  display: none;
101
119
  }
@@ -1,7 +1,3 @@
1
- @import "tailwindcss/base";
2
- @import "tailwindcss/components";
3
- @import "tailwindcss/utilities";
4
-
5
1
  html,
6
2
  body {
7
3
  /*overflow: hidden;*/
@@ -10,7 +6,14 @@ body {
10
6
 
11
7
  @layer base {
12
8
  body {
13
- @apply font-sans text-gray-900 bg-white;
9
+ font-family: var(--font-sans);
10
+ color: #111827;
11
+ background-color: white;
12
+ }
13
+
14
+ :is(html[style*="color-scheme: dark"]) body {
15
+ color: #f1f5f9;
16
+ background-color: #02020e;
14
17
  }
15
18
 
16
19
  [inert] ::-webkit-scrollbar {
@@ -30,15 +33,22 @@ textarea,
30
33
  [tabindex] {
31
34
  &:focus,
32
35
  &:focus-visible {
33
- @apply outline-none;
36
+ outline: none;
34
37
  }
38
+
35
39
  &:focus-visible {
36
- @apply ring-2 ring-offset-2 ring-[#e04e39] ring-offset-black rounded;
40
+ box-shadow:
41
+ 0 0 0 2px black,
42
+ 0 0 0 4px #e04e39;
43
+ border-radius: 0.25rem;
37
44
  }
38
45
  }
39
46
 
40
47
  [role="switch"][name="color-scheme"]:focus-visible + label .ball {
41
- @apply ring-2 ring-offset-2 ring-[#e04e39] ring-offset-black rounded;
48
+ box-shadow:
49
+ 0 0 0 2px black,
50
+ 0 0 0 4px #e04e39;
51
+ border-radius: 0.25rem;
42
52
  }
43
53
 
44
54
  .facade-header {
@@ -51,26 +61,51 @@ textarea,
51
61
  }
52
62
 
53
63
  nav[aria-label="Main Navigation"] {
54
- @apply text-base;
64
+ font-size: 1rem;
65
+ line-height: 1.5rem;
55
66
 
56
67
  > ul {
57
- @apply space-y-9;
68
+ display: flex;
69
+ flex-direction: column;
70
+ gap: 2.25rem;
58
71
 
59
72
  h2 {
60
- @apply font-medium font-display text-slate-900 dark:text-white;
73
+ font-weight: 500;
74
+ color: #0f172a;
75
+ font-family: var(--font-display);
76
+
77
+ :is(html[style*="color-scheme: dark"]) & {
78
+ color: white;
79
+ }
61
80
  }
62
81
 
63
82
  ul {
64
- @apply mt-2 space-y-2 border-l-2 border-slate-100 lg:mt-4 lg:space-y-4 lg:border-slate-200 dark:border-slate-800;
83
+ margin-top: 0.5rem;
84
+ display: flex;
85
+ flex-direction: column;
86
+ gap: 0.5rem;
87
+ border-left: 2px solid #f1f5f9;
88
+
89
+ :is(html[style*="color-scheme: dark"]) & {
90
+ border-color: #1e293b;
91
+ }
92
+
93
+ @media (min-width: 1024px) {
94
+ margin-top: 1rem;
95
+ gap: 1rem;
96
+ border-color: #e2e8f0;
97
+ }
65
98
  }
66
99
 
67
100
  li {
68
- @apply pl-4 relative;
101
+ padding-left: 1rem;
102
+ position: relative;
69
103
  }
70
104
 
71
105
  > li {
72
106
  > a {
73
- @apply font-medium font-display;
107
+ font-weight: 500;
108
+ font-family: var(--font-display);
74
109
  }
75
110
  }
76
111
  }
@@ -8,7 +8,15 @@
8
8
  transition: background 0.2s linear;
9
9
 
10
10
  .sr-only {
11
- margin-left: -0.5rem;
11
+ position: absolute;
12
+ width: 1px;
13
+ height: 1px;
14
+ padding: 0;
15
+ margin: -1px;
16
+ overflow: hidden;
17
+ clip: rect(0, 0, 0, 0);
18
+ white-space: nowrap;
19
+ border-width: 0;
12
20
  }
13
21
 
14
22
  input[type="checkbox"][role="switch"] {
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=scoped-css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoped-css.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}