create-slidev-theme 0.48.0-beta.9 → 0.48.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-slidev-theme",
3
3
  "type": "module",
4
- "version": "0.48.0-beta.9",
4
+ "version": "0.48.0",
5
5
  "description": "Create starter theme template for Slidev",
6
6
  "author": "antfu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -48,7 +48,7 @@ Hover on the bottom-left corner to see the navigation's controls panel
48
48
 
49
49
  ---
50
50
  layout: image-right
51
- image: 'https://source.unsplash.com/collection/94734566/1920x1080'
51
+ image: https://cover.sli.dev
52
52
  ---
53
53
 
54
54
  # Code
@@ -15,12 +15,12 @@
15
15
  "screenshot": "slidev export example.md --format png"
16
16
  },
17
17
  "dependencies": {
18
- "@slidev/types": "^0.48.0-beta.9",
18
+ "@slidev/types": "^0.48.0",
19
19
  "codemirror-theme-vars": "^0.1.2",
20
20
  "prism-theme-vars": "^0.2.4"
21
21
  },
22
22
  "devDependencies": {
23
- "@slidev/cli": "^0.48.0-beta.9"
23
+ "@slidev/cli": "^0.48.0"
24
24
  },
25
25
  "//": "Learn more: https://sli.dev/themes/write-a-theme.html",
26
26
  "slidev": {
@@ -1,6 +1,7 @@
1
+ import type { ShikiSetupReturn } from '@slidev/types'
1
2
  import { defineShikiSetup } from '@slidev/types'
2
3
 
3
- export default defineShikiSetup(() => {
4
+ export default defineShikiSetup((): ShikiSetupReturn => {
4
5
  return {
5
6
  themes: {
6
7
  dark: 'vitesse-dark',
@@ -16,7 +16,9 @@
16
16
  @apply -mt-2 opacity-50 mb-4;
17
17
  }
18
18
 
19
- p + h2, ul + h2, table + h2 {
19
+ p + h2,
20
+ ul + h2,
21
+ table + h2 {
20
22
  @apply mt-10;
21
23
  }
22
24
  }