create-slidev 0.40.4 → 0.40.6

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/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  /* eslint-disable no-console */
3
3
 
4
4
  // @ts-check
5
- const fs = require('fs')
6
- const path = require('path')
5
+ const fs = require('node:fs')
6
+ const path = require('node:path')
7
7
  const argv = require('minimist')(process.argv.slice(2))
8
8
  const prompts = require('prompts')
9
9
  const execa = require('execa')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-slidev",
3
- "version": "0.40.4",
3
+ "version": "0.40.6",
4
4
  "description": "Create starter template for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -11,9 +11,9 @@ const counter = ref(props.count)
11
11
  </script>
12
12
 
13
13
  <template>
14
- <div flex="~" w="min" border="~ gray-400 opacity-50 rounded-md">
14
+ <div flex="~" w="min" border="~ main rounded-md">
15
15
  <button
16
- border="r gray-400 opacity-50"
16
+ border="r main"
17
17
  p="2"
18
18
  font="mono"
19
19
  outline="!none"
@@ -24,7 +24,7 @@ const counter = ref(props.count)
24
24
  </button>
25
25
  <span m="auto" p="2">{{ counter }}</span>
26
26
  <button
27
- border="l gray-400 opacity-50"
27
+ border="l main"
28
28
  p="2"
29
29
  font="mono"
30
30
  outline="!none"
@@ -7,7 +7,7 @@
7
7
  "export": "slidev export"
8
8
  },
9
9
  "dependencies": {
10
- "@slidev/cli": "^0.40.4",
10
+ "@slidev/cli": "^0.40.6",
11
11
  "@slidev/theme-default": "*",
12
12
  "@slidev/theme-seriph": "*"
13
13
  }