@tthappy/ppt-theme 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +24 -0
  3. package/package.json +12 -5
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 tingke
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # @tthappy/ppt-theme
2
+
3
+ [vue-ppt](https://github.com/tingke/vue-ppt) 组件的共享样式主题:CSS 变量(`--vpk-primary` 等)+ `vpk-*` 基础类名。组件不依赖任何 UI 框架,样式全部经类名与 CSS 变量实现,可与宿主应用的组件库自由共存。
4
+
5
+ ## 使用
6
+
7
+ ```ts
8
+ // 任意入口引入一次即可(与 @tthappy/ppt-vue2 / ppt-vue3 搭配使用)
9
+ import '@tthappy/ppt-theme';
10
+ ```
11
+
12
+ ## 换肤
13
+
14
+ 覆盖 CSS 变量即可:
15
+
16
+ ```css
17
+ :root {
18
+ --vpk-primary: #409eff;
19
+ }
20
+ ```
21
+
22
+ ## 仓库
23
+
24
+ [github.com/tingke/vue-ppt](https://github.com/tingke/vue-ppt)
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "@tthappy/ppt-theme",
3
- "version": "0.1.0",
4
- "publishConfig": { "access": "public" },
3
+ "version": "0.1.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "license": "MIT",
5
8
  "type": "module",
6
- "files": ["src"],
7
- "exports": { ".": "./src/index.css" }
8
- }
9
+ "files": [
10
+ "src"
11
+ ],
12
+ "exports": {
13
+ ".": "./src/index.css"
14
+ }
15
+ }