slidev-theme-neversink 0.0.0 → 0.0.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/.github/workflows/release.yml +30 -0
- package/README.md +10 -87
- package/docs/.vitepress/theme/index.js +2 -2
- package/package.json +3 -2
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release:
|
|
10
|
+
permissions:
|
|
11
|
+
id-token: write
|
|
12
|
+
contents: write
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
with:
|
|
17
|
+
fetch-depth: 0
|
|
18
|
+
- uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: lts/*
|
|
21
|
+
registry-url: https://registry.npmjs.org/
|
|
22
|
+
- run: npx changelogithub
|
|
23
|
+
env:
|
|
24
|
+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
25
|
+
- run: npm i -g @antfu/ni
|
|
26
|
+
- run: nci
|
|
27
|
+
- run: nr ci:publish
|
|
28
|
+
env:
|
|
29
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
30
|
+
NPM_CONFIG_PROVENANCE: true
|
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Slidev Theme Neversink
|
|
2
2
|
|
|
3
|
-
An education/academia oriented
|
|
3
|
+
An education/academia oriented Slidev theme with some whimsical elements.
|
|
4
4
|
|
|
5
|
+
Example [slides](https://gureckis.github.io/slidev-theme-neversink/example/).
|
|
5
6
|
Documentation [here](https://gureckis.github.io/slidev-theme-neversink/)
|
|
7
|
+
Read about [Slidev](https://sli.dev/).
|
|
6
8
|
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
@@ -22,91 +24,12 @@ theme: neversink
|
|
|
22
24
|
|
|
23
25
|
## Features
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
- [Color schemes](colors.md) - the color schemes available in Neversink
|
|
28
|
+
- [Custom layouts](layouts.md) - the custom slide layouts available in Neversink
|
|
29
|
+
- [Branding](branding.md) - how to customize the theme to your brand/logos
|
|
30
|
+
- [Components](components.md) - the custom components such as sticky notes and admonitions
|
|
31
|
+
- [Markdown features](markdown.md) - special addons to the Slidev markdown syntax
|
|
26
32
|
|
|
27
|
-
|
|
33
|
+
## Examples
|
|
28
34
|
|
|
29
|
-
- [
|
|
30
|
-
- [x] two-cols-header
|
|
31
|
-
- [x] two-cols-footer
|
|
32
|
-
- [x] top-title
|
|
33
|
-
- [x] top-title-two-cols
|
|
34
|
-
- [x] side-title
|
|
35
|
-
- [x] quote
|
|
36
|
-
- [x] intro
|
|
37
|
-
- [x] cover
|
|
38
|
-
- [x] fix <code> bg colors on colored slides
|
|
39
|
-
- [x] add variables to configure things
|
|
40
|
-
- [x] make global-top be a feature of my talks not the theme
|
|
41
|
-
- [x] add a configuration option to global-bottom/slide-bottom for the date or whatever field
|
|
42
|
-
- [x] clean up css classes
|
|
43
|
-
- [ ] dark mode support
|
|
44
|
-
- [ ] publish as a theme
|
|
45
|
-
- [ ] automate workflow for publishing to npm
|
|
46
|
-
- add docs
|
|
47
|
-
- [x] vitepress setup published to github pages
|
|
48
|
-
- [ ] slide types
|
|
49
|
-
- [ ] add docs on how to customize variables/fonts
|
|
50
|
-
|
|
51
|
-
### Layouts
|
|
52
|
-
|
|
53
|
-
- [x] add a 100% full slide slide
|
|
54
|
-
- [x] color side bar left/right
|
|
55
|
-
- [x] two column footer
|
|
56
|
-
- [x] two column (configurable) header
|
|
57
|
-
- [x] four cell grid
|
|
58
|
-
- [x] Add a config way to drop some of the lab/nyu stuff
|
|
59
|
-
- [x] add a way to drop the page numbers
|
|
60
|
-
- [x] color bar top/bottom centering
|
|
61
|
-
- [x] color title page
|
|
62
|
-
- [x] one up with caption below
|
|
63
|
-
- [x] two up with caption below
|
|
64
|
-
- [x] three up across with content option above and below (e.g., three panels of data)
|
|
65
|
-
- [x] top title
|
|
66
|
-
- [x] top title two cols
|
|
67
|
-
- [x] two cols no header
|
|
68
|
-
- [x] credits layout
|
|
69
|
-
- [x] default (with color)
|
|
70
|
-
- [x] sort out the global-top/slide-top thing (waiting for new slidev release)
|
|
71
|
-
- [x] new section (with color)
|
|
72
|
-
- [x] full (with color)
|
|
73
|
-
- [x] quote (better style)
|
|
74
|
-
- [x] scrolling credits slide
|
|
75
|
-
- [x] create as a layout also
|
|
76
|
-
- [x] add links and icons
|
|
77
|
-
- [ ] auto adjust height
|
|
78
|
-
- [ ] looping is not working
|
|
79
|
-
- [ ] use a animation library instead of raw request frame
|
|
80
|
-
- [ ] if in export mode then don't start scrolled down
|
|
81
|
-
- [ ] add keyboard commands to pause speed up and step forward/backwards in scrolling
|
|
82
|
-
- [ ] center final page
|
|
83
|
-
|
|
84
|
-
<img src="/screenshots/credits-light.gif" alt="credits slide example" width="600" class="screenshot mb-10 mt-10"/>
|
|
85
|
-
|
|
86
|
-
<img src="/screenshots/credits-dark.gif" alt="full slide example" width="600" class="screenshot"/>
|
|
87
|
-
|
|
88
|
-
### components
|
|
89
|
-
|
|
90
|
-
- [x] markdown admonitions
|
|
91
|
-
- [x] draggable, custom admonition
|
|
92
|
-
- [ ] adminition colors for dark/navy/etc...
|
|
93
|
-
- [x] speech bubble
|
|
94
|
-
- [~x] corner tails (good enough)
|
|
95
|
-
- [x] text-align
|
|
96
|
-
- [x] animations
|
|
97
|
-
- [x] post-it note
|
|
98
|
-
- [ ] prop to toggle if only visible in dev mode (waiting for new slidev release)
|
|
99
|
-
|
|
100
|
-
### Future ideas
|
|
101
|
-
|
|
102
|
-
- [ ] dynamic color themes
|
|
103
|
-
- [ ] thought bubble/comic style
|
|
104
|
-
- [ ] tooltip that appears on hover or with a click
|
|
105
|
-
- [ ] spoilers with clicks
|
|
106
|
-
- [ ] spring loaded word cloud
|
|
107
|
-
- [ ] quiz live polls
|
|
108
|
-
- [ ] map
|
|
109
|
-
- [ ] make admonition class be what the markdown processes uses
|
|
110
|
-
- [ ] animations/layouts
|
|
111
|
-
- [ ] kawaii waving hands
|
|
112
|
-
- [ ] kawaii raising hands
|
|
35
|
+
- Example [slides](https://gureckis.github.io/slidev-theme-neversink/example/).
|
|
@@ -12,7 +12,7 @@ import StickyNote from '../../../components/StickyNote.vue'
|
|
|
12
12
|
import QrcodeVue from 'qrcode.vue'
|
|
13
13
|
import SpeechBubble from '../../../components/SpeechBubble.vue'
|
|
14
14
|
|
|
15
|
-
import
|
|
15
|
+
import BackPack from '../../../components/vue3-kawaii/components/backpack/BackPack.vue'
|
|
16
16
|
import Browser from '../../../components/vue3-kawaii/components/browser/Browser.vue'
|
|
17
17
|
import Cat from '../../../components/vue3-kawaii/components/cat/Cat.vue'
|
|
18
18
|
import CreditCard from '../../../components/vue3-kawaii/components/creditCard/CreditCard.vue'
|
|
@@ -37,7 +37,7 @@ export default {
|
|
|
37
37
|
app.component('StickyNote', StickyNote)
|
|
38
38
|
app.component('QRCode', QrcodeVue)
|
|
39
39
|
app.component('SpeechBubble', SpeechBubble)
|
|
40
|
-
app.component('BackPack',
|
|
40
|
+
app.component('BackPack', BackPack)
|
|
41
41
|
app.component('Browser', Browser)
|
|
42
42
|
app.component('Cat', Cat)
|
|
43
43
|
app.component('CreditCard', CreditCard)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slidev-theme-neversink",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"author": "gureckis",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"screenshot:dev": "slidev screenshot.md",
|
|
50
50
|
"docs:dev": "vitepress dev docs",
|
|
51
51
|
"docs:build": "vitepress build docs",
|
|
52
|
-
"docs:preview": "vitepress preview docs"
|
|
52
|
+
"docs:preview": "vitepress preview docs",
|
|
53
|
+
"ci:publish": "pnpm publish --access public --no-git-checks"
|
|
53
54
|
}
|
|
54
55
|
}
|