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.
- package/README.md +16 -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
|
-
-
|
|
47
|
-
-
|
|
60
|
+
- [Documentation]()
|
|
61
|
+
- [Changelog](https://jinbicloud.coding.net/p/P8/d/jb-mobile-ui/git/tree/main/CHANGELOG.md)
|