Comparing version 1.1.0 to 1.2.0
@@ -1,10 +0,11 @@ | ||
var gulp = require('gulp'); | ||
var less = require('gulp-less'); | ||
var connect = require('gulp-connect'); | ||
var ejs = require('gulp-ejs'); | ||
var rename = require('gulp-rename'); | ||
const gulp = require('gulp'); | ||
const less = require('gulp-less'); | ||
const connect = require('gulp-connect'); | ||
const ejs = require('gulp-ejs'); | ||
const rename = require('gulp-rename'); | ||
const assign = require('object-assign'); | ||
var LessPluginAutoPrefix = require('less-plugin-autoprefix'); | ||
var LessPluginInlineUrls = require('less-plugin-inline-urls'); | ||
var autoprefixPlugin = new LessPluginAutoPrefix({ | ||
const LessPluginAutoPrefix = require('less-plugin-autoprefix'); | ||
const LessPluginInlineUrls = require('less-plugin-inline-urls'); | ||
const autoprefixPlugin = new LessPluginAutoPrefix({ | ||
browsers: [ | ||
@@ -15,3 +16,3 @@ '> 5%', | ||
}); | ||
var lessDevConfig = { | ||
const lessDevConfig = { | ||
plugins: [ | ||
@@ -24,58 +25,66 @@ // LessPluginGlob, | ||
var themes = [ | ||
const prevHue = 'hsvhue(@brand-primary)'; | ||
const prevSat = 'hsvsaturation(@brand-primary)' | ||
const prevValue = 'hsvvalue(@brand-primary)'; | ||
const prevColors = { | ||
brandPrimary: 'rgba(243, 115, 39, 1)', | ||
brandPrimaryHover: `hsv(round(${prevHue}), round(${prevSat} - 10%), round(${prevValue}))`, | ||
brandPrimaryFocus: `hsv(round(${prevHue}), round(${prevSat} + 10%), round(${prevValue}))`, | ||
} | ||
const themes = [ | ||
{ | ||
name: 'orange', | ||
color: prevColors, | ||
}, | ||
{ | ||
name: 'blue', | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(37, 153, 242, 1)', | ||
brandPrimaryFocus: `hsv(round(${prevHue}), round(${prevSat}), round(${prevValue} - 8%))`, | ||
}), | ||
}, | ||
{ | ||
name: 'green', | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(64, 179, 112, 1)', | ||
brandPrimaryHover: `hsv(round(${prevHue}), round(${prevSat}), round(${prevValue} + 5%))`, | ||
brandPrimaryFocus: `hsv(round(${prevHue}), round(${prevSat}), round(${prevValue} - 5%))`, | ||
}) | ||
}, | ||
{ | ||
name: 'alipay', | ||
color: { | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(0, 164, 230, 1)', | ||
brandPrimaryLightAlpha: 'rgba(0, 164, 230, 0.7)', | ||
}, | ||
}), | ||
}, | ||
{ | ||
name: 'ant_financial', | ||
color: { | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(0, 160, 232, 1)', | ||
brandPrimaryLightAlpha: 'rgba(0, 160, 232, 0.7)', | ||
}, | ||
}), | ||
}, | ||
{ | ||
name: 'ants_daq', | ||
color: { | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(0, 160, 232, 1)', | ||
brandPrimaryLightAlpha: 'rgba(0, 160, 232, 0.7)', | ||
}, | ||
}), | ||
}, | ||
{ | ||
name: 'blue', | ||
color: { | ||
brandPrimary: 'rgba(37, 153, 242, 1)', | ||
brandPrimaryLightAlpha: 'rgba(37, 153, 242, 0.7)', | ||
}, | ||
}, | ||
{ | ||
name: 'koubei', | ||
color: { | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(226, 71, 14, 1)', | ||
brandPrimaryLightAlpha: 'rgba(226, 71, 14, 0.7)', | ||
}, | ||
}), | ||
}, | ||
{ | ||
name: 'mybank', | ||
color: { | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(0, 163, 171, 1)', | ||
brandPrimaryLightAlpha: 'rgba(0, 163, 171, 0.7)', | ||
}, | ||
}), | ||
}, | ||
{ | ||
name: 'orange', | ||
color: { | ||
brandPrimary: 'rgba(243, 115, 39, 1)', | ||
brandPrimaryLightAlpha: 'rgba(243, 115, 39, 0.7)', | ||
}, | ||
}, | ||
{ | ||
name: 'zhima_credit', | ||
color: { | ||
color: assign({}, prevColors, { | ||
brandPrimary: 'rgba(46, 182, 169, 1)', | ||
brandPrimaryLightAlpha: 'rgba(46, 182, 169, 0.7)', | ||
}, | ||
}), | ||
}, | ||
@@ -82,0 +91,0 @@ ] |
# history | ||
## 1.2.0 | ||
* `CHANGED` new basic color defination (brand-color/functional-color/normal-color) | ||
* `CHANGED` button size & color change | ||
* `CHANGED` input color change | ||
## 1.1.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "kuma-base", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "base for kuma", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "gulp", | ||
"start": "gulp makefiles & gulp", | ||
"pub": "gulp makefiles & npm publish" | ||
@@ -26,2 +26,3 @@ }, | ||
"gulp-rename": "^1.2.2", | ||
"object-assign": "^4.1.1", | ||
"less-plugin-autoprefix": "^1.5.1", | ||
@@ -32,4 +33,3 @@ "less-plugin-glob": "^1.1.1", | ||
"dependencies": { | ||
"gulp-ejs": "^3.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
178534
0
186
2696
9
- Removedgulp-ejs@^3.0.0
- Removedansi-colors@1.1.0(transitive)
- Removedansi-wrap@0.1.0(transitive)
- Removedarr-diff@4.0.0(transitive)
- Removedarr-union@3.1.0(transitive)
- Removedassign-symbols@1.0.0(transitive)
- Removedejs@2.6.1(transitive)
- Removedextend-shallow@3.0.2(transitive)
- Removedgulp-ejs@3.3.0(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-extendable@1.0.1(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedisobject@3.0.1(transitive)
- Removedplugin-error@1.0.1(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedreplace-ext@1.0.1(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedthrough2@3.0.2(transitive)
- Removedutil-deprecate@1.0.2(transitive)