@voidzero-dev/vitepress-theme 4.1.0 → 4.1.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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/components/vitepress-default/Layout.vue +8 -3
- package/src/components/vitepress-default/VPDoc.vue +0 -1
- package/src/styles/marketing.css +1 -1
- package/src/styles/vitepress-default/components/vp-code-group.css +10 -0
- package/src/styles/vitepress-default/components/vp-doc.css +5 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Shared VitePress theme for VoidZero projects, including Vite+, Vite, Vitest, Rol
|
|
|
6
6
|
|
|
7
7
|
Make to sure to in latest commit
|
|
8
8
|
|
|
9
|
-
1. Update version in `package.json`
|
|
9
|
+
1. Update version in `package.json` and commit it (don't push yet)
|
|
10
10
|
2. Add tag locally `git tag vx.y.z` (matching version in package.json)
|
|
11
11
|
3. Push changes `git push origin`
|
|
12
12
|
4. Push to remote `git push origin vx.y.z`
|
package/package.json
CHANGED
|
@@ -157,15 +157,20 @@ provide(layoutInfoInjectionKey, { heroImageSlotExists })
|
|
|
157
157
|
position: relative;
|
|
158
158
|
margin: 0 auto;
|
|
159
159
|
width: 100%;
|
|
160
|
-
max-width: calc(100vw - 2rem);
|
|
161
|
-
border-left: 1px solid var(--color-stroke);
|
|
162
|
-
border-right: 1px solid var(--color-stroke);
|
|
163
160
|
}
|
|
164
161
|
|
|
165
162
|
.dark .content-wrapper {
|
|
166
163
|
border-color: var(--color-nickel);
|
|
167
164
|
}
|
|
168
165
|
|
|
166
|
+
@media (min-width: 768px) {
|
|
167
|
+
.content-wrapper {
|
|
168
|
+
max-width: calc(100vw - 2rem);
|
|
169
|
+
border-left: 1px solid var(--color-stroke);
|
|
170
|
+
border-right: 1px solid var(--color-stroke);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
169
174
|
@media (min-width: 90rem) {
|
|
170
175
|
.content-wrapper {
|
|
171
176
|
max-width: 90rem;
|
package/src/styles/marketing.css
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
/* Marketing component classes - prefixed with .vz- to avoid conflicts */
|
|
55
55
|
.wrapper {
|
|
56
|
-
@apply max-w-[calc(100vw-2rem)] min-[90rem]:max-w-[90rem] mx-auto border-l border-r border-stroke dark:border-nickel divide-stroke dark:divide-nickel relative overflow-x-clip;
|
|
56
|
+
@apply md:max-w-[calc(100vw-2rem)] min-[90rem]:max-w-[90rem] mx-auto md:border-l md:border-r border-stroke dark:border-nickel divide-stroke dark:divide-nickel relative overflow-x-clip;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.wrapper--ticks::before, .tick-left::before {
|
|
@@ -94,3 +94,13 @@
|
|
|
94
94
|
.vp-block {
|
|
95
95
|
padding: 20px 24px;
|
|
96
96
|
}
|
|
97
|
+
|
|
98
|
+
.vp-code-block-title > .vp-code-block-title-bar {
|
|
99
|
+
border-radius: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@media (min-width: 640px) {
|
|
103
|
+
.vp-code-block-title > .vp-code-block-title-bar {
|
|
104
|
+
border-radius: 8px 8px 0 0;
|
|
105
|
+
}
|
|
106
|
+
}
|