slidev-theme-kotlin 0.0.6 → 0.0.7

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/README.md CHANGED
@@ -23,7 +23,7 @@ This theme provides a professional presentation template tailored for Kotlin dev
23
23
  Install the theme in your Slidev project:
24
24
 
25
25
  ```bash
26
- npm install @nomisrev/slidev-theme-kotlin
26
+ npm install slidev-theme-kotlin
27
27
  ```
28
28
 
29
29
  ## Usage
@@ -34,7 +34,7 @@ Add the theme to your slides' frontmatter:
34
34
 
35
35
  ```yaml
36
36
  ---
37
- theme: @nomisrev/slidev-theme-kotlin
37
+ theme: kotlin
38
38
  ---
39
39
 
40
40
  # Your Presentation Title
@@ -22,8 +22,9 @@ const props = withDefaults(defineProps<Props>(), {
22
22
  // Compute image source
23
23
  const imageSrc = computed(() => {
24
24
  const variant = props.variant.startsWith('kodee-') ? props.variant : `kodee-${props.variant}`
25
- return `${variant}.svg`
25
+ return `theme/${variant}.svg`
26
26
  })
27
+
27
28
  const kodeeImage = computed(() => {
28
29
  const base = import.meta.env.BASE_URL || '/'
29
30
  return `${base}${imageSrc.value}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slidev-theme-kotlin",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "slidev-theme",
@@ -1,28 +0,0 @@
1
- name: build
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches: [main]
7
-
8
- jobs:
9
- publish:
10
- runs-on: ubuntu-latest
11
- permissions:
12
- contents: read
13
- packages: write
14
-
15
- steps:
16
- - uses: actions/checkout@v5
17
- - uses: actions/setup-node@v6
18
- with:
19
- node-version: 22.x
20
- registry-url: 'https://npm.pkg.github.com'
21
- scope: '@nomisrev'
22
- cache: 'npm'
23
- cache-dependency-path: package-lock.json
24
-
25
- - run: npm ci
26
- - run: npm publish
27
- env:
28
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}