Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "gov-theme", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "政务主题", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"pub": "npm version patch && npm publish" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -34,1 +34,26 @@ ### 常用的主题变量 | ||
``` | ||
3. 假设你有如下目录解构 | ||
```sh | ||
- src | ||
- style | ||
- index.less | ||
- MyComponent.js | ||
``` | ||
你可以在index.less文件中引入主题包 | ||
```less | ||
@import "~gove-theme/index" | ||
.my-header { | ||
background-color: @primary-color; | ||
padding: @card-head-padding; | ||
} | ||
``` | ||
### TODO | ||
* [ ] 增加交互式主题包发布流程 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
92434
2
59