@zlict/slidev-theme-zli 0.2.2 → 0.2.4
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/CHANGELOG.md +4 -0
- package/layouts/default.vue +3 -0
- package/layouts/end.vue +3 -0
- package/layouts/task.vue +28 -0
- package/layouts/title.vue +3 -0
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.2.4](https://github.com/zlict/slidev-theme/compare/v0.2.3...v0.2.4) (2023-06-01)
|
|
6
|
+
|
|
7
|
+
### [0.2.3](https://github.com/zlict/slidev-theme/compare/v0.2.2...v0.2.3) (2023-06-01)
|
|
8
|
+
|
|
5
9
|
### [0.2.2](https://github.com/zlict/slidev-theme/compare/v0.2.1...v0.2.2) (2023-06-01)
|
|
6
10
|
|
|
7
11
|
### [0.2.1](https://github.com/zlict/slidev-theme/compare/v0.2.0...v0.2.1) (2023-06-01)
|
package/layouts/default.vue
CHANGED
package/layouts/end.vue
CHANGED
package/layouts/task.vue
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
defineProps({
|
|
3
|
+
number: {
|
|
4
|
+
type: Number,
|
|
5
|
+
},
|
|
6
|
+
name: {
|
|
7
|
+
type: String
|
|
8
|
+
},
|
|
9
|
+
time: {
|
|
10
|
+
type: String
|
|
11
|
+
},
|
|
12
|
+
method: {
|
|
13
|
+
type: String
|
|
14
|
+
},
|
|
15
|
+
result: {
|
|
16
|
+
type: String
|
|
17
|
+
}
|
|
18
|
+
})
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<div class="slidev-layout default">
|
|
23
|
+
<div class="my-auto">
|
|
24
|
+
<TaskDescription :number="number" :title="name" :time="time" :method="method" :result="result" />
|
|
25
|
+
<slot />
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
package/layouts/title.vue
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zlict/slidev-theme-zli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "ZLI Slidev theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"slidev-theme",
|
|
@@ -54,7 +54,10 @@
|
|
|
54
54
|
"linenumbers": true,
|
|
55
55
|
"colorSchema": "light",
|
|
56
56
|
"fonts": {
|
|
57
|
-
"provider": "none"
|
|
57
|
+
"provider": "none",
|
|
58
|
+
"sans": "Roboto",
|
|
59
|
+
"mono": "Fira Code",
|
|
60
|
+
"local": "Roboto, Dongle, Fira Code"
|
|
58
61
|
},
|
|
59
62
|
"hightlighter": "shiki"
|
|
60
63
|
}
|