unify-token
Advanced tools
Comparing version 1.4.0-beta-3 to 1.4.0-beta-4
@@ -1,68 +0,1 @@ | ||
const Neutral = { | ||
N0: '#FFFFFF', | ||
N100: '#DBDEE2', | ||
N200: '#9FA6B0', | ||
N300: '#838994', | ||
N400: '#6C727C', | ||
N500: '#52565E', | ||
N600: '#40454C', | ||
N700: '#31353B', | ||
N50: '#F3F4F5', | ||
N75: '#E5E7E9', | ||
N150: '#B5BBC5' | ||
} | ||
const Red = { | ||
R100: '#FFEAEF', | ||
R200: '#FFCCD9', | ||
R300: '#FD8AA7', | ||
R400: '#FF5C84', | ||
R500: '#EF144A', | ||
R600: '#D6001C' | ||
} | ||
const Green = { | ||
G100: '#EBFFEF', | ||
G200: '#D6FFDE', | ||
G300: '#82EF95', | ||
G400: '#4FD15A', | ||
G500: '#03AC0E', | ||
G600: '#12883D' | ||
} | ||
const Blue = { | ||
B100: '#E5F5FF', | ||
B200: '#CCEBFF', | ||
B300: '#77CAFF', | ||
B400: '#32AFFF', | ||
B500: '#009BFF', | ||
B600: '#0066A9' | ||
} | ||
const Purple = { | ||
P100: '#FBE7FF', | ||
P200: '#EEBBFF', | ||
P300: '#D07EFF', | ||
P400: '#AC43F6', | ||
P500: '#9022DC', | ||
P600: '#7A08C9' | ||
} | ||
const Teal = { | ||
T100: '#EBF6F6', | ||
T200: '#D2F2F2', | ||
T300: '#B0E2E5', | ||
T400: '#84C6C9', | ||
T500: '#689C9E', | ||
T600: '#3A6E70' | ||
} | ||
const Yellow = { | ||
Y100: '#FFFAE6', | ||
Y200: '#FFF0B3', | ||
Y300: '#FFC400', | ||
Y400: '#FF8B00', | ||
Y500: '#FA591D' | ||
} | ||
module.exports = {Neutral,Red,Green,Blue,Purple,Teal,Yellow}; | ||
!function(e){var F={};function t(r){if(F[r])return F[r].exports;var n=F[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=F,t.d=function(e,F,r){t.o(e,F)||Object.defineProperty(e,F,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,F){if(1&F&&(e=t(e)),8&F)return e;if(4&F&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&F&&"string"!=typeof e)for(var n in e)t.d(r,n,function(F){return e[F]}.bind(null,n));return r},t.n=function(e){var F=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(F,"a",F),F},t.o=function(e,F){return Object.prototype.hasOwnProperty.call(e,F)},t.p="",t(t.s=0)}([function(e,F){e.exports={Neutral:{N0:"#FFFFFF",N100:"#DBDEE2",N200:"#9FA6B0",N300:"#838994",N400:"#6C727C",N500:"#52565E",N600:"#40454C",N700:"#31353B",N50:"#F3F4F5",N75:"#E5E7E9",N150:"#B5BBC5"},Red:{R100:"#FFEAEF",R200:"#FFCCD9",R300:"#FD8AA7",R400:"#FF5C84",R500:"#EF144A",R600:"#D6001C"},Green:{G100:"#EBFFEF",G200:"#D6FFDE",G300:"#82EF95",G400:"#4FD15A",G500:"#03AC0E",G600:"#12883D"},Blue:{B100:"#E5F5FF",B200:"#CCEBFF",B300:"#77CAFF",B400:"#32AFFF",B500:"#009BFF",B600:"#0066A9"},Purple:{P100:"#FBE7FF",P200:"#EEBBFF",P300:"#D07EFF",P400:"#AC43F6",P500:"#9022DC",P600:"#7A08C9"},Teal:{T100:"#EBF6F6",T200:"#D2F2F2",T300:"#B0E2E5",T400:"#84C6C9",T500:"#689C9E",T600:"#3A6E70"},Yellow:{Y100:"#FFFAE6",Y200:"#FFF0B3",Y300:"#FFC400",Y400:"#FF8B00",Y500:"#FA591D"}}}]); |
@@ -1,37 +0,1 @@ | ||
const breakpoint = { | ||
mobile: '768px', | ||
tablet: '1024px', | ||
desktop: '1200px' | ||
} | ||
const breakpointRAW = { | ||
mobile: 768, | ||
tablet: 1024, | ||
desktop: 1200 | ||
} | ||
const gutter = { | ||
mobile: '8px', | ||
tablet: '12px', | ||
desktop: '12px' | ||
} | ||
const gutterRAW = { | ||
mobile: 8, | ||
tablet: 12, | ||
desktop: 12 | ||
} | ||
const column = { | ||
mobile: '8px', | ||
tablet: '12px', | ||
desktop: '12px' | ||
} | ||
const columnRAW = { | ||
mobile: 8, | ||
tablet: 12, | ||
desktop: 12 | ||
} | ||
module.exports = {breakpoint,breakpointRAW,gutter,gutterRAW,column,columnRAW}; | ||
!function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([,function(e,t){e.exports={breakpoint:{mobile:"768px",tablet:"1024px",desktop:"1200px"},breakpointRAW:{mobile:768,tablet:1024,desktop:1200},gutter:{mobile:"8px",tablet:"12px",desktop:"12px"},gutterRAW:{mobile:8,tablet:12,desktop:12},column:{mobile:"8px",tablet:"12px",desktop:"12px"},columnRAW:{mobile:8,tablet:12,desktop:12}}}]); |
@@ -1,47 +0,1 @@ | ||
const spacing = { | ||
lvl1: '2px', | ||
lvl2: '4px', | ||
lvl3: '8px', | ||
lvl4: '16px', | ||
lvl5: '24px', | ||
lvl6: '32px', | ||
lvl7: '40px', | ||
lvl8: '48px' | ||
} | ||
const spacingRAW = { | ||
lvl1: 2, | ||
lvl2: 4, | ||
lvl3: 8, | ||
lvl4: 16, | ||
lvl5: 24, | ||
lvl6: 32, | ||
lvl7: 40, | ||
lvl8: 48 | ||
} | ||
const layout = { | ||
lvl1: '8px', | ||
lvl2: '16px', | ||
lvl3: '24px', | ||
lvl4: '32px', | ||
lvl5: '40px', | ||
lvl6: '48px', | ||
lvl7: '64px', | ||
lvl8: '96px', | ||
lvl9: '128px' | ||
} | ||
const layoutRAW = { | ||
lvl1: 8, | ||
lvl2: 16, | ||
lvl3: 24, | ||
lvl4: 32, | ||
lvl5: 40, | ||
lvl6: 48, | ||
lvl7: 64, | ||
lvl8: 96, | ||
lvl9: 128 | ||
} | ||
module.exports = {spacing,spacingRAW,layout,layoutRAW}; | ||
!function(l){var e={};function t(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return l[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=l,t.c=e,t.d=function(l,e,n){t.o(l,e)||Object.defineProperty(l,e,{enumerable:!0,get:n})},t.r=function(l){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},t.t=function(l,e){if(1&e&&(l=t(l)),8&e)return l;if(4&e&&"object"==typeof l&&l&&l.__esModule)return l;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:l}),2&e&&"string"!=typeof l)for(var r in l)t.d(n,r,function(e){return l[e]}.bind(null,r));return n},t.n=function(l){var e=l&&l.__esModule?function(){return l.default}:function(){return l};return t.d(e,"a",e),e},t.o=function(l,e){return Object.prototype.hasOwnProperty.call(l,e)},t.p="",t(t.s=2)}({2:function(l,e){l.exports={spacing:{lvl1:"2px",lvl2:"4px",lvl3:"8px",lvl4:"16px",lvl5:"24px",lvl6:"32px",lvl7:"40px",lvl8:"48px"},spacingRAW:{lvl1:2,lvl2:4,lvl3:8,lvl4:16,lvl5:24,lvl6:32,lvl7:40,lvl8:48},layout:{lvl1:"8px",lvl2:"16px",lvl3:"24px",lvl4:"32px",lvl5:"40px",lvl6:"48px",lvl7:"64px",lvl8:"96px",lvl9:"128px"},layoutRAW:{lvl1:8,lvl2:16,lvl3:24,lvl4:32,lvl5:40,lvl6:48,lvl7:64,lvl8:96,lvl9:128}}}}); |
@@ -1,67 +0,1 @@ | ||
const fontType = { | ||
stackHeading: 'Nunito Sans', | ||
desktop: 'Open Sans', | ||
lite: 'Open Sans', | ||
ios: 'SF Pro Text', | ||
android: 'Roboto' | ||
} | ||
const fontSize = { | ||
lvl1: '10px', | ||
lvl2: '12px', | ||
lvl3: '14px', | ||
lvl4: '16px', | ||
lvl5: '18px', | ||
lvl6: '20px', | ||
lvl7: '24px', | ||
lvl8: '28px', | ||
lvl9: '34px', | ||
lvl10: '38px' | ||
} | ||
const fontSizeRAW = { | ||
lvl1: 10, | ||
lvl2: 12, | ||
lvl3: 14, | ||
lvl4: 16, | ||
lvl5: 18, | ||
lvl6: 20, | ||
lvl7: 24, | ||
lvl8: 28, | ||
lvl9: 34, | ||
lvl10: 38 | ||
} | ||
const fontWeight = { | ||
regular: 400, | ||
bold: 700, | ||
extraBold: 800 | ||
} | ||
const lineHeight = { | ||
lvl1: '16px', | ||
lvl2: '18px', | ||
lvl3: '20px', | ||
lvl4: '22px', | ||
lvl5: '24px', | ||
lvl6: '26px', | ||
lvl7: '30px', | ||
lvl8: '34px', | ||
lvl9: '40px', | ||
lvl10: '44px' | ||
} | ||
const lineHeightRAW = { | ||
lvl1: 16, | ||
lvl2: 18, | ||
lvl3: 20, | ||
lvl4: 22, | ||
lvl5: 24, | ||
lvl6: 26, | ||
lvl7: 30, | ||
lvl8: 34, | ||
lvl9: 40, | ||
lvl10: 44 | ||
} | ||
module.exports = {fontType,fontSize,fontSizeRAW,fontWeight,lineHeight,lineHeightRAW}; | ||
!function(l){var e={};function t(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return l[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=l,t.c=e,t.d=function(l,e,n){t.o(l,e)||Object.defineProperty(l,e,{enumerable:!0,get:n})},t.r=function(l){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},t.t=function(l,e){if(1&e&&(l=t(l)),8&e)return l;if(4&e&&"object"==typeof l&&l&&l.__esModule)return l;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:l}),2&e&&"string"!=typeof l)for(var r in l)t.d(n,r,function(e){return l[e]}.bind(null,r));return n},t.n=function(l){var e=l&&l.__esModule?function(){return l.default}:function(){return l};return t.d(e,"a",e),e},t.o=function(l,e){return Object.prototype.hasOwnProperty.call(l,e)},t.p="",t(t.s=3)}({3:function(l,e){l.exports={fontType:{stackHeading:"Nunito Sans",desktop:"Open Sans",lite:"Open Sans",ios:"SF Pro Text",android:"Roboto"},fontSize:{lvl1:"10px",lvl2:"12px",lvl3:"14px",lvl4:"16px",lvl5:"18px",lvl6:"20px",lvl7:"24px",lvl8:"28px",lvl9:"34px",lvl10:"38px"},fontSizeRAW:{lvl1:10,lvl2:12,lvl3:14,lvl4:16,lvl5:18,lvl6:20,lvl7:24,lvl8:28,lvl9:34,lvl10:38},fontWeight:{regular:400,bold:700,extraBold:800},lineHeight:{lvl1:"16px",lvl2:"18px",lvl3:"20px",lvl4:"22px",lvl5:"24px",lvl6:"26px",lvl7:"30px",lvl8:"34px",lvl9:"40px",lvl10:"44px"},lineHeightRAW:{lvl1:16,lvl2:18,lvl3:20,lvl4:22,lvl5:24,lvl6:26,lvl7:30,lvl8:34,lvl9:40,lvl10:44}}}}); |
{ | ||
"name": "unify-token", | ||
"version": "1.4.0-beta-3", | ||
"version": "1.4.0-beta-4", | ||
"description": "Design Tokens for the Unify Design System", | ||
@@ -8,3 +8,3 @@ "main": "README.md", | ||
"scripts": { | ||
"build": "rimraf ./build && node globfile.js", | ||
"build": "rimraf ./build && node globfile.js && npx webpack -p", | ||
"build-test": "rimraf ./build && theo ./tokens/index.yml --format module.js,scss,common.js,ios.json,android.xml --dest ./build", | ||
@@ -11,0 +11,0 @@ "clean": "rimraf ./build", |
45452
391