Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-theme-provider

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-theme-provider - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

HISTORY.md
# 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 @@

6

package.json
{
"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', // [文字-常规]
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc