slidev-theme-neversink 0.0.0
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/.github/workflows/deploy.yml +67 -0
- package/.prettierrc +15 -0
- package/.vscode/settings.json +4 -0
- package/LICENSE +21 -0
- package/README.md +112 -0
- package/assets/nyu_long_black_on_white.svg +41 -0
- package/components/Admonition.vue +80 -0
- package/components/AdmonitionType.vue +56 -0
- package/components/CreditScroll.vue +94 -0
- package/components/SpeechBubble.vue +294 -0
- package/components/StickyNote.vue +71 -0
- package/components/vue3-kawaii/README.md +5 -0
- package/components/vue3-kawaii/components/backpack/BackPack.vue +123 -0
- package/components/vue3-kawaii/components/backpack/backpackpaths.js +17 -0
- package/components/vue3-kawaii/components/browser/Browser.vue +56 -0
- package/components/vue3-kawaii/components/browser/browserpaths.js +9 -0
- package/components/vue3-kawaii/components/cat/Cat.vue +89 -0
- package/components/vue3-kawaii/components/cat/catpaths.js +8 -0
- package/components/vue3-kawaii/components/common/face/Face.vue +95 -0
- package/components/vue3-kawaii/components/common/face/facepaths.js +24 -0
- package/components/vue3-kawaii/components/common/wrapper/Wrapper.vue +24 -0
- package/components/vue3-kawaii/components/creditCard/CreditCard.vue +47 -0
- package/components/vue3-kawaii/components/creditCard/creditcardpaths.js +8 -0
- package/components/vue3-kawaii/components/ghost/Ghost.vue +48 -0
- package/components/vue3-kawaii/components/ghost/ghostpaths.js +8 -0
- package/components/vue3-kawaii/components/iceCream/IceCream.vue +49 -0
- package/components/vue3-kawaii/components/iceCream/icecreampaths.js +9 -0
- package/components/vue3-kawaii/components/mug/Mug.vue +48 -0
- package/components/vue3-kawaii/components/mug/mugpaths.js +7 -0
- package/components/vue3-kawaii/components/planet/Planet.vue +58 -0
- package/components/vue3-kawaii/components/planet/planetpaths.js +7 -0
- package/components/vue3-kawaii/components/speechBubble/SpeechBubbleGuy.vue +63 -0
- package/components/vue3-kawaii/components/speechBubble/speechbubblepaths.js +8 -0
- package/components/vue3-kawaii/utils/getUniqueId.js +10 -0
- package/docs/.vitepress/config.js +75 -0
- package/docs/.vitepress/theme/index.js +50 -0
- package/docs/.vitepress/theme/style.css +145 -0
- package/docs/api-examples.md +49 -0
- package/docs/branding.md +43 -0
- package/docs/colors.md +108 -0
- package/docs/components/admonitions.md +106 -0
- package/docs/components/creditscroll.md +1 -0
- package/docs/components/kawaii.md +26 -0
- package/docs/components/qrcode.md +24 -0
- package/docs/components/speechbubble.md +69 -0
- package/docs/components/stickynote.md +54 -0
- package/docs/components.md +19 -0
- package/docs/contributing.md +5 -0
- package/docs/customizing.md +38 -0
- package/docs/getting-started.md +32 -0
- package/docs/index.md +19 -0
- package/docs/layouts/cover.md +69 -0
- package/docs/layouts/credits.md +111 -0
- package/docs/layouts/default.md +88 -0
- package/docs/layouts/full.md +131 -0
- package/docs/layouts/intro.md +63 -0
- package/docs/layouts/quote.md +51 -0
- package/docs/layouts/section.md +67 -0
- package/docs/layouts/side-title.md +180 -0
- package/docs/layouts/top-title-two-cols.md +171 -0
- package/docs/layouts/top-title.md +103 -0
- package/docs/layouts/two-cols-title.md +273 -0
- package/docs/layouts.md +92 -0
- package/docs/markdown-examples.md +85 -0
- package/docs/markdown.md +87 -0
- package/docs/parts/columnsystem.md +18 -0
- package/docs/parts/layoutpicker.md +73 -0
- package/docs/public/deck.png +0 -0
- package/docs/public/layouts/side-title-12row.svg +27 -0
- package/docs/public/layouts/side-title-is-3.svg +7 -0
- package/docs/public/layouts/side-title-is-6.svg +7 -0
- package/docs/public/layouts/side-title-side.svg +13 -0
- package/docs/public/layouts/two-col-title-12row.svg +31 -0
- package/docs/public/layouts/two-col-title-align.svg +13 -0
- package/docs/public/layouts/two-col-title-is-4.svg +23 -0
- package/docs/public/layouts/two-col-title-is-6.svg +23 -0
- package/docs/public/layouts/two-col-title-titlepos.svg +31 -0
- package/docs/public/screenshots/1.png +0 -0
- package/docs/public/screenshots/10.png +0 -0
- package/docs/public/screenshots/11.png +0 -0
- package/docs/public/screenshots/12.png +0 -0
- package/docs/public/screenshots/13.png +0 -0
- package/docs/public/screenshots/14.png +0 -0
- package/docs/public/screenshots/15.png +0 -0
- package/docs/public/screenshots/16.png +0 -0
- package/docs/public/screenshots/17.png +0 -0
- package/docs/public/screenshots/18.png +0 -0
- package/docs/public/screenshots/19.png +0 -0
- package/docs/public/screenshots/2.png +0 -0
- package/docs/public/screenshots/20.png +0 -0
- package/docs/public/screenshots/21.png +0 -0
- package/docs/public/screenshots/22.png +0 -0
- package/docs/public/screenshots/23.png +0 -0
- package/docs/public/screenshots/24.png +0 -0
- package/docs/public/screenshots/25.png +0 -0
- package/docs/public/screenshots/26.png +0 -0
- package/docs/public/screenshots/27.png +0 -0
- package/docs/public/screenshots/28.png +0 -0
- package/docs/public/screenshots/29.png +0 -0
- package/docs/public/screenshots/3.png +0 -0
- package/docs/public/screenshots/30.png +0 -0
- package/docs/public/screenshots/31.png +0 -0
- package/docs/public/screenshots/32.png +0 -0
- package/docs/public/screenshots/33.png +0 -0
- package/docs/public/screenshots/34.png +0 -0
- package/docs/public/screenshots/35.png +0 -0
- package/docs/public/screenshots/36.png +0 -0
- package/docs/public/screenshots/37.png +0 -0
- package/docs/public/screenshots/38.png +0 -0
- package/docs/public/screenshots/4.png +0 -0
- package/docs/public/screenshots/5.png +0 -0
- package/docs/public/screenshots/6.png +0 -0
- package/docs/public/screenshots/7.png +0 -0
- package/docs/public/screenshots/8.png +0 -0
- package/docs/public/screenshots/9.png +0 -0
- package/example.md +1503 -0
- package/layoutHelper.ts +118 -0
- package/layouts/cover.vue +93 -0
- package/layouts/credits.vue +35 -0
- package/layouts/default.vue +18 -0
- package/layouts/four-cell.vue +210 -0
- package/layouts/full.vue +22 -0
- package/layouts/intro.vue +75 -0
- package/layouts/quote.vue +62 -0
- package/layouts/section.vue +84 -0
- package/layouts/side-title.vue +142 -0
- package/layouts/top-title-two-cols.vue +131 -0
- package/layouts/top-title.vue +63 -0
- package/layouts/two-cols-title.vue +176 -0
- package/layouts/two-cols.vue +141 -0
- package/package.json +54 -0
- package/public/images/photo.png +0 -0
- package/public/images/photo2.png +0 -0
- package/public/images/scatter1.png +0 -0
- package/public/images/scatter1.svg +20 -0
- package/screenshot.md +874 -0
- package/setup/main.ts +45 -0
- package/setup/shiki.ts +14 -0
- package/slide-bottom.vue +107 -0
- package/styles/base.css +240 -0
- package/styles/bubbles.css +4 -0
- package/styles/colors.css +12 -0
- package/styles/index.ts +11 -0
- package/styles/layouts.css +76 -0
- package/styles/stickynote.css +4 -0
- package/uno.config.ts +222 -0
- package/vite.config.ts +16 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import paths from './facepaths.js'
|
|
4
|
+
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
mood: {
|
|
7
|
+
type: String,
|
|
8
|
+
validator(val) {
|
|
9
|
+
return ['sad', 'shocked', 'happy', 'blissful', 'lovestruck', 'excited', 'ko'].includes(val)
|
|
10
|
+
},
|
|
11
|
+
default: 'blissful',
|
|
12
|
+
},
|
|
13
|
+
transform: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: '',
|
|
16
|
+
},
|
|
17
|
+
uniqueId: {
|
|
18
|
+
type: String,
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
const isJoyfulMood = computed(() => ['blissful', 'lovestruck', 'excited'].includes(props.mood))
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<g id="kawaii-face" :transform="transform">
|
|
28
|
+
<defs>
|
|
29
|
+
<path :d="paths.defs" id="kawaii-face__path-1" />
|
|
30
|
+
</defs>
|
|
31
|
+
<g id="kawaii-face__mouth" transform="translate(18.000000, 16.000000)">
|
|
32
|
+
<g v-if="isJoyfulMood" id="kawaii-face__mouth__joy" transform="translate(0.000000, 1.000000)">
|
|
33
|
+
<mask :id="`kawaii-face__mask-2-${uniqueId}`" fill="white">
|
|
34
|
+
<use xlink:href="#kawaii-face__path-1" />
|
|
35
|
+
</mask>
|
|
36
|
+
<use id="Combined-Shape" fill="#000000" xlink:href="#kawaii-face__path-1" />
|
|
37
|
+
<path
|
|
38
|
+
:d="paths.tongue"
|
|
39
|
+
id="kawaii-face__tongue"
|
|
40
|
+
fill="#E74144"
|
|
41
|
+
:mask="`url(#kawaii-face__mask-2-${uniqueId})`"
|
|
42
|
+
transform="translate(15.000000, 11.431885) scale(1, -1) translate(-15.000000, -11.431885)"
|
|
43
|
+
/>
|
|
44
|
+
</g>
|
|
45
|
+
<path v-if="mood === 'happy'" :d="paths.happy" id="kawaii-face__mouth__happy" fill="#000000" />
|
|
46
|
+
<ellipse
|
|
47
|
+
v-if="mood === 'shocked'"
|
|
48
|
+
id="kawaii-face__mouth__shocked"
|
|
49
|
+
cx="15"
|
|
50
|
+
cy="14"
|
|
51
|
+
rx="9"
|
|
52
|
+
ry="10"
|
|
53
|
+
fill="#000000"
|
|
54
|
+
/>
|
|
55
|
+
<path
|
|
56
|
+
v-if="['sad', 'ko'].includes(mood)"
|
|
57
|
+
:d="paths.sad"
|
|
58
|
+
id="kawaii-face__mouth__sad"
|
|
59
|
+
fill="#000000"
|
|
60
|
+
transform="translate(14.999999, 5.500000) scale(1, -1) translate(-14.999999, -5.500000)"
|
|
61
|
+
/>
|
|
62
|
+
</g>
|
|
63
|
+
<g id="kawaii-face__blush" transform="translate(0.000000, 15.000000)" fill="#000000" opacity="0.2">
|
|
64
|
+
<circle id="Oval" cx="3" cy="3" r="3" />
|
|
65
|
+
<circle id="Oval" cx="63" cy="3" r="3" />
|
|
66
|
+
</g>
|
|
67
|
+
<g id="kawaii-face__eyes" transform="translate(2.000000, 0.000000)" fill="#000000">
|
|
68
|
+
<g v-if="mood === 'blissful'" id="kawaii-face__eyes__arc" transform="translate(1.000000, 0.000000)">
|
|
69
|
+
<path :d="paths.bliss1" id="Fill-5" />
|
|
70
|
+
<path :d="paths.bliss2" id="Fill-5" />
|
|
71
|
+
</g>
|
|
72
|
+
<g
|
|
73
|
+
v-if="['happy', 'sad', 'shocked', 'excited'].includes(mood)"
|
|
74
|
+
id="kawaii-face__eyes__circle"
|
|
75
|
+
transform="translate(1.000000, 2.000000)"
|
|
76
|
+
>
|
|
77
|
+
<circle id="Oval-3" cx="4.5" cy="4.5" r="4.5" />
|
|
78
|
+
<circle id="Oval-3" cx="56.5" cy="4.5" r="4.5" />
|
|
79
|
+
</g>
|
|
80
|
+
<g
|
|
81
|
+
v-if="mood === 'lovestruck'"
|
|
82
|
+
id="kawaii-face__eyes__heart"
|
|
83
|
+
transform="translate(0.000000, 2.000000)"
|
|
84
|
+
fill-rule="nonzero"
|
|
85
|
+
>
|
|
86
|
+
<path :d="paths.lovestruck1" id="Shape" />
|
|
87
|
+
<path :d="paths.lovestruck2" id="Shape" />
|
|
88
|
+
</g>
|
|
89
|
+
<g v-if="mood === 'ko'" id="kawaii-face__eyes__ko" transform="translate(1.500000, 1.000000)" fill-rule="nonzero">
|
|
90
|
+
<path :d="paths.ko1" id="Cross" />
|
|
91
|
+
<path :d="paths.ko2" id="Cross" />
|
|
92
|
+
</g>
|
|
93
|
+
</g>
|
|
94
|
+
</g>
|
|
95
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const paths = {
|
|
2
|
+
defs: 'M1.45656876,3.14684877 C1.45656876,3.14684877 1.45656876,3.14684877 1.45656876,3.14684877 L0,3.14685315 C0,2.31818182 0.346033696,1.50734266 0.949429952,0.922027972 C1.55390756,0.335664336 2.38979521,0 3.2440659,0 L25.9525272,0 C26.8067979,0 27.6416041,0.335664336 28.2460818,0.922027972 C28.8505594,1.50734266 29.1965931,2.31818182 29.1965931,3.14685315 C29.1890236,5.85734266 28.240675,8.44825175 26.7127199,10.6814685 C25.1771954,12.9104895 23.0317865,14.8122378 20.4040931,16.0227273 C18.6544603,16.8251748 16.6809868,17.3087413 14.5982965,17.3076923 C11.4666916,17.3076923 8.61299495,16.2241259 6.33025392,14.5951049 C4.0399434,12.9587413 2.264358,10.779021 1.16245695,8.33811189 C0.431460764,6.70909091 0.0010813553,4.95314685 0,3.14685315 L1.45656896,3.14685315 Z',
|
|
3
|
+
tongue:
|
|
4
|
+
'M9.59865983,9.95467851 C9.59865983,9.95467851 9.59865983,9.95467851 9.59865983,9.95467851 L9,9.95467851 C9,9.66740582 9.14222222,9.38631493 9.39022222,9.18340586 C9.63866667,8.98013316 10.3333333,8 15,8 C19.6666667,8 20.3608889,8.98013316 20.6093333,9.18340586 C20.8577778,9.38631493 21,9.66740582 21,9.95467851 C20.9968889,10.8943148 20.6071111,11.7924965 19.9791111,12.5666783 C19.348,13.3394055 18.4662222,13.9986781 17.3862222,14.4183144 C16.6671111,14.6964962 15.856,14.8641326 15,14.8637689 C13.7128889,14.8637689 12.54,14.4881326 11.6017778,13.9234054 C10.6604444,13.3561327 9.93066667,12.6004964 9.47777778,11.7543147 C9.17733333,11.1895875 9.00044444,10.5808603 9,9.95467851 L9.59865983,9.95467851 Z',
|
|
5
|
+
happy:
|
|
6
|
+
'M6,1.9999998 C6.00066667,3.14799969 6.26599997,4.26466625 6.7166666,5.29933281 C7.39599986,6.85066599 8.49066642,8.23599919 9.90199962,9.27666575 C11.3099995,10.311999 13.0693326,10.9999989 14.9999991,10.9999989 C16.283999,11.0006656 17.5006655,10.6939989 18.5793321,10.1833323 C20.1993319,9.41466574 21.5219985,8.20599919 22.468665,6.788666 C23.4106649,5.36999947 23.9953316,3.72333297 23.9999982,1.9999998 C23.9999982,0.895333245 23.104665,0 21.9999984,0 C20.8953319,0 19.9999986,0.895333245 19.9999986,1.9999998 C20.0006653,2.51933308 19.8739986,3.11066636 19.6166653,3.7006663 C19.233332,4.58733288 18.5526654,5.4513328 17.7299988,6.0519994 C16.9033323,6.65733268 15.9686657,6.99999931 14.9999991,6.99999931 C14.3513325,6.99999931 13.7259992,6.84799932 13.1299993,6.56666602 C12.2373327,6.14866606 11.4226661,5.4193328 10.8599995,4.57066622 C10.2919996,3.7246663 9.99533294,2.77733306 9.99999961,1.9999998 C9.99999961,0.895333245 9.10466636,0 7.9999998,0 C6.89533325,0 6,0.895333245 6,1.9999998',
|
|
7
|
+
sad: 'M6,1.9999998 C6.00066667,3.14799969 6.26599997,4.26466625 6.7166666,5.29933281 C7.39599986,6.85066599 8.49066642,8.23599919 9.90199962,9.27666575 C11.3099995,10.311999 13.0693326,10.9999989 14.9999991,10.9999989 C16.283999,11.0006656 17.5006655,10.6939989 18.5793321,10.1833323 C20.1993319,9.41466574 21.5219985,8.20599919 22.468665,6.788666 C23.4106649,5.36999947 23.9953316,3.72333297 23.9999982,1.9999998 C23.9999982,0.895333245 23.104665,7.10542736e-15 21.9999984,7.10542736e-15 C20.8953319,7.10542736e-15 19.9999986,0.895333245 19.9999986,1.9999998 C20.0006653,2.51933308 19.8739986,3.11066636 19.6166653,3.7006663 C19.233332,4.58733288 18.5526654,5.4513328 17.7299988,6.0519994 C16.9033323,6.65733268 15.9686657,6.99999931 14.9999991,6.99999931 C14.3513325,6.99999931 13.7259992,6.84799932 13.1299993,6.56666602 C12.2373327,6.14866606 11.4226661,5.4193328 10.8599995,4.57066622 C10.2919996,3.7246663 9.99533294,2.77733306 9.99999961,1.9999998 C9.99999961,0.895333245 9.10466636,7.10542736e-15 7.9999998,7.10542736e-15 C6.89533325,7.10542736e-15 6,0.895333245 6,1.9999998',
|
|
8
|
+
bliss1:
|
|
9
|
+
'M11.3298651,9.72876106 C9.83321993,9.72876106 8.62018766,8.55758439 8.62018766,7.11258087 C8.62018766,6.27104292 7.91115541,5.58647579 7.03954249,5.58647579 C6.16883282,5.58647579 5.45889734,6.27104292 5.45889734,7.11258087 C5.45889734,8.55758439 4.2467683,9.72876106 2.74921991,9.72876106 C1.25257476,9.72876106 0.0395424927,8.55758439 0.0395424927,7.11258087 C0.0395424927,3.38626826 3.18005862,0.354115435 7.03954249,0.354115435 C10.8999296,0.354115435 14.0395425,3.38626826 14.0395425,7.11258087 C14.0395425,8.55758439 12.8274135,9.72876106 11.3298651,9.72876106',
|
|
10
|
+
bliss2:
|
|
11
|
+
'M57.3298651,9.72876106 C55.8332199,9.72876106 54.6201877,8.55758439 54.6201877,7.11258087 C54.6201877,6.27104292 53.9111554,5.58647579 53.0395425,5.58647579 C52.1688328,5.58647579 51.4588973,6.27104292 51.4588973,7.11258087 C51.4588973,8.55758439 50.2467683,9.72876106 48.7492199,9.72876106 C47.2525748,9.72876106 46.0395425,8.55758439 46.0395425,7.11258087 C46.0395425,3.38626826 49.1800586,0.354115435 53.0395425,0.354115435 C56.8999296,0.354115435 60.0395425,3.38626826 60.0395425,7.11258087 C60.0395425,8.55758439 58.8274135,9.72876106 57.3298651,9.72876106',
|
|
12
|
+
lovestruck1:
|
|
13
|
+
'M11.980165,2.98190092 C11.8050001,1.25390423 10.4403753,0.000206846623 8.73257491,0.000206846623 C7.5948106,0.000206846623 6.55305237,0.548970938 5.96686143,1.42848278 C5.38597852,0.537594374 4.38691529,0 3.26738291,0 C1.55981331,0 0.194957712,1.25369738 0.0200235653,2.98169407 C0.00617653522,3.05802048 -0.0505962882,3.45971662 0.12203002,4.11479988 C0.370814995,5.05967525 0.945466744,5.91912297 1.78344285,6.59964836 C1.78344285,6.59964836 4.36682268,10 5.96409202,10 C7.56136137,10 10.216515,6.59985521 10.216515,6.59985521 C11.0544911,5.91912297 11.6291428,5.0598821 11.8779278,4.11479988 C12.0505541,3.45992347 11.9937813,3.05822732 11.980165,2.98190092 Z',
|
|
14
|
+
lovestruck2:
|
|
15
|
+
'M62.980165,2.98190092 C62.8050001,1.25390423 61.4403753,0.000206846623 59.7325749,0.000206846623 C58.5948106,0.000206846623 57.5530524,0.548970938 56.9668614,1.42848278 C56.3859785,0.537594374 55.3869153,0 54.2673829,0 C52.5598133,0 51.1949577,1.25369738 51.0200236,2.98169407 C51.0061765,3.05802048 50.9494037,3.45971662 51.12203,4.11479988 C51.370815,5.05967525 51.9454667,5.91912297 52.7834428,6.59964836 C52.7834428,6.59964836 55.3668227,10 56.964092,10 C58.5613614,10 61.216515,6.59985521 61.216515,6.59985521 C62.0544911,5.91912297 62.6291428,5.0598821 62.8779278,4.11479988 C63.0505541,3.45992347 62.9937813,3.05822732 62.980165,2.98190092 Z',
|
|
16
|
+
shocked1:
|
|
17
|
+
'M5.29976191,8.12776191 L7.18533333,10.0133333 C7.576,10.404 8.088,10.5993333 8.6,10.5993333 C9.11133333,10.5993333 9.62333333,10.404 10.014,10.0133333 C10.7953333,9.23266667 10.7953333,7.966 10.014,7.18533333 L8.12814284,5.29966667 L10.014,3.414 C10.7953333,2.63333333 10.7953333,1.36666667 10.014,0.586 C9.23266667,-0.195333333 7.96666667,-0.195333333 7.18533333,0.586 L5.29976191,2.47157143 L3.414,0.586 C2.63266667,-0.195333333 1.36733333,-0.195333333 0.586,0.586 C-0.195333333,1.36666667 -0.195333333,2.63333333 0.586,3.414 L2.47166667,5.29966667 L0.586,7.18533333 C-0.195333333,7.966 -0.195333333,9.23266667 0.586,10.0133333 C0.976666667,10.404 1.488,10.5993333 2,10.5993333 C2.512,10.5993333 3.02333333,10.404 3.414,10.0133333 L5.29976191,8.12776191 Z',
|
|
18
|
+
shocked2:
|
|
19
|
+
'M51.2997619,8.12776191 L53.1853333,10.0133333 C53.576,10.404 54.088,10.5993333 54.6,10.5993333 C55.1113333,10.5993333 55.6233333,10.404 56.014,10.0133333 C56.7953333,9.23266667 56.7953333,7.966 56.014,7.18533333 L54.1281428,5.29966667 L56.014,3.414 C56.7953333,2.63333333 56.7953333,1.36666667 56.014,0.586 C55.2326667,-0.195333333 53.9666667,-0.195333333 53.1853333,0.586 L51.2997619,2.47157143 L49.414,0.586 C48.6326667,-0.195333333 47.3673333,-0.195333333 46.586,0.586 C45.8046667,1.36666667 45.8046667,2.63333333 46.586,3.414 L48.4716667,5.29966667 L46.586,7.18533333 C45.8046667,7.966 45.8046667,9.23266667 46.586,10.0133333 C46.9766667,10.404 47.488,10.5993333 48,10.5993333 C48.512,10.5993333 49.0233333,10.404 49.414,10.0133333 L51.2997619,8.12776191 Z',
|
|
20
|
+
ko1: 'M52.9142136,5.03553391 L50.4393398,2.56066017 C49.8535534,1.97487373 49.8535534,1.02512627 50.4393398,0.439339828 C51.0251263,-0.146446609 51.9748737,-0.146446609 52.5606602,0.439339828 L55.0355339,2.91421356 L57.5104076,0.439339828 C58.0961941,-0.146446609 59.0459415,-0.146446609 59.631728,0.439339828 C60.2175144,1.02512627 60.2175144,1.97487373 59.631728,2.56066017 L57.1568542,5.03553391 L59.631728,7.51040764 C60.2175144,8.09619408 60.2175144,9.04594155 59.631728,9.63172798 C59.0459415,10.2175144 58.0961941,10.2175144 57.5104076,9.63172798 L55.0355339,7.15685425 L52.5606602,9.63172798 C51.9748737,10.2175144 51.0251263,10.2175144 50.4393398,9.63172798 C49.8535534,9.04594155 49.8535534,8.09619408 50.4393398,7.51040764 L52.9142136,5.03553391 Z',
|
|
21
|
+
ko2: 'M2.91421356,5.03553391 L0.439339828,2.56066017 C-0.146446609,1.97487373 -0.146446609,1.02512627 0.439339828,0.439339828 C1.02512627,-0.146446609 1.97487373,-0.146446609 2.56066017,0.439339828 L5.03553391,2.91421356 L7.51040764,0.439339828 C8.09619408,-0.146446609 9.04594155,-0.146446609 9.63172798,0.439339828 C10.2175144,1.02512627 10.2175144,1.97487373 9.63172798,2.56066017 L7.15685425,5.03553391 L9.63172798,7.51040764 C10.2175144,8.09619408 10.2175144,9.04594155 9.63172798,9.63172798 C9.04594155,10.2175144 8.09619408,10.2175144 7.51040764,9.63172798 L5.03553391,7.15685425 L2.56066017,9.63172798 C1.97487373,10.2175144 1.02512627,10.2175144 0.439339828,9.63172798 C-0.146446609,9.04594155 -0.146446609,8.09619408 0.439339828,7.51040764 L2.91421356,5.03553391 Z',
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default paths
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
style: {
|
|
6
|
+
type: Object,
|
|
7
|
+
default: () => ({}),
|
|
8
|
+
},
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
const wrapperStyle = computed(() => ({
|
|
12
|
+
width: 'fit-content',
|
|
13
|
+
display: 'inline-block',
|
|
14
|
+
paddingLeft: '5px',
|
|
15
|
+
paddingRight: '5px',
|
|
16
|
+
...props.style,
|
|
17
|
+
}))
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<div :style="wrapperStyle">
|
|
22
|
+
<slot></slot>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import paths from './creditcardpaths.js'
|
|
4
|
+
import getUniqueId from '../../utils/getUniqueId.js'
|
|
5
|
+
import Face from '../common/face/Face.vue'
|
|
6
|
+
import Wrapper from '../common/wrapper/Wrapper.vue'
|
|
7
|
+
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
size: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 200,
|
|
12
|
+
},
|
|
13
|
+
mood: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: 'blissful',
|
|
16
|
+
validator(val) {
|
|
17
|
+
return ['sad', 'shocked', 'happy', 'blissful', 'lovestruck', 'excited', 'ko'].includes(val)
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '#83D1FB',
|
|
23
|
+
},
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const uniqueId = computed(() => getUniqueId())
|
|
27
|
+
</script>
|
|
28
|
+
<template>
|
|
29
|
+
<Wrapper>
|
|
30
|
+
<svg
|
|
31
|
+
:width="size * 1.38"
|
|
32
|
+
:height="size"
|
|
33
|
+
viewBox="0 0 198 143"
|
|
34
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
35
|
+
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
36
|
+
>
|
|
37
|
+
<g id="kawaii-creditCard">
|
|
38
|
+
<g id="kawaii-creditCard__body" fillRule="nonzero">
|
|
39
|
+
<path :d="paths.shape" id="kawaii-creditCard__shape" :fill="color" />
|
|
40
|
+
<path :d="paths.shadow" id="kawaii-creditCard__shadow" fill="#000" opacity=".1" />
|
|
41
|
+
<path id="kawaii-creditCard__stripe" fill="#000" d="M0 17h198v27H0z" />
|
|
42
|
+
</g>
|
|
43
|
+
<Face :mood="mood" transform="translate(66 73)" :uniqueId="uniqueId" />
|
|
44
|
+
</g>
|
|
45
|
+
</svg>
|
|
46
|
+
</Wrapper>
|
|
47
|
+
</template>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const paths = {
|
|
2
|
+
shape:
|
|
3
|
+
'M187.018 143H10.982C4.916 143 0 138.097 0 132.047V10.953C0 4.903 4.916 0 10.982 0h176.036C193.084 0 198 4.903 198 10.953v121.094c0 6.05-4.916 10.953-10.982 10.953',
|
|
4
|
+
shadow:
|
|
5
|
+
'M176.018 143c6.066 0 10.982-4.903 10.982-10.953V10.953C187 4.903 182.084 0 176.018 0h11C193.084 0 198 4.903 198 10.953v121.094c0 6.05-4.916 10.953-10.982 10.953h-11z',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export default paths
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import paths from './ghostpaths.js'
|
|
4
|
+
import getUniqueId from '../../utils/getUniqueId.js'
|
|
5
|
+
import Face from '../common/face/Face.vue'
|
|
6
|
+
import Wrapper from '../common/wrapper/Wrapper.vue'
|
|
7
|
+
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
size: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 240,
|
|
12
|
+
},
|
|
13
|
+
mood: {
|
|
14
|
+
type: String,
|
|
15
|
+
validator(val) {
|
|
16
|
+
return ['sad', 'shocked', 'happy', 'blissful', 'lovestruck', 'excited', 'ko'].includes(val)
|
|
17
|
+
},
|
|
18
|
+
default: 'blissful',
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '#E0E4E8',
|
|
23
|
+
},
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const width = computed(() => props.size * 0.77)
|
|
27
|
+
const uniqueId = computed(() => getUniqueId())
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<template>
|
|
31
|
+
<Wrapper>
|
|
32
|
+
<svg
|
|
33
|
+
:width="width"
|
|
34
|
+
:height="size"
|
|
35
|
+
viewBox="0 0 130 168"
|
|
36
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
37
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
38
|
+
>
|
|
39
|
+
<g id="kawaii-ghost">
|
|
40
|
+
<g id="kawaii-ghost__body">
|
|
41
|
+
<path :d="paths.shape" id="kawaii-ghost__shape" :fill="color" />
|
|
42
|
+
<path :d="paths.shadow" id="kawaii-ghost__shadow" fill-opacity=".1" fill="#000000" />
|
|
43
|
+
</g>
|
|
44
|
+
<Face :mood="mood" transform="translate(34 57)" :uniqueId="uniqueId" />
|
|
45
|
+
</g>
|
|
46
|
+
</svg>
|
|
47
|
+
</Wrapper>
|
|
48
|
+
</template>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const paths = {
|
|
2
|
+
shape:
|
|
3
|
+
'M63.004.034C27.572 1.238 0 36.002 0 76.472v76.272c0 8.116 5.832 14.718 13 14.718s13-6.602 13-14.718c0-2.705 1.944-4.906 4.333-4.906 2.39 0 4.334 2.2 4.334 4.906 0 8.116 5.831 14.718 13 14.718 3.472 0 6.737-1.53 9.192-4.31 2.456-2.78 3.808-6.477 3.807-10.408 0-2.712 1.939-4.906 4.334-4.906 2.39 0 4.333 2.2 4.333 4.906 0 8.116 5.832 14.718 13 14.718 7.169 0 13-6.602 13-14.718 0-2.705 1.944-4.906 4.334-4.906 2.39 0 4.333 2.2 4.333 4.906 0 8.116 5.832 14.718 13 14.718s13-6.602 13-14.718V73.592c0-41.028-29.82-74.82-66.996-73.558z',
|
|
4
|
+
shadow:
|
|
5
|
+
'M111.5 166.08c4.427-2.35 7.5-7.444 7.5-13.336V73.592C119 35.918 93.857 4.346 60.962.412a6.603 6.603 0 0 1 2.042-.378C100.181-1.228 130 32.564 130 73.592v79.152c0 8.116-5.832 14.718-13 14.718-1.965 0-3.829-.496-5.5-1.383z',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export default paths
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import paths from './icecreampaths.js'
|
|
4
|
+
import getUniqueId from '../../utils/getUniqueId.js'
|
|
5
|
+
import Face from '../common/face/Face.vue'
|
|
6
|
+
import Wrapper from '../common/wrapper/Wrapper.vue'
|
|
7
|
+
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
size: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 300,
|
|
12
|
+
},
|
|
13
|
+
mood: {
|
|
14
|
+
type: String,
|
|
15
|
+
validator(val) {
|
|
16
|
+
return ['sad', 'shocked', 'happy', 'blissful', 'lovestruck', 'excited', 'ko'].includes(val)
|
|
17
|
+
},
|
|
18
|
+
default: 'blissful',
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '#FDA7DC',
|
|
23
|
+
},
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const uniqueId = computed(() => getUniqueId())
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<Wrapper>
|
|
31
|
+
<svg
|
|
32
|
+
:width="size * 0.5"
|
|
33
|
+
:height="size"
|
|
34
|
+
viewBox="0 0 110 220"
|
|
35
|
+
version="1.1"
|
|
36
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
37
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
38
|
+
>
|
|
39
|
+
<g id="kawaii-iceCream">
|
|
40
|
+
<g fill-rule="nonzero">
|
|
41
|
+
<path :d="paths.stick" id="kawaii-iceCream__stick" fill="#FCCB7E" />
|
|
42
|
+
<path :d="paths.shape" id="kawaii-iceCream__shape" :fill="color" />
|
|
43
|
+
<path :d="paths.shadow" id="kawaii-iceCream__shadow" fill="#000000" opacity=".1" />
|
|
44
|
+
</g>
|
|
45
|
+
<Face :mood="mood" transform="translate(22.000000, 81.000000)" :uniqueId="uniqueId" />
|
|
46
|
+
</g>
|
|
47
|
+
</svg>
|
|
48
|
+
</Wrapper>
|
|
49
|
+
</template>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const paths = {
|
|
2
|
+
stick: 'M56.142 219.63h-3.964c-4.36 0-7.927-3.53-7.927-7.843v-31.372h19.818v31.372c0 4.314-3.568 7.843-7.927 7.843z',
|
|
3
|
+
shape:
|
|
4
|
+
'M57.184 0h-4.34C24.19 0 .75 23.192.75 51.54v113.456c0 8.502 6.964 15.392 15.558 15.392H93.72c8.593 0 15.557-6.89 15.557-15.392V51.54C109.277 23.192 85.837 0 57.184 0z',
|
|
5
|
+
shadow:
|
|
6
|
+
'M83.97 180.388c8.593 0 15.557-6.89 15.557-15.392V51.54c0-27.41-21.913-49.998-49.264-51.464.938-.05 1.881-.076 2.83-.076h4.34c28.653 0 52.094 23.192 52.094 51.54v113.456c0 8.502-6.964 15.392-15.557 15.392h-10z',
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export default paths
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import paths from './mugpaths.js'
|
|
4
|
+
import getUniqueId from '../../utils/getUniqueId.js'
|
|
5
|
+
import Face from '../common/face/Face.vue'
|
|
6
|
+
import Wrapper from '../common/wrapper/Wrapper.vue'
|
|
7
|
+
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
size: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 170,
|
|
12
|
+
},
|
|
13
|
+
mood: {
|
|
14
|
+
type: String,
|
|
15
|
+
validator(val) {
|
|
16
|
+
return ['sad', 'shocked', 'happy', 'blissful', 'lovestruck', 'excited', 'ko'].includes(val)
|
|
17
|
+
},
|
|
18
|
+
default: 'blissful',
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '#A6E191',
|
|
23
|
+
},
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const width = computed(() => props.size * 1.5)
|
|
27
|
+
const uniqueId = computed(() => getUniqueId())
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<template>
|
|
31
|
+
<Wrapper>
|
|
32
|
+
<svg
|
|
33
|
+
:width="width"
|
|
34
|
+
:height="size"
|
|
35
|
+
viewBox="0 0 172 115"
|
|
36
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
37
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
38
|
+
>
|
|
39
|
+
<g id="kawaii-mug">
|
|
40
|
+
<g id="kawaii-mug__body" fill-rule="nonzero">
|
|
41
|
+
<path :d="paths.shape" id="kawaii-mug__shape" :fill="color" />
|
|
42
|
+
<path :d="paths.shadow" id="kawaii-mug__shadow" fill="#000" opacity=".1" />
|
|
43
|
+
</g>
|
|
44
|
+
<Face :mood="mood" transform="translate(71 42)" :uniqueId="uniqueId" />
|
|
45
|
+
</g>
|
|
46
|
+
</svg>
|
|
47
|
+
</Wrapper>
|
|
48
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const paths = {
|
|
2
|
+
shape:
|
|
3
|
+
'M17.591 22.258h21.5V5.565C39.091 2.49 41.718 0 44.955 0h121.181C169.374 0 172 2.49 172 5.565v70.483C172 97.526 153.588 115 130.955 115H80.136c-20.764 0-37.93-14.72-40.633-33.733C17.283 78.701 0 60.722 0 38.952c0-9.205 7.891-16.694 17.591-16.694zm20.627 47.704V33.387h-21.5c-3.233 0-5.863 2.496-5.863 5.565 0 15.485 11.835 28.37 27.363 31.01z',
|
|
4
|
+
shadow:
|
|
5
|
+
'M156.99 0h9.106C169.356 0 172 2.49 172 5.565v70.483C172 97.526 153.462 115 130.673 115h-16.89 7.784c22.79 0 41.327-17.474 41.327-38.952V5.565c0-3.074-2.644-5.565-5.903-5.565H106z',
|
|
6
|
+
}
|
|
7
|
+
export default paths
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import paths from './planetpaths.js'
|
|
4
|
+
import getUniqueId from '../../utils/getUniqueId.js'
|
|
5
|
+
import Face from '../common/face/Face.vue'
|
|
6
|
+
import Wrapper from '../common/wrapper/Wrapper.vue'
|
|
7
|
+
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
size: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 190,
|
|
12
|
+
},
|
|
13
|
+
mood: {
|
|
14
|
+
type: String,
|
|
15
|
+
validator(val) {
|
|
16
|
+
return ['sad', 'shocked', 'happy', 'blissful', 'lovestruck', 'excited', 'ko'].includes(val)
|
|
17
|
+
},
|
|
18
|
+
default: 'blissful',
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '#FCCB7E',
|
|
23
|
+
},
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const uniqueId = computed(() => getUniqueId())
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<Wrapper>
|
|
31
|
+
<svg
|
|
32
|
+
:width="size"
|
|
33
|
+
:height="size"
|
|
34
|
+
version="1.1"
|
|
35
|
+
viewBox="0 0 134 134"
|
|
36
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
37
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
38
|
+
>
|
|
39
|
+
<defs>
|
|
40
|
+
<path :d="paths.shape" id="kawaii-planet__shape--path" />
|
|
41
|
+
<path :d="paths.shadow" id="kawaii-planet__shadow--path" />
|
|
42
|
+
</defs>
|
|
43
|
+
<g id="kawaii-planet">
|
|
44
|
+
<g id="kawaii-planet__body">
|
|
45
|
+
<mask id="mask-2" fill="#fff">
|
|
46
|
+
<use xlink:href="#kawaii-planet__shape--path" />
|
|
47
|
+
</mask>
|
|
48
|
+
<use id="kawaii-planet__shape" :fill="color" xlink:href="#kawaii-planet__shape--path" />
|
|
49
|
+
<mask id="mask-4" fill="#fff">
|
|
50
|
+
<use xlink:href="#kawaii-planet__shadow--path" />
|
|
51
|
+
</mask>
|
|
52
|
+
<use id="kawaii-planet__shadow" fill="#000000" opacity=".1" xlink:href="#kawaii-planet__shadow--path" />
|
|
53
|
+
</g>
|
|
54
|
+
<Face :mood="mood" transform="translate(34 57)" :uniqueId="uniqueId" />
|
|
55
|
+
</g>
|
|
56
|
+
</svg>
|
|
57
|
+
</Wrapper>
|
|
58
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const paths = {
|
|
2
|
+
shape: 'M67 134c37.003 0 67-29.997 67-67S104.003 0 67 0 0 29.997 0 67s29.997 67 67 67z',
|
|
3
|
+
shadow:
|
|
4
|
+
'M61.5 133.777C95.93 130.98 123 102.151 123 67 123 31.849 95.93 3.02 61.5.223A67.906 67.906 0 0 1 67 0c37.003 0 67 29.997 67 67s-29.997 67-67 67c-1.852 0-3.686-.075-5.5-.223z',
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export default paths
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import paths from './speechbubblepaths.js'
|
|
4
|
+
import getUniqueId from '../../utils/getUniqueId.js'
|
|
5
|
+
import Face from '../common/face/Face.vue'
|
|
6
|
+
import Wrapper from '../common/wrapper/Wrapper.vue'
|
|
7
|
+
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
size: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 150,
|
|
12
|
+
},
|
|
13
|
+
mood: {
|
|
14
|
+
type: String,
|
|
15
|
+
validator(val) {
|
|
16
|
+
return ['sad', 'shocked', 'happy', 'blissful', 'lovestruck', 'excited', 'ko'].includes(val)
|
|
17
|
+
},
|
|
18
|
+
default: 'blissful',
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '#83D1FB',
|
|
23
|
+
},
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const uniqueId = computed(() => getUniqueId())
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<Wrapper>
|
|
31
|
+
<svg
|
|
32
|
+
:width="size"
|
|
33
|
+
:height="size"
|
|
34
|
+
version="1.1"
|
|
35
|
+
viewBox="0 0 134 134"
|
|
36
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
37
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
38
|
+
>
|
|
39
|
+
<defs>
|
|
40
|
+
<path :d="paths.shape" id="kawaii-speechBubble__shape--path" />
|
|
41
|
+
<path :d="paths.shadow" id="kawaii-speechBubble__shadow--path" />
|
|
42
|
+
</defs>
|
|
43
|
+
<g id="Kawaii-speechBubble">
|
|
44
|
+
<g id="Kawaii-speechBubble__body">
|
|
45
|
+
<mask fill="#fff">
|
|
46
|
+
<use xlink:href="#kawaii-speechBubble__shape--path" />
|
|
47
|
+
</mask>
|
|
48
|
+
<use id="Kawaii-speechBubble__shape" :fill="color" xlink:href="#kawaii-speechBubble__shape--path" />
|
|
49
|
+
<mask fill="#fff">
|
|
50
|
+
<use xlink:href="#kawaii-speechBubble__shadow--path" />
|
|
51
|
+
</mask>
|
|
52
|
+
<use
|
|
53
|
+
id="Kawaii-speechBubble__shadow"
|
|
54
|
+
fill="#000"
|
|
55
|
+
opacity=".1"
|
|
56
|
+
xlink:href="#kawaii-speechBubble__shadow--path"
|
|
57
|
+
/>
|
|
58
|
+
</g>
|
|
59
|
+
<Face :mood="mood" transform="translate(34 57)" :uniqueId="uniqueId" />
|
|
60
|
+
</g>
|
|
61
|
+
</svg>
|
|
62
|
+
</Wrapper>
|
|
63
|
+
</template>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const paths = {
|
|
2
|
+
shape:
|
|
3
|
+
'M31.235 123.65L.717 131.824l8.355-31.172A66.718 66.718 0 0 1 0 67C0 30 29.997 0 67.002 0 104.001 0 134 29.999 134 67c0 37-30 67-66.998 67a66.62 66.62 0 0 1-35.767-10.35z',
|
|
4
|
+
shadow:
|
|
5
|
+
'M62.502.149a68.004 68.004 0 0 1 4.5-.149C104.001 0 134 29.999 134 67c0 37-30 67-66.998 67-1.514 0-3.016-.05-4.505-.148C97.401 131.539 125 102.489 125 66.999 125 31.511 97.403 2.464 62.502.15z',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export default paths
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { defineConfig } from 'vitepress'
|
|
2
|
+
import Unocss from 'unocss/vite'
|
|
3
|
+
import { sub } from '@mdit/plugin-sub'
|
|
4
|
+
import Mark from 'markdown-it-mark'
|
|
5
|
+
|
|
6
|
+
// https://vitepress.dev/reference/site-config
|
|
7
|
+
export default defineConfig({
|
|
8
|
+
title: 'Slidev Theme Neversink',
|
|
9
|
+
description: 'An education/academia oriented Slidev theme with whimsical elements',
|
|
10
|
+
base: '/slidev-theme-neversink/',
|
|
11
|
+
themeConfig: {
|
|
12
|
+
// https://vitepress.dev/reference/default-theme-config
|
|
13
|
+
nav: [
|
|
14
|
+
{ text: 'Home', link: '/' },
|
|
15
|
+
{ text: 'Getting started', link: '/getting-started' },
|
|
16
|
+
{ text: 'Example Deck', link: 'https://gureckis.github.io/slidev-theme-neversink/example/#1', target: '_self' },
|
|
17
|
+
],
|
|
18
|
+
|
|
19
|
+
sidebar: [
|
|
20
|
+
{
|
|
21
|
+
text: 'Documentation',
|
|
22
|
+
items: [
|
|
23
|
+
{ text: 'Getting Started', link: '/getting-started' },
|
|
24
|
+
{ text: 'Markdown Features', link: '/markdown' },
|
|
25
|
+
{ text: 'Colors Schemes', link: '/colors' },
|
|
26
|
+
{ text: 'Branding', link: '/branding' },
|
|
27
|
+
{
|
|
28
|
+
text: 'Layouts',
|
|
29
|
+
collapsed: false,
|
|
30
|
+
items: [
|
|
31
|
+
{ text: 'Overview', link: '/layouts' },
|
|
32
|
+
{ text: `cover`, link: '/layouts/cover' },
|
|
33
|
+
{ text: `intro`, link: '/layouts/intro' },
|
|
34
|
+
{ text: `default`, link: '/layouts/default' },
|
|
35
|
+
{ text: `two-cols-title`, link: '/layouts/two-cols-title' },
|
|
36
|
+
{ text: `top-title`, link: '/layouts/top-title' },
|
|
37
|
+
{ text: `top-title-two-cols`, link: '/layouts/top-title-two-cols' },
|
|
38
|
+
{ text: `side-title`, link: '/layouts/side-title' },
|
|
39
|
+
{ text: `quote`, link: '/layouts/quote' },
|
|
40
|
+
{ text: `section`, link: '/layouts/section' },
|
|
41
|
+
{ text: `full`, link: '/layouts/full' },
|
|
42
|
+
{ text: `credits`, link: '/layouts/credits' },
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
text: 'Components',
|
|
47
|
+
collapsed: false,
|
|
48
|
+
items: [
|
|
49
|
+
{ text: 'Overview', link: '/components' },
|
|
50
|
+
{ text: 'Admonitions', link: '/components/admonitions' },
|
|
51
|
+
{ text: 'SpeechBubble', link: '/components/speechbubble' },
|
|
52
|
+
{ text: 'StickyNote', link: '/components/stickynote' },
|
|
53
|
+
{ text: 'CreditScroll', link: '/components/creditscroll' },
|
|
54
|
+
{ text: 'QRCode', link: '/components/qrcode' },
|
|
55
|
+
{ text: 'Kawaii', link: '/components/kawaii' },
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{ text: 'Customizing', link: '/customizing' },
|
|
59
|
+
{ text: 'Contributing', link: '/contributing' },
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
|
|
64
|
+
socialLinks: [{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }],
|
|
65
|
+
},
|
|
66
|
+
markdown: {
|
|
67
|
+
config: (md) => {
|
|
68
|
+
md.use(sub)
|
|
69
|
+
md.use(Mark)
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
vite: {
|
|
73
|
+
plugins: [Unocss()],
|
|
74
|
+
},
|
|
75
|
+
})
|