jb-mobile-ui 1.0.1 → 1.0.3

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 (2) hide show
  1. package/README.md +16 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -35,6 +35,20 @@ resolve: {
35
35
  }
36
36
  ```
37
37
 
38
+ 在 main.ts 中引入 css:
39
+
40
+ ```javascript
41
+ import 'jb-mobile-ui/dist/index.css'
42
+ ```
43
+
44
+ 如果需要更换主题色,则需要在引入 jb-mobile-ui/dist/index.css 后通过 css 变量 --theme-color 进行修改:
45
+
46
+ ```css
47
+ :root {
48
+ --theme-color: #7B52FE;
49
+ }
50
+ ```
51
+
38
52
  按需引入组件:
39
53
 
40
54
  ```javascript
@@ -43,5 +57,5 @@ import { JbMobileButton } from 'jb-mobile-ui'
43
57
 
44
58
  ## Links
45
59
 
46
- - <a href="#">Documentation</a>
47
- - <a href="https://jinbicloud.coding.net/p/P8/d/jb-mobile-ui/git/tree/main/CHANGELOG.md">Changelog</a>
60
+ - [Documentation]()
61
+ - [Changelog](https://jinbicloud.coding.net/p/P8/d/jb-mobile-ui/git/tree/main/CHANGELOG.md)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "jb-mobile-ui",
3
3
  "description": "JinBiWuYe Mobile UI Components base on Vant",
4
4
  "private": false,
5
- "version": "1.0.1",
5
+ "version": "1.0.3",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",
8
8
  "type": "module",