nuke-theme-provider
Advanced tools
Comparing version 1.0.5 to 1.0.6
# Changelog | ||
## 1.0.6 / 2017-12-12 | ||
* [[4b945c7](http://gitlab.alibaba-inc.com/nuke/theme-provider/commit/4b945c7cb83e333389d2a9cf88c6adb27b3682a9)] - `feat` update git url | ||
## 1.0.5 / 2017-12-08 | ||
@@ -5,0 +9,0 @@ |
{ | ||
"name": "nuke-theme-provider", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "主题换肤", | ||
@@ -15,3 +15,3 @@ "main": "lib/index", | ||
"nuke", | ||
"nuke-theme-provider" | ||
"theme-provider" | ||
], | ||
@@ -45,3 +45,3 @@ "author": { | ||
"type": "git", | ||
"url": "git@gitlab.alibaba-inc.com:nuke/nuke-theme-provider.git" | ||
"url": "git@gitlab.alibaba-inc.com:nuke/theme-provider.git" | ||
}, | ||
@@ -48,0 +48,0 @@ "dependencies": { |
@@ -11,3 +11,3 @@ # ThemeProvider | ||
当你需要全局换肤的时候 | ||
需要全局换肤的时候,可以通过简单修改主题变量,达到换肤的目的。 | ||
@@ -39,5 +39,5 @@ | ||
}, | ||
}; | ||
<StyleProvider style={orange}> | ||
<StyleProvider style={orange}> | ||
<Button type="primary" style={styles.btn}>主操作</Button> | ||
@@ -63,5 +63,28 @@ </StyleProvider> | ||
<StyleProvider androidConfigs={{materialDesign:true,rippleEnabled:true}}> | ||
<StyleProvider androidConfigs={{materialDesign:true,rippleEnabled:true}}> | ||
<Button type="primary" style={styles.btn}>主操作</Button> | ||
</StyleProvider> | ||
```` | ||
## 附常用基础变量 | ||
```js | ||
'color-brand1-1' :'#E4F0FD', // [主品牌色-浅] | ||
'color-brand1-6': '#3089DC', // [主品牌色-常规] | ||
'color-Brand1-9' :'#1170BC', // [主品牌色-深] | ||
'color-line1-2' :'#DCDEE3', // [线条-常规] | ||
'color-line1-3' :'#C4C6CF', // [线条-深] | ||
'color-text1-2' :'#999999', // [文字-浅] | ||
'color-text1-3' :'#666666', // [文字-常规] | ||
``` |
26895
88