@voidzero-dev/vitepress-theme 0.0.17 → 0.0.18
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/dist/_virtual/_/plugin-vue/export-helper.js +11 -0
- package/dist/assets/cta-background-CgYtVhnO.jpg +1 -0
- package/dist/assets/cta-background.jpg +1 -0
- package/dist/{style.css → index.css} +14 -11
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -6544
- package/dist/vitepress/assets/cta-background.js +5 -0
- package/dist/vitepress/components/Eyebrow.js +18 -0
- package/dist/vitepress/components/Footer.js +72 -0
- package/dist/vitepress/components/Header.js +34 -0
- package/dist/vitepress/components/RiveAnimation.js +117 -0
- package/dist/vitepress/components/Terminal.js +161 -0
- package/dist/vitepress/components/icons/VZIconBluesky.js +21 -0
- package/dist/vitepress/components/icons/VZIconGitHub.js +21 -0
- package/dist/vitepress/components/icons/VZIconLogo.js +24 -0
- package/dist/vitepress/components/icons/VZIconTwitter.js +21 -0
- package/dist/vitepress/components/terminal-animations/TerminalAnimation1.js +37 -0
- package/dist/vitepress/components/terminal-animations/TerminalAnimation2.js +44 -0
- package/dist/vitepress/components/terminal-animations/TerminalAnimation3.js +37 -0
- package/dist/vitepress/components/terminal-animations/TerminalAnimation4.js +37 -0
- package/dist/vitepress/components/terminal-animations/TerminalAnimation5.js +37 -0
- package/dist/vitepress/components/terminal-animations/TerminalAnimation6.js +37 -0
- package/dist/vitepress/index.d.ts +34 -0
- package/dist/vitepress/index.js +21 -0
- package/package.json +14 -22
- package/assets/checkmark.svg +0 -1
- package/assets/primary-button-background.jpg +0 -0
- package/assets/terminal-background.jpg +0 -0
- package/components/Eyebrow.vue +0 -11
- package/components/Footer.vue +0 -44
- package/components/Header.vue +0 -38
- package/components/RiveAnimation.vue +0 -144
- package/components/Terminal.vue +0 -165
- package/components/terminal-animations/TerminalAnimation1.vue +0 -54
- package/components/terminal-animations/TerminalAnimation2.vue +0 -59
- package/components/terminal-animations/TerminalAnimation3.vue +0 -46
- package/components/terminal-animations/TerminalAnimation4.vue +0 -50
- package/components/terminal-animations/TerminalAnimation5.vue +0 -51
- package/components/terminal-animations/TerminalAnimation6.vue +0 -55
- package/composables/useTypewriter.ts +0 -43
- package/dist/assets/terminal-background.jpg +0 -0
- package/dist/index.js.map +0 -1
- package/fonts/APK-Protocol-Medium.woff2 +0 -0
- package/fonts/KHTeka-Medium.woff2 +0 -0
- package/fonts/KHTeka-Regular.woff2 +0 -0
- package/fonts/KHTekaMono-Medium.woff2 +0 -0
- package/fonts/KHTekaMono-Regular.woff2 +0 -0
- package/style.css +0 -343
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/style.css
DELETED
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared theme styles
|
|
3
|
-
*
|
|
4
|
-
* Usage in consuming project:
|
|
5
|
-
* @import "@voidzero-dev/vitepress-theme/style.css";
|
|
6
|
-
* @import "tailwindcss" source(".") source("../../node_modules/@voidzero-dev/vitepress-theme/components");
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
@plugin "@tailwindcss/typography";
|
|
10
|
-
|
|
11
|
-
@custom-variant dark (&:where(.dark, .dark *));
|
|
12
|
-
|
|
13
|
-
/* Fonts */
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: 'APK Protocol';
|
|
16
|
-
font-weight: 500;
|
|
17
|
-
src: url('./fonts/APK-Protocol-Medium.woff2') format('woff2');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@font-face {
|
|
21
|
-
font-family: 'KH Teka';
|
|
22
|
-
font-weight: 400;
|
|
23
|
-
src: url('./fonts/KHTeka-Regular.woff2') format('woff2');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@font-face {
|
|
27
|
-
font-family: 'KH Teka';
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
src: url('./fonts/KHTeka-Medium.woff2') format('woff2');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@font-face {
|
|
33
|
-
font-family: 'KH Teka Mono';
|
|
34
|
-
font-weight: 400;
|
|
35
|
-
src: url('./fonts/KHTekaMono-Regular.woff2') format('woff2');
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@font-face {
|
|
39
|
-
font-family: 'KH Teka Mono';
|
|
40
|
-
font-weight: 500;
|
|
41
|
-
src: url('./fonts/KHTekaMono-Medium.woff2') format('woff2');
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
|
|
45
|
-
|
|
46
|
-
@theme {
|
|
47
|
-
--font-*: initial;
|
|
48
|
-
--font-heading: 'APK Protocol', sans-serif;
|
|
49
|
-
--font-sans: 'KH Teka', sans-serif;
|
|
50
|
-
--font-mono: 'KH Teka Mono', monospace;
|
|
51
|
-
|
|
52
|
-
--color-*: initial;
|
|
53
|
-
--color-white: #FFFFFF;
|
|
54
|
-
--color-primary: #08060D;
|
|
55
|
-
--color-beige: #F4F3EC;
|
|
56
|
-
--color-nickel: #3B3440;
|
|
57
|
-
--color-grey: #827A89;
|
|
58
|
-
--color-stroke: #E5E4E7;
|
|
59
|
-
--color-midnight: #0C0912;
|
|
60
|
-
--color-slate: #14121A;
|
|
61
|
-
--color-ruby: #863BFF;
|
|
62
|
-
--color-wine: #140033;
|
|
63
|
-
--color-violet: #140033;
|
|
64
|
-
--color-plum: #1D0033;
|
|
65
|
-
--color-electric: #6C3BFF;
|
|
66
|
-
--color-vite: #b39aff;
|
|
67
|
-
--color-space: #110033;
|
|
68
|
-
--color-zest: #22FF73;
|
|
69
|
-
--color-forest: #002611;
|
|
70
|
-
--color-fire: #FF5500;
|
|
71
|
-
--color-rust: #260001;
|
|
72
|
-
--color-aqua: #32F3E9;
|
|
73
|
-
--color-sea: #002624;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@layer components {
|
|
77
|
-
|
|
78
|
-
h1 {
|
|
79
|
-
@apply text-5xl md:text-6xl font-medium font-heading text-balance text-primary md:leading-[4.2rem] tracking-tighter;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
h2 {
|
|
83
|
-
@apply text-3xl md:text-5xl font-medium font-heading tracking-tight text-balance text-primary;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
h3 {
|
|
87
|
-
@apply text-3xl md:text-4xl font-medium font-heading text-balance text-primary;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
h4 {
|
|
91
|
-
@apply text-xl md:text-3xl font-medium font-heading text-balance text-primary;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
h5 {
|
|
95
|
-
@apply text-lg md:text-2xl font-medium font-heading md:leading-7 text-balance text-primary;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
h6 {
|
|
99
|
-
@apply text-base md:text-xl font-medium font-heading md:leading-7 text-balance text-primary;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
p, li {
|
|
103
|
-
@apply text-base md:text-lg text-grey;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
code {
|
|
107
|
-
@apply font-mono text-space text-base px-1.5 py-0.5 outline outline-stroke rounded dark:outline-grey dark:text-white;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.wrapper {
|
|
111
|
-
@apply max-w-[calc(100vw-2rem)] xl:max-w-[80rem] mx-auto border-l border-r border-stroke dark:border-nickel divide-stroke dark:divide-nickel relative overflow-x-clip;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.wrapper--ticks::before, .tick-left::before {
|
|
115
|
-
content: '';
|
|
116
|
-
position: absolute;
|
|
117
|
-
top: -5px;
|
|
118
|
-
left: 0;
|
|
119
|
-
width: 0;
|
|
120
|
-
height: 0;
|
|
121
|
-
border-top: 5px solid transparent;
|
|
122
|
-
border-right: 5px solid transparent;
|
|
123
|
-
border-bottom: 5px solid transparent;
|
|
124
|
-
border-left: 5px solid var(--color-stroke);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.wrapper--ticks::after, .tick-right::after {
|
|
128
|
-
content: '';
|
|
129
|
-
position: absolute;
|
|
130
|
-
top: -5px;
|
|
131
|
-
right: 0;
|
|
132
|
-
width: 0;
|
|
133
|
-
height: 0;
|
|
134
|
-
border-top: 5px solid transparent;
|
|
135
|
-
border-right: 5px solid var(--color-stroke);
|
|
136
|
-
border-bottom: 5px solid transparent;
|
|
137
|
-
border-left: 5px solid transparent;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
[data-theme=dark] .wrapper--ticks::before, [data-theme=dark] .tick-left::before {
|
|
141
|
-
border-left-color: var(--color-nickel);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
[data-theme=dark] .wrapper--ticks::after, [data-theme=dark] .tick-right::after {
|
|
145
|
-
border-right-color: var(--color-nickel);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.button {
|
|
149
|
-
@apply select-none py-2 px-4 rounded-lg outline outline-stroke inline-flex items-center gap-2 overflow-hidden justify-center text-primary dark:text-white bg-white dark:bg-transparent dark:outline-nickel font-medium hover:shadow-md dark:hover:bg-white dark:hover:text-primary hover:scale-105 transition-all;
|
|
150
|
-
|
|
151
|
-
&.button--sm{
|
|
152
|
-
@apply text-base py-1.5 px-3 rounded;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&.button--primary {
|
|
156
|
-
@apply text-white relative overflow-visible outline-none transition-colors transform-gpu hover:scale-105 transition-transform;
|
|
157
|
-
|
|
158
|
-
&:hover {
|
|
159
|
-
|
|
160
|
-
&::before {
|
|
161
|
-
filter: brightness(130%);
|
|
162
|
-
transform: scaleX(1.0125) scaleY(1.025);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&::after {
|
|
166
|
-
transform: scaleX(0.98) scaleY(0.96);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&::before {
|
|
171
|
-
content: '';
|
|
172
|
-
position: absolute;
|
|
173
|
-
top: -3px;
|
|
174
|
-
left: -3px;
|
|
175
|
-
right: -3px;
|
|
176
|
-
bottom: -3px;
|
|
177
|
-
background-color: #CCCCCC;
|
|
178
|
-
background-image: url('./assets/primary-button-background.jpg');
|
|
179
|
-
background-size: 150% 150%;
|
|
180
|
-
background-position: center;
|
|
181
|
-
border-radius: calc(0.5rem + 3px);
|
|
182
|
-
z-index: -2;
|
|
183
|
-
animation: move-background 16s ease-in-out infinite;
|
|
184
|
-
transition: all 200ms ease-in-out;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&::after {
|
|
188
|
-
content: '';
|
|
189
|
-
position: absolute;
|
|
190
|
-
inset: 0;
|
|
191
|
-
background: var(--color-primary);
|
|
192
|
-
z-index: -1;
|
|
193
|
-
border-radius: 0.5rem;
|
|
194
|
-
transition: all 300ms ease-in-out;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&.button--white {
|
|
198
|
-
@apply text-primary;
|
|
199
|
-
|
|
200
|
-
&::after {
|
|
201
|
-
background: var(--color-white);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@keyframes move-background {
|
|
210
|
-
0%, 100% {
|
|
211
|
-
background-position: 40% 40%;
|
|
212
|
-
}
|
|
213
|
-
50% {
|
|
214
|
-
background-position: 60% 60%;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.stacked-blocks {
|
|
219
|
-
@apply flex items-center justify-start;
|
|
220
|
-
|
|
221
|
-
> *:not(:first-child) {
|
|
222
|
-
@apply -ml-2;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
li, a {
|
|
226
|
-
@apply size-12 sm:size-14 relative bg-[#F9F8F5] rounded-xl outline-[3px] outline-offset-[-3px] outline-white overflow-hidden p-4 flex items-center justify-center;
|
|
227
|
-
transition: transform 0.2s ease;
|
|
228
|
-
|
|
229
|
-
&:hover {
|
|
230
|
-
transform: translateY(-4px);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
> *:nth-child(1) {
|
|
235
|
-
&:hover, &:hover li, &:hover a {
|
|
236
|
-
transform: translateY(-4px) rotate(-5deg);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
> *:nth-child(2) {
|
|
241
|
-
&:hover, &:hover li, &:hover a {
|
|
242
|
-
transform: translateY(-4px) rotate(5deg);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
> *:nth-child(3) {
|
|
247
|
-
&:hover, &:hover li, &:hover a {
|
|
248
|
-
transform: translateY(-4px) rotate(-5deg);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
> *:nth-child(4) {
|
|
253
|
-
&:hover, &:hover li, &:hover a {
|
|
254
|
-
transform: translateY(-4px) rotate(5deg);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.checkmark-list {
|
|
260
|
-
@apply list-none flex flex-col gap-3;
|
|
261
|
-
|
|
262
|
-
li {
|
|
263
|
-
@apply text-white text-base tracking-tight relative pl-8;
|
|
264
|
-
|
|
265
|
-
&::before {
|
|
266
|
-
content: '';
|
|
267
|
-
position: absolute;
|
|
268
|
-
left: 0;
|
|
269
|
-
top: 50%;
|
|
270
|
-
transform: translateY(-50%);
|
|
271
|
-
width: 20px;
|
|
272
|
-
height: 20px;
|
|
273
|
-
background-image: url('./assets/checkmark.svg');
|
|
274
|
-
background-size: contain;
|
|
275
|
-
background-repeat: no-repeat;
|
|
276
|
-
background-position: center;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.project-icon {
|
|
282
|
-
@apply flex items-center gap-2;
|
|
283
|
-
|
|
284
|
-
figcaption {
|
|
285
|
-
@apply text-white text-base tracking-tight;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
ul.nav {
|
|
290
|
-
@apply flex items-center gap-10;
|
|
291
|
-
|
|
292
|
-
li {
|
|
293
|
-
a {
|
|
294
|
-
@apply !text-primary text-base;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/* Reka UI tabs styling */
|
|
300
|
-
[role="tablist"] {
|
|
301
|
-
[data-reka-collection-item] {
|
|
302
|
-
@apply px-1.5 sm:px-2.5 py-1 rounded text-sm font-mono tracking-tight text-grey cursor-pointer hover:text-white transition-colors duration-75 select-none;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
[data-reka-collection-item][data-state='active'] {
|
|
306
|
-
@apply bg-white text-primary;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
html {
|
|
313
|
-
overflow-x: clip;
|
|
314
|
-
font-size: 16px;
|
|
315
|
-
color: var(--color-nickel);
|
|
316
|
-
|
|
317
|
-
[data-theme=dark] {
|
|
318
|
-
color: var(--color-white);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
body {
|
|
323
|
-
margin: 0;
|
|
324
|
-
padding: 0;
|
|
325
|
-
position: relative;
|
|
326
|
-
overflow-x: clip;
|
|
327
|
-
text-rendering: optimizeLegibility;
|
|
328
|
-
image-rendering: high-quality;
|
|
329
|
-
-webkit-font-smoothing: antialiased;
|
|
330
|
-
-moz-osx-font-smoothing: grayscale;
|
|
331
|
-
|
|
332
|
-
&::-webkit-scrollbar {
|
|
333
|
-
width: 10px;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
&::-webkit-scrollbar-track {
|
|
337
|
-
background-color: #efefef;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
&::-webkit-scrollbar-thumb {
|
|
341
|
-
background-color: #000;
|
|
342
|
-
}
|
|
343
|
-
}
|