slidev-theme-the-unnamed 0.0.7 → 0.0.8

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.8] - 2023-02-07
4
+
5
+ - [#2](https://github.com/estruyf/slidev-theme-the-unnamed/pull/2): Fix in Shiki path by [liaobinbin](https://github.com/liaobinbin)
6
+
3
7
  ## [0.0.7] - 2023-02-06
4
8
 
5
9
  - [#1](https://github.com/estruyf/slidev-theme-the-unnamed/pull/1): Fix css comments by [liaobinbin](https://github.com/liaobinbin)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slidev-theme-the-unnamed",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "keywords": [
5
5
  "slidev-theme",
6
6
  "slidev"
package/setup/shiki.ts CHANGED
@@ -4,8 +4,8 @@ import { defineShikiSetup } from '@slidev/types'
4
4
  export default defineShikiSetup(async ({ loadTheme }) => {
5
5
  return {
6
6
  theme: {
7
- dark: await loadTheme(`../../public/theme/theunnamed-dark-theme.json`),
8
- light: await loadTheme(`../../public/theme/theunnamed-dark-theme.json`)
7
+ dark: await loadTheme(require.resolve(`slidev-theme-the-unnamed/public/theme/theunnamed-dark-theme.json`)),
8
+ light: await loadTheme(require.resolve(`slidev-theme-the-unnamed/public/theme/theunnamed-dark-theme.json`))
9
9
  },
10
10
  }
11
- })
11
+ })