@opentiny/vue-theme-saas 3.26.0 → 3.26.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.
@@ -0,0 +1,6 @@
1
+ export default {
2
+ id: 'tiny-dark-theme',
3
+ name: 'DarkTheme',
4
+ cnName: '暗黑主题',
5
+ css: ''
6
+ }
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "@opentiny/vue-theme-saas",
3
- "version": "3.26.0",
3
+ "version": "3.26.1",
4
4
  "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
5
+ "author": "OpenTiny Team",
6
+ "license": "MIT",
5
7
  "homepage": "https://opentiny.design/tiny-vue",
6
- "main": "index.css",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git@github.com:opentiny/tiny-vue.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/opentiny/tiny-vue/issues"
14
+ },
7
15
  "keywords": [
8
16
  "vue",
9
17
  "vue3",
@@ -15,14 +23,10 @@
15
23
  "renderless-components",
16
24
  "headless-components"
17
25
  ],
18
- "author": "OpenTiny Team",
19
- "license": "MIT",
20
- "repository": {
21
- "type": "git",
22
- "url": "git@github.com:opentiny/tiny-vue.git"
23
- },
24
- "bugs": {
25
- "url": "https://github.com/opentiny/tiny-vue/issues"
26
+ "main": "index.css",
27
+ "engines": {
28
+ "node": ">= 4.0.0",
29
+ "npm": ">= 3.0.0"
26
30
  },
27
31
  "devDependencies": {
28
32
  "@babel/cli": "^7.5.5",
@@ -44,10 +48,6 @@
44
48
  "stylelint-config-standard": "^29.0.0",
45
49
  "tailwindcss": "3.2.4"
46
50
  },
47
- "engines": {
48
- "node": ">= 4.0.0",
49
- "npm": ">= 3.0.0"
50
- },
51
51
  "browserslist": [
52
52
  "> 1%",
53
53
  "last 2 versions",
package/theme-tool.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import tinyOldTheme from './old-theme-index.js'
2
2
  import tinyAuroraTheme from './aurora-theme-index.js'
3
+ import tinyDarkTheme from './dark-theme-index.js'
3
4
 
4
- export { tinyOldTheme, tinyAuroraTheme }
5
+ export { tinyOldTheme, tinyAuroraTheme, tinyDarkTheme }
5
6
 
6
7
  /**
7
8
  * 动态切换文档或影子根节点的样式类
package/token.js ADDED
@@ -0,0 +1,3 @@
1
+ const list = {}
2
+
3
+ export default list