返回 slidev
tool-eject-theme.md
根目录 / skills / slidev / references / tool-eject-theme.md
1 ---
2 name: eject-theme
3 description: Extract theme to local filesystem for customization
4 ---
5
6 # Eject Theme
7
8 Extract installed theme to local filesystem for customization.
9
10 ## Command
11
12 ```bash
13 slidev theme eject
14 ```
15
16 ## Result
17
18 - Theme files copied to `./theme/`
19 - Frontmatter updated to `theme: ./theme`
20
21 ## Use Case
22
23 - Full control over theme
24 - Create new theme based on existing one
25 - Customize without modifying node_modules
26
27 If creating a derivative theme, credit the original theme and author.
28
28 lines MARKDOWN