slidev-theme-underglow 0.1.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/LICENSE +22 -0
- package/README.md +72 -0
- package/components/.gitkeep +0 -0
- package/components/footer.vue +52 -0
- package/layouts/center.vue +23 -0
- package/layouts/cover.vue +12 -0
- package/layouts/default.vue +12 -0
- package/layouts/image-full.vue +23 -0
- package/layouts/intro.vue +107 -0
- package/layouts/quote.vue +51 -0
- package/layouts/three-columns.vue +22 -0
- package/layouts/two-columns.vue +18 -0
- package/package.json +57 -0
- package/setup/shiki.ts +11 -0
- package/styles/index.ts +3 -0
- package/styles/layout.css +85 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Katharina Sick
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# slidev-theme-underglow
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/slidev-theme-underglow)
|
|
4
|
+
|
|
5
|
+
A (...) theme for [Slidev](https://github.com/slidevjs/slidev).
|
|
6
|
+
|
|
7
|
+
<!--
|
|
8
|
+
Learn more about how to write a theme:
|
|
9
|
+
https://sli.dev/guide/write-theme.html
|
|
10
|
+
--->
|
|
11
|
+
|
|
12
|
+
<!--
|
|
13
|
+
run `npm run dev` to check out the slides for more details of how to start writing a theme
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
<!--
|
|
17
|
+
Put some screenshots here to demonstrate your theme
|
|
18
|
+
|
|
19
|
+
Live demo: [...]
|
|
20
|
+
-->
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
Add the following frontmatter to your `slides.md`. Start Slidev then it will prompt you to install the theme automatically.
|
|
25
|
+
|
|
26
|
+
<pre><code>---
|
|
27
|
+
theme: <b>underglow</b>
|
|
28
|
+
---</code></pre>
|
|
29
|
+
|
|
30
|
+
Learn more about [how to use a theme](https://sli.dev/guide/theme-addon#use-theme).
|
|
31
|
+
|
|
32
|
+
## Theme Configuration
|
|
33
|
+
|
|
34
|
+
You can customize the theme's gradient colors using `themeConfig` in your frontmatter:
|
|
35
|
+
|
|
36
|
+
```yaml
|
|
37
|
+
---
|
|
38
|
+
theme: underglow
|
|
39
|
+
themeConfig:
|
|
40
|
+
primary: '#7D1CFE' # Primary brand color (default: purple)
|
|
41
|
+
middle: '#176AFA' # Middle transition color (default: blue)
|
|
42
|
+
accent: '#01D393' # Accent color (default: green)
|
|
43
|
+
---
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Color Options
|
|
47
|
+
|
|
48
|
+
- **`primary`**: The primary brand color (gradient start). Default: `#7D1CFE` (purple)
|
|
49
|
+
- **`middle`**: The middle transition color. Default: `#176AFA` (blue)
|
|
50
|
+
- **`accent`**: The accent color (gradient end). Default: `#01D393` (green)
|
|
51
|
+
|
|
52
|
+
These colors are used throughout the theme for gradients, backgrounds, and visual effects.
|
|
53
|
+
|
|
54
|
+
## Layouts
|
|
55
|
+
|
|
56
|
+
This theme provides the following layouts:
|
|
57
|
+
|
|
58
|
+
> TODO:
|
|
59
|
+
|
|
60
|
+
## Components
|
|
61
|
+
|
|
62
|
+
This theme provides the following components:
|
|
63
|
+
|
|
64
|
+
> TODO:
|
|
65
|
+
|
|
66
|
+
## Contributing
|
|
67
|
+
|
|
68
|
+
- `npm install`
|
|
69
|
+
- `npm run dev` to start theme preview of `example.md`
|
|
70
|
+
- Edit the `example.md` and style to see the changes
|
|
71
|
+
- `npm run export` to generate the preview PDF
|
|
72
|
+
- `npm run screenshot` to generate the preview PNG
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
</script>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<footer class="footer-container">
|
|
6
|
+
<p class="footer-text">{{ $slidev.configs.event?.name }}</p>
|
|
7
|
+
<span class="footer-divider"/>
|
|
8
|
+
<p class="footer-text">{{ $slidev.configs.event?.date }}</p>
|
|
9
|
+
<span class="flex-spacer"/>
|
|
10
|
+
<img v-if="$slidev.configs.logo" :src="$slidev.configs.logo" alt="Logo" class="footer-logo"/>
|
|
11
|
+
<span v-if="$slidev.configs.logo" class="footer-divider"/>
|
|
12
|
+
<p class="footer-text">{{ $page }}</p>
|
|
13
|
+
</footer>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<style scoped>
|
|
17
|
+
.footer-container {
|
|
18
|
+
position: fixed;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
|
|
22
|
+
width: 100%;
|
|
23
|
+
background: linear-gradient(90deg, var(--slidev-theme-color-primary), var(--slidev-theme-color-middle), var(--slidev-theme-color-accent));
|
|
24
|
+
|
|
25
|
+
display: flex;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
padding: 6px 12px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.footer-text {
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
padding: 0;
|
|
35
|
+
margin: 0;
|
|
36
|
+
line-height: 12px;
|
|
37
|
+
min-width: 12px;
|
|
38
|
+
text-align: end;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.footer-logo {
|
|
42
|
+
height: 16px;
|
|
43
|
+
width: 16px;
|
|
44
|
+
margin: 0 4px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.footer-divider {
|
|
48
|
+
height: 16px;
|
|
49
|
+
width: 2px;
|
|
50
|
+
background: white;
|
|
51
|
+
}
|
|
52
|
+
</style>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Footer from "../components/footer.vue";
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="slidev-layout center">
|
|
7
|
+
<div class="my-auto center-container">
|
|
8
|
+
<slot/>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<Footer/>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<style scoped>
|
|
15
|
+
.center-container {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
23
|
+
</style>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Footer from "../components/footer.vue";
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="slidev-layout image-full">
|
|
7
|
+
<img :src="$frontmatter.image" class="image" />
|
|
8
|
+
<slot />
|
|
9
|
+
</div>
|
|
10
|
+
<Footer v-if="!$frontmatter.hideFooter" />
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<style scoped>
|
|
14
|
+
.image {
|
|
15
|
+
position: absolute;
|
|
16
|
+
left: 0;
|
|
17
|
+
top: 0;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
object-fit: cover;
|
|
21
|
+
z-index: -1;
|
|
22
|
+
}
|
|
23
|
+
</style>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
</script>
|
|
3
|
+
<template>
|
|
4
|
+
<div class="slidev-layout intro">
|
|
5
|
+
<div class="my-auto w-full container">
|
|
6
|
+
<div class="image-container">
|
|
7
|
+
<span class="image-border"/>
|
|
8
|
+
<img :alt="$frontmatter.name" :src="$frontmatter.image" class="image"/>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="info-container">
|
|
11
|
+
<h2 class="hello">Hello!</h2>
|
|
12
|
+
<h1 class="name">{{ $frontmatter.name }}</h1>
|
|
13
|
+
<p class="job-title">🚀 {{ $frontmatter.jobTitle }}</p>
|
|
14
|
+
<p class="job-title">🤝 {{ $frontmatter.company }}</p>
|
|
15
|
+
<p class="website">🔗 <a :href=url>{{ $frontmatter.website }}</a></p>
|
|
16
|
+
<div class="logos">
|
|
17
|
+
<a v-for="logo in logos" :href="logo.link" target="_blank" style="border: 0">
|
|
18
|
+
<img :alt="logo.alt" :src="logo.src" class="logo"/>
|
|
19
|
+
</a>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<Footer />
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<style scoped>
|
|
28
|
+
.container {
|
|
29
|
+
width: 100%;
|
|
30
|
+
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-flow: row;
|
|
33
|
+
gap: 64px;
|
|
34
|
+
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: space-evenly;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.image-container {
|
|
40
|
+
display: inline-block;
|
|
41
|
+
width: 300px;
|
|
42
|
+
height: 300px;
|
|
43
|
+
|
|
44
|
+
position: relative;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.image-border {
|
|
48
|
+
display: inline-block;
|
|
49
|
+
width: 100%;
|
|
50
|
+
height: 100%;
|
|
51
|
+
|
|
52
|
+
position: absolute;
|
|
53
|
+
top: 0;
|
|
54
|
+
left: 0;
|
|
55
|
+
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
|
|
58
|
+
background: linear-gradient(90deg, var(--slidev-theme-color-primary), var(--slidev-theme-color-middle), var(--slidev-theme-color-accent));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.image {
|
|
62
|
+
display: inline-block;
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 100%;
|
|
65
|
+
padding: 6px;
|
|
66
|
+
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: 0;
|
|
69
|
+
left: 0;
|
|
70
|
+
|
|
71
|
+
border-radius: 50%;
|
|
72
|
+
object-fit: cover;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.info-container {
|
|
76
|
+
height: 100%;
|
|
77
|
+
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
align-items: end;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.name, .hello, .job-title, .website {
|
|
84
|
+
margin: 0;
|
|
85
|
+
padding: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.name {
|
|
89
|
+
margin: 48px 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.job-title {
|
|
93
|
+
margin-bottom: 12px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.logos {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: row;
|
|
99
|
+
gap: 12px;
|
|
100
|
+
margin-top: 36px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.logo {
|
|
104
|
+
display: inline-block;
|
|
105
|
+
height: 56px;
|
|
106
|
+
}
|
|
107
|
+
</style>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Footer from "../components/footer.vue";
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="slidev-layout quote">
|
|
7
|
+
<div class="my-auto quote-container">
|
|
8
|
+
<div v-if="$frontmatter.background">
|
|
9
|
+
<img :src="$frontmatter.background" alt="Background image" class="absolute w-full h-full left-0 top-0" />
|
|
10
|
+
<div
|
|
11
|
+
class="absolute w-full h-full left-0 top-0 gradient-overlay"
|
|
12
|
+
:style="$frontmatter.overlayOpacity != null ? { '--quote-overlay-opacity': String($frontmatter.overlayOpacity) } : undefined"
|
|
13
|
+
></div>
|
|
14
|
+
</div>
|
|
15
|
+
<h1 style="z-index: 2; font-size: 48px" v-html="$frontmatter.quote"></h1>
|
|
16
|
+
<a v-if="$frontmatter.link" class="quote-source" style="z-index: 2" :href="$frontmatter.link" target="_blank">
|
|
17
|
+
{{ $frontmatter.subtitle }}
|
|
18
|
+
</a>
|
|
19
|
+
<p v-if="!$frontmatter.link && $frontmatter.subtitle" class="quote-source" style="z-index: 2">{{ $frontmatter.subtitle }}</p>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<Footer />
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<style scoped>
|
|
26
|
+
:root {
|
|
27
|
+
--quote-overlay-opacity: 0.6;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.quote-source {
|
|
31
|
+
font-size: 16px;
|
|
32
|
+
color: var(--slidev-theme-color-text-primary);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.quote-container {
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.gradient-overlay {
|
|
45
|
+
background: radial-gradient(
|
|
46
|
+
ellipse 120% 70% at 50% 50%,
|
|
47
|
+
rgba(0, 0, 0, var(--quote-overlay-opacity, 0.5)) 20%,
|
|
48
|
+
rgba(0, 0, 0, 0) 100%
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
</style>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Footer from "../components/footer.vue";
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="slidev-layout w-full h-full grid grid-cols-3 gap-x-6">
|
|
7
|
+
<div class="col-span-3">
|
|
8
|
+
<slot />
|
|
9
|
+
</div>
|
|
10
|
+
<div>
|
|
11
|
+
<slot name="left" />
|
|
12
|
+
</div>
|
|
13
|
+
<div>
|
|
14
|
+
<slot name="middle" />
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<slot name="right" />
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<Footer />
|
|
21
|
+
</template>
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import Footer from "../components/footer.vue";
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="slidev-layout w-full h-full grid grid-cols-2 gap-x-6">
|
|
7
|
+
<div class="col-span-2">
|
|
8
|
+
<slot />
|
|
9
|
+
</div>
|
|
10
|
+
<div>
|
|
11
|
+
<slot name="left" />
|
|
12
|
+
</div>
|
|
13
|
+
<div>
|
|
14
|
+
<slot name="right" />
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<Footer />
|
|
18
|
+
</template>
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "slidev-theme-underglow",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A gradient Slidev theme with customizable colors",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"author": "Katharina Sick <https://ksick.dev>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/ksick/slidev-theme-underglow.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/ksick/slidev-theme-underglow/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/ksick/slidev-theme-underglow#readme",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"slidev-theme",
|
|
18
|
+
"slidev",
|
|
19
|
+
"theme",
|
|
20
|
+
"presentation",
|
|
21
|
+
"gradient"
|
|
22
|
+
],
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=18.0.0"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"components",
|
|
28
|
+
"layouts",
|
|
29
|
+
"styles",
|
|
30
|
+
"setup",
|
|
31
|
+
"package.json",
|
|
32
|
+
"README.md",
|
|
33
|
+
"LICENSE"
|
|
34
|
+
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@slidev/types": "^52.11.5"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@slidev/cli": "^52.11.5"
|
|
40
|
+
},
|
|
41
|
+
"//": "Learn more: https://sli.dev/guide/write-theme.html",
|
|
42
|
+
"slidev": {
|
|
43
|
+
"colorSchema": "dark",
|
|
44
|
+
"defaults": {
|
|
45
|
+
"fonts": {
|
|
46
|
+
"sans": "Poppins",
|
|
47
|
+
"mono": "Fira Code"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "slidev build example.md",
|
|
53
|
+
"dev": "slidev example.md --open",
|
|
54
|
+
"export": "slidev export example.md",
|
|
55
|
+
"screenshot": "slidev export example.md --format png"
|
|
56
|
+
}
|
|
57
|
+
}
|
package/setup/shiki.ts
ADDED
package/styles/index.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* Define defaults on html to allow overrides */
|
|
2
|
+
:root {
|
|
3
|
+
--slidev-theme-color-primary: #7D1CFE;
|
|
4
|
+
--slidev-theme-color-middle: #176AFA;
|
|
5
|
+
--slidev-theme-color-accent: #01D393;
|
|
6
|
+
|
|
7
|
+
--slidev-theme-color-text-primary: white;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* To apply the gradient to a text */
|
|
11
|
+
.gradient {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
background-image: linear-gradient(90deg, var(--slidev-theme-color-primary), var(--slidev-theme-color-middle), var(--slidev-theme-color-accent));
|
|
14
|
+
-webkit-background-clip: text;
|
|
15
|
+
-webkit-text-fill-color: transparent;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.slidev-layout h1 {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
/* We need a bit of padding because otherwise the gradient could be cut off in the top & bottom */
|
|
21
|
+
padding: 2px 0;
|
|
22
|
+
font-weight: 900;
|
|
23
|
+
font-size: 40px;
|
|
24
|
+
line-height: 1.2;
|
|
25
|
+
color: var(--slidev-theme-color-text-primary);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.slidev-layout p {
|
|
29
|
+
font-size: 30px;
|
|
30
|
+
line-height: 1.7;
|
|
31
|
+
padding-bottom: 32px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
.slidev-layout code {
|
|
36
|
+
font-size: 24px;
|
|
37
|
+
line-height: 1.3;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
.slidev-layout.cover,
|
|
42
|
+
.slidev-layout.intro {
|
|
43
|
+
@apply h-full grid text-center;
|
|
44
|
+
|
|
45
|
+
h1 {
|
|
46
|
+
display: inline-block;
|
|
47
|
+
padding: 12px 0;
|
|
48
|
+
|
|
49
|
+
font-size: 48px;
|
|
50
|
+
font-weight: 900;
|
|
51
|
+
margin-bottom: 0;
|
|
52
|
+
|
|
53
|
+
background-image: linear-gradient(90deg, var(--slidev-theme-color-primary), var(--slidev-theme-color-middle), var(--slidev-theme-color-accent));
|
|
54
|
+
-webkit-background-clip: text;
|
|
55
|
+
-webkit-text-fill-color: transparent;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
h2 {
|
|
59
|
+
display: inline-block;
|
|
60
|
+
|
|
61
|
+
font-size: 36px;
|
|
62
|
+
font-weight: 900;
|
|
63
|
+
|
|
64
|
+
color: var(--slidev-theme-color-text-primary);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
p {
|
|
68
|
+
text-align: center;
|
|
69
|
+
font-size: 24px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.slidev-layout.image-full {
|
|
74
|
+
@apply h-full w-full grid text-center;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.slidev-layout.center,
|
|
78
|
+
.slidev-layout.quote {
|
|
79
|
+
@apply text-center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.flex-spacer {
|
|
83
|
+
flex-grow: 1;
|
|
84
|
+
}
|
|
85
|
+
|