slidev-workspace 0.9.1 → 0.9.2
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.
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="min-h-screen transition-colors sw-page">
|
|
3
3
|
<div class="min-h-screen sw-layout">
|
|
4
4
|
<aside
|
|
5
|
-
class="sw-sidebar w-full border-r border-
|
|
5
|
+
class="sw-sidebar w-full border-r border-border text-sidebar-foreground"
|
|
6
6
|
>
|
|
7
7
|
<div
|
|
8
8
|
class="sticky top-0 flex h-screen flex-col px-6 py-10 text-sidebar-foreground w-[270px]"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
</div>
|
|
82
82
|
</aside>
|
|
83
83
|
|
|
84
|
-
<header class="sw-header
|
|
84
|
+
<header class="sw-header">
|
|
85
85
|
<div class="max-w-[900px]">
|
|
86
86
|
<div class="px-6 py-8 lg:px-12 lg:py-10">
|
|
87
87
|
<Drawer direction="left">
|
|
@@ -94,9 +94,7 @@
|
|
|
94
94
|
<PanelLeft class="size-5" />
|
|
95
95
|
</button>
|
|
96
96
|
</DrawerTrigger>
|
|
97
|
-
<DrawerContent
|
|
98
|
-
class="bg-[#F1F1F1] text-sidebar-foreground dark:bg-[#191919]"
|
|
99
|
-
>
|
|
97
|
+
<DrawerContent class="sw-drawer text-sidebar-foreground">
|
|
100
98
|
<div
|
|
101
99
|
class="flex h-full flex-col px-6 py-8 text-sidebar-foreground"
|
|
102
100
|
>
|
|
@@ -208,7 +206,7 @@
|
|
|
208
206
|
</div>
|
|
209
207
|
</header>
|
|
210
208
|
|
|
211
|
-
<section class="sw-main
|
|
209
|
+
<section class="sw-main">
|
|
212
210
|
<div class="max-w-[900px]">
|
|
213
211
|
<div
|
|
214
212
|
class="grid grid-cols-1 gap-6 px-6 pb-12 sm:grid-cols-2 xl:grid-cols-3 lg:px-12"
|
|
@@ -359,14 +357,19 @@ const filteredSlides = computed(() => {
|
|
|
359
357
|
}
|
|
360
358
|
|
|
361
359
|
.sw-page {
|
|
362
|
-
--sw-sidebar-bg: #f1f1f1;
|
|
363
|
-
--sw-main-bg: #f5f5f5;
|
|
364
360
|
background: var(--sw-main-bg);
|
|
365
361
|
}
|
|
366
362
|
|
|
367
|
-
:global(
|
|
363
|
+
:global(:root) {
|
|
364
|
+
--sw-sidebar-bg: #f1f1f1;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
:global(.dark) {
|
|
368
368
|
--sw-sidebar-bg: #191919;
|
|
369
|
-
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
:global(.sw-drawer) {
|
|
372
|
+
background: var(--sw-sidebar-bg);
|
|
370
373
|
}
|
|
371
374
|
|
|
372
375
|
@media (max-width: 1024px) {
|