@entur/tokens
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -6,2 +6,8 @@ # Change Log | ||
## [1.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.2.1...@entur/tokens@1.2.2) (2020-03-18) | ||
### Bug Fixes | ||
- update shadow tokens ([cfb67d4](https://bitbucket.org/enturas/design-system/commits/cfb67d41eb169f917ced88a35f540120d0d58a78)) | ||
## [1.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.2.0...@entur/tokens@1.2.1) (2020-02-20) | ||
@@ -8,0 +14,0 @@ |
@@ -80,2 +80,5 @@ export declare const colors: { | ||
cardShadow: string; | ||
cardShadowHover: string; | ||
cardShadowContrast: string; | ||
cardShadowHoverContrast: string; | ||
}; | ||
@@ -82,0 +85,0 @@ export declare const space: { |
@@ -97,3 +97,6 @@ 'use strict'; | ||
focus: "0 0 0.125rem 0.125rem " + colors.misc.focus, | ||
cardShadow: '0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.2)' | ||
cardShadow: "0 0.125rem 0.1875 0 " + colors.greys.grey10, | ||
cardShadowHover: "0 0.125rem 1rem 0 " + colors.greys.grey10, | ||
cardShadowContrast: "0 0.125rem 0.1875 0 " + colors.blues.blue20, | ||
cardShadowHoverContrast: "0 0.125rem 1rem 0 " + colors.blues.blue20 | ||
}; // Dimensions | ||
@@ -100,0 +103,0 @@ |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={brand:{blue:"#181c56",lavender:"#aeb7e2",white:"#ffffff",coral:"#ff5959",peach:"#ffbf9e"},blues:{blue10:"#292b6a",blue20:"#393d79",blue30:"#54568c",blue40:"#656782",blue50:"#8285a8",blue60:"#babbcf",blue70:"#d1d4e3",blue80:"#ebebf1"},greys:{grey:"#949494",grey10:"#d1d3d3",grey20:"#e9e9e9",grey30:"#f3f3f3",grey40:"#f8f8f8"},validation:{sky:"#0082b9",skyContrast:"#64b3e7",skyTint:"#e1eff8",lava:"#d31b1b",lavaContrast:"#ff9494",lavaTint:"#ffcece",mint:"#1a8e60",mintContrast:"#5ac39a",mintTint:"#d0f1e3",canary:"#efd358"},misc:{focus:"rgba(68, 192, 255, 0.5)",black:"#1a1a1a"},transport:{default:{metro:"#de8108",bus:"#dd5415",plane:"#800664",helicopter:"#800664",tram:"#642e88",funicular:"#642e88",cableway:"#642e88",taxi:"#181c56",bicycle:"#181c56",walk:"#181c56",train:"#00367f",ferry:"#0497bc",carferry:"#0497bc",mobility:"#388f76"},contrast:{metro:"#f08901",bus:"#ff5974",plane:"#e258c3",helicopter:"#e258c3",tram:"#a476e5",funicular:"#a476e5",cableway:"#a476e5",taxi:"#ffffff",bicycle:"#ffffff",walk:"#ffffff",train:"#42a5f5",ferry:"#6fdfff",carferry:"#6fdfff",mobility:"#00db9b"}}},a={focus:"0 0 0.125rem 0.125rem "+e.misc.focus,cardShadow:"0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.2)"},r=[0,4,8,12,16,24,32,40,48,56,64,72,80,88,96],t={none:r[0],default:r[4],extraSmall2:r[1],extraSmall:r[2],small:r[3],medium:r[4],large:r[5],extraLarge:r[6],extraLarge2:r[7],extraLarge3:r[8],extraLarge4:r[9],extraLarge5:r[10],extraLarge6:r[11],extraLarge7:r[12],extraLarge8:r[13],extraLarge9:r[14]},f=[10,12,14,16,24,28,32,40],l={extraSmall:f[0],small:f[1],medium:f[2],large:f[3],extraLarge:f[4],extraLarge2:f[5],extraLarge3:f[6],extraLarge4:f[7]},s=[14,16,20,22,24,28,30,36,42,48,60],o={extraSmall:s[0],small:s[1],medium:s[2],large:s[3],extraLarge:s[4],extraLarge2:s[5],extraLarge3:s[6],extraLarge4:s[7],extraLarge5:s[8],extraLarge6:s[9],extraLarge7:s[10]},i=[1,2,4],b={default:i[1],small:i[0],medium:i[1],large:i[2]},d=[1,4],c=["-1","0","10","20","30","40","50"],x={behind:c[0],default:c[1],sticky:c[2],popover:c[3],overlay:c[4],modal:c[5],toast:c[6]},m=["0.1s","0.2s","0.5s"],g={fast:m[0],medium:m[1],slow:m[2]};exports.borderRadiuses={default:d[0],small:d[0],medium:d[1]},exports.borderWidths=b,exports.breakpoints={large:800,extraLarge:1200},exports.colors=e,exports.fontSizes=l,exports.fontWeights={body:"500",heading:"600"},exports.lineHeights=o,exports.shadows=a,exports.space=t,exports.timings=g,exports.zIndexes=x; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={brand:{blue:"#181c56",lavender:"#aeb7e2",white:"#ffffff",coral:"#ff5959",peach:"#ffbf9e"},blues:{blue10:"#292b6a",blue20:"#393d79",blue30:"#54568c",blue40:"#656782",blue50:"#8285a8",blue60:"#babbcf",blue70:"#d1d4e3",blue80:"#ebebf1"},greys:{grey:"#949494",grey10:"#d1d3d3",grey20:"#e9e9e9",grey30:"#f3f3f3",grey40:"#f8f8f8"},validation:{sky:"#0082b9",skyContrast:"#64b3e7",skyTint:"#e1eff8",lava:"#d31b1b",lavaContrast:"#ff9494",lavaTint:"#ffcece",mint:"#1a8e60",mintContrast:"#5ac39a",mintTint:"#d0f1e3",canary:"#efd358"},misc:{focus:"rgba(68, 192, 255, 0.5)",black:"#1a1a1a"},transport:{default:{metro:"#de8108",bus:"#dd5415",plane:"#800664",helicopter:"#800664",tram:"#642e88",funicular:"#642e88",cableway:"#642e88",taxi:"#181c56",bicycle:"#181c56",walk:"#181c56",train:"#00367f",ferry:"#0497bc",carferry:"#0497bc",mobility:"#388f76"},contrast:{metro:"#f08901",bus:"#ff5974",plane:"#e258c3",helicopter:"#e258c3",tram:"#a476e5",funicular:"#a476e5",cableway:"#a476e5",taxi:"#ffffff",bicycle:"#ffffff",walk:"#ffffff",train:"#42a5f5",ferry:"#6fdfff",carferry:"#6fdfff",mobility:"#00db9b"}}},a={focus:"0 0 0.125rem 0.125rem "+e.misc.focus,cardShadow:"0 0.125rem 0.1875 0 "+e.greys.grey10,cardShadowHover:"0 0.125rem 1rem 0 "+e.greys.grey10,cardShadowContrast:"0 0.125rem 0.1875 0 "+e.blues.blue20,cardShadowHoverContrast:"0 0.125rem 1rem 0 "+e.blues.blue20},r=[0,4,8,12,16,24,32,40,48,56,64,72,80,88,96],t={none:r[0],default:r[4],extraSmall2:r[1],extraSmall:r[2],small:r[3],medium:r[4],large:r[5],extraLarge:r[6],extraLarge2:r[7],extraLarge3:r[8],extraLarge4:r[9],extraLarge5:r[10],extraLarge6:r[11],extraLarge7:r[12],extraLarge8:r[13],extraLarge9:r[14]},f=[10,12,14,16,24,28,32,40],l={extraSmall:f[0],small:f[1],medium:f[2],large:f[3],extraLarge:f[4],extraLarge2:f[5],extraLarge3:f[6],extraLarge4:f[7]},s=[14,16,20,22,24,28,30,36,42,48,60],o={extraSmall:s[0],small:s[1],medium:s[2],large:s[3],extraLarge:s[4],extraLarge2:s[5],extraLarge3:s[6],extraLarge4:s[7],extraLarge5:s[8],extraLarge6:s[9],extraLarge7:s[10]},d=[1,2,4],b={default:d[1],small:d[0],medium:d[1],large:d[2]},i=[1,4],c=["-1","0","10","20","30","40","50"],m={behind:c[0],default:c[1],sticky:c[2],popover:c[3],overlay:c[4],modal:c[5],toast:c[6]},g=["0.1s","0.2s","0.5s"],x={fast:g[0],medium:g[1],slow:g[2]};exports.borderRadiuses={default:i[0],small:i[0],medium:i[1]},exports.borderWidths=b,exports.breakpoints={large:800,extraLarge:1200},exports.colors=e,exports.fontSizes=l,exports.fontWeights={body:"500",heading:"600"},exports.lineHeights=o,exports.shadows=a,exports.space=t,exports.timings=x,exports.zIndexes=m; | ||
//# sourceMappingURL=tokens.cjs.production.min.js.map |
@@ -93,3 +93,6 @@ /* | ||
focus: "0 0 0.125rem 0.125rem " + colors.misc.focus, | ||
cardShadow: '0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.2)' | ||
cardShadow: "0 0.125rem 0.1875 0 " + colors.greys.grey10, | ||
cardShadowHover: "0 0.125rem 1rem 0 " + colors.greys.grey10, | ||
cardShadowContrast: "0 0.125rem 0.1875 0 " + colors.blues.blue20, | ||
cardShadowHoverContrast: "0 0.125rem 1rem 0 " + colors.blues.blue20 | ||
}; // Dimensions | ||
@@ -96,0 +99,0 @@ |
{ | ||
"name": "@entur/tokens", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"license": "EUPL-1.2", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "4adf368b06a4aaa92cf4d0f9934ab39179f42eb5" | ||
"gitHead": "73fbc889f6c8043e20945c62eb205583ddda5da1" | ||
} |
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
87220
663