starlight-theme-bejamas 0.0.0-canary.0440c77

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.
@@ -0,0 +1,124 @@
1
+ ---
2
+ import {
3
+ Select,
4
+ SelectControl,
5
+ SelectIndicator,
6
+ SelectOption,
7
+ } from "virtual:starlight-theme-bejamas/components/select";
8
+
9
+ import { SunIcon, MoonIcon, LaptopIcon } from "@lucide/astro";
10
+ ---
11
+
12
+ <starlight-theme-select>
13
+ <div class="relative text-sm">
14
+ <div class="sl-bejamas-theme-select-icons">
15
+ <SunIcon class="theme-icon theme-icon-light size-4" />
16
+ <MoonIcon class="theme-icon theme-icon-dark size-4" />
17
+ <LaptopIcon class="theme-icon theme-icon-auto size-4" />
18
+ </div>
19
+ <Select showCheckmark={false}>
20
+ <SelectIndicator />
21
+ <SelectControl
22
+ showCheckmark={false}
23
+ class="sl-bejamas-theme-select-control"
24
+ >
25
+ <SelectOption value="light"
26
+ ><SunIcon class="size-4" /> Light</SelectOption
27
+ >
28
+ <SelectOption value="dark"
29
+ ><MoonIcon class="size-4" /> Dark</SelectOption
30
+ >
31
+ <SelectOption value="auto"
32
+ ><LaptopIcon class="size-4" /> Auto</SelectOption
33
+ >
34
+ </SelectControl>
35
+ </Select>
36
+ </div>
37
+ </starlight-theme-select>
38
+
39
+ <script is:inline>
40
+ StarlightThemeProvider.updatePickers();
41
+ </script>
42
+
43
+ <script>
44
+ type Theme = "auto" | "dark" | "light";
45
+ const storageKey = "starlight-theme";
46
+
47
+ const parseTheme = (theme: unknown): Theme =>
48
+ theme === "auto" || theme === "dark" || theme === "light" ? theme : "auto";
49
+
50
+ const loadTheme = (): Theme =>
51
+ parseTheme(
52
+ typeof localStorage !== "undefined" && localStorage.getItem(storageKey),
53
+ );
54
+
55
+ function storeTheme(theme: Theme): void {
56
+ if (typeof localStorage !== "undefined") {
57
+ localStorage.setItem(
58
+ storageKey,
59
+ theme === "light" || theme === "dark" ? theme : "",
60
+ );
61
+ }
62
+ }
63
+
64
+ const getPreferredColorScheme = (): Theme =>
65
+ matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
66
+
67
+ function onThemeChange(theme: Theme): void {
68
+ const resolved = theme === "auto" ? getPreferredColorScheme() : theme;
69
+ StarlightThemeProvider.updatePickers(theme);
70
+ document.documentElement.dataset.theme = resolved;
71
+ document.documentElement.dataset.themeChoice = theme;
72
+ document.documentElement.classList.toggle("dark", resolved === "dark");
73
+ storeTheme(theme);
74
+ }
75
+
76
+ matchMedia("(prefers-color-scheme: light)").addEventListener("change", () => {
77
+ if (loadTheme() === "auto") onThemeChange("auto");
78
+ });
79
+
80
+ class StarlightThemeSelect extends HTMLElement {
81
+ constructor() {
82
+ super();
83
+ onThemeChange(loadTheme());
84
+ this.querySelector("select")?.addEventListener("change", (e) => {
85
+ if (e.currentTarget instanceof HTMLSelectElement) {
86
+ onThemeChange(parseTheme(e.currentTarget.value));
87
+ }
88
+ });
89
+ }
90
+ }
91
+
92
+ customElements.define("starlight-theme-select", StarlightThemeSelect);
93
+ </script>
94
+
95
+ <style>
96
+ .theme-icon {
97
+ display: none;
98
+ }
99
+
100
+ :global(html[data-theme-choice="light"]) .theme-icon-light {
101
+ display: block;
102
+ }
103
+
104
+ :global(html[data-theme-choice="dark"]) .theme-icon-dark {
105
+ display: block;
106
+ }
107
+
108
+ :global(html[data-theme-choice="auto"]) .theme-icon-auto {
109
+ display: block;
110
+ }
111
+
112
+ .sl-bejamas-theme-select-icons {
113
+ position: absolute;
114
+ z-index: 10;
115
+ left: calc(var(--spacing) * 3);
116
+ top: calc(var(--spacing) * 2.5);
117
+ pointer-events: none;
118
+ }
119
+
120
+ .sl-bejamas-theme-select-control {
121
+ padding-left: calc(var(--spacing) * 9);
122
+ width: calc(var(--spacing) * 28);
123
+ }
124
+ </style>
@@ -0,0 +1,584 @@
1
+ @layer starlight, bejamas;
2
+
3
+ @import "@fontsource-variable/inter/index.css";
4
+
5
+ @layer bejamas {
6
+ @media (min-width: 50rem) {
7
+ :root::after {
8
+ content: "";
9
+ position: fixed;
10
+ inset: 0;
11
+ right: calc(var(--spacing) * 6);
12
+ background: linear-gradient(
13
+ var(--background) 49.99%,
14
+ var(--sl-main-frame-inner-background) 50%
15
+ );
16
+ z-index: -1;
17
+ }
18
+ }
19
+
20
+ .page {
21
+ background-color: var(--background);
22
+ }
23
+
24
+ :root {
25
+ --sl-font: "Inter Variable", sans-serif;
26
+ --sl-font-mono: "Geist Mono", monospace;
27
+
28
+ --radius: 0.5rem;
29
+
30
+ --sl-color-text-accent: var(--accent-foreground);
31
+
32
+ --sl-color-banner-text: var(--foreground);
33
+
34
+ --sl-color-bg-inline-code: var(--input);
35
+
36
+ --sl-color-hairline-shade: var(--border);
37
+
38
+ --sl-color-bg-sidebar: var(--background);
39
+
40
+ --sl-color-gray-5: var(--input);
41
+ --sl-color-black: transparent;
42
+
43
+ --code-background: var(--background);
44
+ --sl-color-text: var(--foreground);
45
+
46
+ --sl-text-h1: var(--text-3xl);
47
+ --sl-text-h2: var(--text-xl);
48
+ --sl-text-h3: var(--text-lg);
49
+
50
+ --sl-color-gray-2: var(--input);
51
+
52
+ --default-font-family: "Inter Variable", sans-serif;
53
+ --font-sans: "Inter Variable", sans-serif;
54
+
55
+ --sl-color-bg: var(--background);
56
+ --sl-color-fg: var(--foreground);
57
+ --sl-color-primary: var(--primary);
58
+ --sl-color-primary-fg: var(--primary-foreground);
59
+
60
+ --sl-color-hairline: var(--border);
61
+ --sl-color-bg-nav: var(--background);
62
+
63
+ --sl-color-text-accent: var(--primary);
64
+ --sl-color-accent: var(--primary);
65
+
66
+ --sl-nav-height: calc(var(--spacing) * 15);
67
+ /* --sl-nav-height: auto; */
68
+ --sl-nav-pad-y: calc(var(--spacing) * 4.5);
69
+ --sl-content-pad-x: calc(var(--spacing) * 5);
70
+ --sl-nav-pad-x: calc(var(--spacing) * 1 + var(--sl-content-pad-x));
71
+ --sl-main-frame-inner-background: color-mix(
72
+ in oklab,
73
+ var(--muted) 100%,
74
+ transparent
75
+ );
76
+ --sl-main-frame-inner-border: var(--border);
77
+ --sl-content-inline-start: 0rem;
78
+
79
+ --sl-icon-color: var(--foreground);
80
+ --ec-frm-inlBtnBgHoverOrFocusOpa: 1;
81
+ --ec-frm-trmIcon: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBMaWNlbnNlOiBNSVQuIE1hZGUgYnkgcGhvc3Bob3I6IGh0dHBzOi8vZ2l0aHViLmNvbS9waG9zcGhvci1pY29ucy9waG9zcGhvci1pY29ucyAtLT4KPHN2ZyBmaWxsPSIjMDAwMDAwIiB3aWR0aD0iMThweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgMjU2IDI1NiIgaWQ9IkZsYXQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTExNy4zMTQ5NCwxMzMuOTc5NDlsLTcyLDY0YTguMDAwMTgsOC4wMDAxOCwwLDAsMS0xMC42Mjk4OC0xMS45NTlMOTkuOTU4NSwxMjgsMzQuNjg1MDYsNjkuOTc5NDlhOC4wMDAxOCw4LjAwMDE4LDAsMCwxLDEwLjYyOTg4LTExLjk1OWw3Miw2NGE4LjAwMDU0LDguMDAwNTQsMCwwLDEsMCwxMS45NTlaTTIxNS45OTQxNCwxODRoLTk2YTgsOCwwLDAsMCwwLDE2aDk2YTgsOCwwLDEsMCwwLTE2WiIvPgo8L3N2Zz4=);
82
+ --ecGtrBrdWd: 5px;
83
+ }
84
+
85
+ @media (min-width: 50em) {
86
+ :root {
87
+ --sl-nav-height: calc(var(--spacing) * 18);
88
+ }
89
+ [data-has-sidebar] {
90
+ --sl-sidebar-width: 0;
91
+ }
92
+ }
93
+
94
+ @media (min-width: 64em) {
95
+ [data-has-sidebar] {
96
+ --sl-sidebar-width: 18.75rem;
97
+ }
98
+ }
99
+
100
+ html {
101
+ scrollbar-gutter: stable;
102
+ }
103
+
104
+ html[data-theme="dark"],
105
+ html.dark {
106
+ --sl-main-frame-inner-background: color-mix(
107
+ in oklab,
108
+ var(--muted) 30%,
109
+ transparent
110
+ );
111
+ --sl-main-frame-inner-border: color-mix(
112
+ in oklab,
113
+ var(--border) 50%,
114
+ transparent
115
+ );
116
+ }
117
+ }
118
+
119
+ @layer bejamas {
120
+ .sidebar-pane .sidebar-content {
121
+ --sl-sidebar-item-padding-inline: 1rem;
122
+ padding-top: 0;
123
+ }
124
+
125
+ .right-sidebar-panel {
126
+ --sl-sidebar-item-padding-inline: 1rem;
127
+ padding-top: calc(var(--spacing) * 14);
128
+ }
129
+
130
+ .right-sidebar-panel a {
131
+ color: var(--muted-foreground);
132
+ }
133
+
134
+ .right-sidebar-panel a[aria-current="true"] {
135
+ color: var(--foreground);
136
+ }
137
+
138
+ .right-sidebar-panel a:hover {
139
+ color: var(--foreground);
140
+ }
141
+
142
+ .right-sidebar,
143
+ .sidebar .sidebar-pane {
144
+ border: 0;
145
+ }
146
+
147
+ @media (min-width: 72rem) {
148
+ .right-sidebar {
149
+ position: sticky;
150
+ top: var(--sl-nav-height);
151
+ padding-top: 0;
152
+ height: auto;
153
+ }
154
+ }
155
+
156
+ .sidebar-content a {
157
+ background-color: var(--background);
158
+ padding: 0;
159
+ }
160
+
161
+ .group-label > span {
162
+ color: var(--muted-foreground);
163
+ font-size: 0.875rem;
164
+ font-weight: 500;
165
+ }
166
+
167
+ .group-label + svg {
168
+ color: var(--muted-foreground);
169
+ font-size: 1rem;
170
+ }
171
+
172
+ .sidebar-content a > span {
173
+ color: var(--foreground);
174
+ padding-inline: 0.5rem;
175
+ padding-block: 0.375rem;
176
+ border-radius: 0.5rem;
177
+ /* transition-property: color, background-color;
178
+ transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
179
+ transition-duration: 0.05s; */
180
+ display: inline-block;
181
+ }
182
+
183
+ .sidebar-content a[aria-current="page"] > span {
184
+ background-color: var(--secondary);
185
+ color: var(--foreground);
186
+ font-weight: 500;
187
+ }
188
+
189
+ .sidebar-content a:not([aria-current="page"]):hover > span {
190
+ background-color: var(--secondary);
191
+ color: var(--secondary-foreground);
192
+ }
193
+
194
+ .sidebar-content ul ul li {
195
+ margin-inline-start: 0;
196
+ border-inline-start: 0;
197
+ padding-inline-start: 0;
198
+ margin-bottom: 1px;
199
+ }
200
+
201
+ .right-sidebar-container {
202
+ max-width: 20rem;
203
+ margin-right: 0;
204
+ margin-left: auto;
205
+ }
206
+
207
+ .content-panel {
208
+ border-top: 0;
209
+ }
210
+
211
+ .content-panel:first-child {
212
+ padding-bottom: 0;
213
+ padding-top: calc(var(--spacing) * 5);
214
+ }
215
+
216
+ .content-panel:last-child {
217
+ padding-bottom: 0;
218
+ }
219
+
220
+ @media (min-width: 50rem) {
221
+ .content-panel:first-child {
222
+ padding-top: calc(var(--spacing) * 12);
223
+ }
224
+ }
225
+
226
+ .right-sidebar-panel h2 {
227
+ color: var(--muted-foreground);
228
+ font-size: 0.875rem;
229
+ font-weight: 500;
230
+ padding-inline: 0.5rem;
231
+ }
232
+
233
+ site-search button {
234
+ --tw-shadow: var(--shadow-sm);
235
+ box-shadow:
236
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
237
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
238
+ border-radius: calc(var(--radius) - 2px);
239
+ max-width: calc(var(--spacing) * 50);
240
+ }
241
+
242
+ .expressive-code .frame {
243
+ box-shadow: none;
244
+ }
245
+
246
+ .expressive-code .frame pre {
247
+ border: 1px solid var(--border);
248
+ }
249
+
250
+ .expressive-code .frame.is-terminal .header {
251
+ padding: 0;
252
+ }
253
+
254
+ .expressive-code .copy {
255
+ top: calc(var(--spacing) * 2);
256
+ }
257
+
258
+ .expressive-code .copy button {
259
+ opacity: 1;
260
+ }
261
+
262
+ .expressive-code .frame.is-terminal .header::before {
263
+ width: 1.125rem;
264
+ height: 1.125rem;
265
+ background-color: var(--muted-foreground);
266
+ opacity: 1;
267
+ }
268
+
269
+ .expressive-code .frame.is-terminal .header .title::after {
270
+ content: "Terminal";
271
+ color: var(--muted-foreground);
272
+ font-size: 0.75rem;
273
+ margin-left: 2rem;
274
+ font-family: var(--font-sans);
275
+ }
276
+
277
+ .expressive-code .copy button div {
278
+ background: var(--secondary);
279
+ }
280
+
281
+ ul.top-level li details ul li:last-child {
282
+ margin-bottom: 1.25rem;
283
+ }
284
+
285
+ ul.top-level summary {
286
+ margin-bottom: 0.25rem;
287
+ }
288
+
289
+ starlight-tabs[data-sync-key="pkg"] .tablist-wrapper {
290
+ background-color: var(--code-background);
291
+ border: 1px solid var(--border);
292
+ border-bottom: 0;
293
+
294
+ padding-top: 0;
295
+ border-top-left-radius: var(--radius-lg);
296
+ border-top-right-radius: var(--radius-lg);
297
+ font-size: 0.75rem;
298
+ }
299
+
300
+ .expressive-code pre {
301
+ border-radius: var(--radius-lg);
302
+ }
303
+
304
+ .expressive-code .frame.has-title pre {
305
+ border-radius: 0 0 var(--radius-lg) var(--radius-lg);
306
+ }
307
+
308
+ .expressive-code .frame.is-terminal pre {
309
+ border-radius: 0 0 var(--radius-lg) var(--radius-lg);
310
+ }
311
+
312
+ starlight-tabs[data-sync-key="pkg"] .tablist-wrapper ul {
313
+ padding-block: calc(var(--spacing) * 2);
314
+ padding-inline: calc(var(--spacing) * 4);
315
+ gap: 0;
316
+ }
317
+
318
+ .tab {
319
+ margin-bottom: 0;
320
+ }
321
+
322
+ starlight-tabs[data-sync-key="pkg"] .tablist-wrapper a {
323
+ border-bottom: 0;
324
+ padding-block: calc(var(--spacing) * 0.5);
325
+ padding-inline: calc(var(--spacing) * 2);
326
+ }
327
+
328
+ starlight-tabs[data-sync-key="pkg"] .tablist-wrapper a[aria-selected="true"] {
329
+ background-color: var(--secondary);
330
+ color: var(--secondary-foreground);
331
+ border-bottom: 0;
332
+ border-radius: calc(var(--radius) - 4px);
333
+ }
334
+
335
+ starlight-tabs[data-sync-key="pkg"] .tablist-wrapper ~ div[role="tabpanel"] {
336
+ margin-top: 0;
337
+ }
338
+
339
+ starlight-tabs[data-sync-key="pkg"] figcaption.header .title {
340
+ border-radius: 0;
341
+ border-top: 0;
342
+ }
343
+
344
+ .tablist-wrapper > ul {
345
+ border: 0;
346
+ gap: 1.25rem;
347
+ }
348
+
349
+ .tablist-wrapper > ul a {
350
+ padding-inline: 0;
351
+ }
352
+
353
+ .tablist-wrapper > ul a[aria-selected="true"] {
354
+ font-weight: 500;
355
+ }
356
+
357
+ .sl-heading-wrapper.level-h2:not(:first-child) {
358
+ margin-top: 4rem;
359
+ }
360
+
361
+ .sl-heading-wrapper.level-h3:not(:first-child) {
362
+ margin-top: 3rem;
363
+ }
364
+
365
+ .sl-markdown-content a:not(:where(.not-content *)) {
366
+ text-decoration: underline;
367
+ text-underline-offset: 4px;
368
+ }
369
+
370
+ button[data-open-modal] {
371
+ border-color: var(--border);
372
+ color: var(--foreground);
373
+ box-shadow: var(--shadow-xs);
374
+ background-color: var(--background);
375
+ height: calc(var(--spacing) * 9);
376
+ }
377
+
378
+ button[data-open-modal] kbd {
379
+ background-color: var(--muted);
380
+ color: var(--muted-foreground);
381
+ border-radius: calc(var(--radius) - 4px);
382
+ gap: 0;
383
+ }
384
+
385
+ .tablist-wrapper ~ [role="tabpanel"] {
386
+ margin-top: calc(var(--spacing) * 2.5);
387
+ }
388
+
389
+ starlight-tabs starlight-tabs {
390
+ margin-top: 0;
391
+ }
392
+
393
+ /* .expressive-code .header {
394
+ background-color: var(--background);
395
+ border: 1px solid var(--border);
396
+ } */
397
+
398
+ .expressive-code .title {
399
+ background-color: var(--background);
400
+ color: var(--muted-foreground);
401
+ border-color: var(--border);
402
+ border: 1px solid var(--border);
403
+
404
+ width: 100%;
405
+ border-bottom: 0;
406
+ font-size: 0.75rem;
407
+ padding-block: 0.75rem;
408
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
409
+ }
410
+
411
+ .sl-markdown-content :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
412
+ font-weight: 500;
413
+ }
414
+
415
+ .sl-bejamas-component-preview {
416
+ min-height: 450px;
417
+ padding: 1rem;
418
+ border: 1px solid var(--border);
419
+ border-radius: 0.5rem;
420
+ display: flex;
421
+ justify-content: center;
422
+ align-items: center;
423
+ background-color: var(--background);
424
+ }
425
+
426
+ .sl-markdown-content ul:not(:where(.not-content *)) {
427
+ list-style: disc;
428
+ padding-left: 1rem;
429
+ }
430
+
431
+ .sl-markdown-content ol:not(:where(.not-content *)) {
432
+ list-style: decimal;
433
+ padding-left: 1rem;
434
+ }
435
+
436
+ .tablist-wrapper {
437
+ overflow-x: inherit;
438
+ }
439
+
440
+ .tablist-wrapper a[role="tab"] {
441
+ border-bottom: 0;
442
+ padding: 0;
443
+ display: inline-block;
444
+ }
445
+
446
+ .sl-markdown-content :is(th, td):not(:where(.not-content *)) {
447
+ min-width: 10rem;
448
+ padding-inline: 1rem;
449
+ border-color: var(--border);
450
+ }
451
+
452
+ .sl-markdown-content
453
+ :is(tr):last-child
454
+ :is(th, td):not(:where(.not-content *)) {
455
+ border-bottom: 0;
456
+ }
457
+
458
+ .sl-markdown-content table:not(:where(.not-content *)) {
459
+ border: 1px solid var(--border);
460
+ border-radius: calc(var(--radius) - 2px);
461
+ }
462
+
463
+ .main-frame {
464
+ min-height: 100svh;
465
+ }
466
+
467
+ @media (min-width: 50em) {
468
+ .main-frame {
469
+ padding-inline: calc(var(--spacing) * 5);
470
+ }
471
+ }
472
+
473
+ @media (min-width: 64em) {
474
+ .main-frame {
475
+ padding-inline-end: calc(var(--spacing) * 6);
476
+ padding-inline-start: var(--sl-content-inline-start);
477
+ }
478
+ }
479
+
480
+ .sidebar-content::before {
481
+ content: "";
482
+ --blur: 4px;
483
+ --stop: 50%;
484
+ --height: 40px;
485
+ position: sticky;
486
+ pointer-events: none;
487
+ width: 100%;
488
+ height: var(--height);
489
+ user-select: none;
490
+ -webkit-user-select: none;
491
+ left: 0;
492
+ -webkit-backdrop-filter: blur(var(--blur));
493
+ backdrop-filter: blur(var(--blur));
494
+
495
+ background: linear-gradient(to top, transparent, var(--background));
496
+ mask-image: linear-gradient(
497
+ to bottom,
498
+ var(--background) var(--stop),
499
+ transparent
500
+ );
501
+ top: 0;
502
+ }
503
+
504
+ .sidebar-content::after {
505
+ content: "";
506
+ --blur: 4px;
507
+ --stop: 50%;
508
+ --height: 80px;
509
+ position: sticky;
510
+ pointer-events: none;
511
+ width: 100%;
512
+ height: var(--height);
513
+ user-select: none;
514
+ -webkit-user-select: none;
515
+ left: 0;
516
+ -webkit-backdrop-filter: blur(var(--blur));
517
+ backdrop-filter: blur(var(--blur));
518
+
519
+ background: linear-gradient(to bottom, transparent, var(--background));
520
+ mask-image: linear-gradient(
521
+ to top,
522
+ var(--background) var(--stop),
523
+ transparent
524
+ );
525
+ bottom: 0;
526
+ }
527
+
528
+ starlight-file-tree {
529
+ --x-space: calc(var(--spacing) * 5);
530
+ background-color: var(--background);
531
+ border: 1px solid var(--border);
532
+ border-radius: var(--radius-lg);
533
+ }
534
+
535
+ starlight-file-tree ul {
536
+ border-inline-start-color: var(--border);
537
+ }
538
+
539
+ starlight-file-tree .comment {
540
+ color: var(--muted-foreground);
541
+ max-width: calc(var(--spacing) * 150);
542
+ }
543
+
544
+ starlight-menu-button button {
545
+ box-shadow: none;
546
+ padding: 0;
547
+ width: calc(var(--spacing) * 6);
548
+ background-color: var(--background);
549
+ color: var(--foreground);
550
+ }
551
+
552
+ starlight-menu-button button svg {
553
+ width: calc(var(--spacing) * 8);
554
+ height: calc(var(--spacing) * 8);
555
+ font-size: calc(var(--spacing) * 8);
556
+ }
557
+
558
+ #starlight__on-this-page--mobile {
559
+ /* border-top: 1px solid var(--border); */
560
+ border-bottom: 0;
561
+ }
562
+
563
+ #starlight__on-this-page--mobile .toggle {
564
+ border: 0;
565
+ color: var(--muted-foreground);
566
+ padding-left: 0;
567
+ background-color: var(--background);
568
+ }
569
+
570
+ .sl-container {
571
+ margin-inline: auto;
572
+ }
573
+
574
+ @media (min-width: 64rem) {
575
+ .sl-container {
576
+ margin-inline: var(--sl-content-margin-inline, auto);
577
+ }
578
+ }
579
+
580
+ .size-4 {
581
+ width: calc(var(--spacing) * 4);
582
+ height: calc(var(--spacing) * 4);
583
+ }
584
+ }