@lightspeed/cirrus-tokens
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -6,2 +6,14 @@ # Change Log | ||
<a name="2.6.0"></a> | ||
# [2.6.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-tokens@2.5.0...@lightspeed/cirrus-tokens@2.6.0) (2018-02-22) | ||
### Features | ||
* **icon:** Add fill utility classes ([#367](https://github.com/lightspeedretail/cirrus/issues/367)) ([e12c9c9](https://github.com/lightspeedretail/cirrus/commit/e12c9c9)) | ||
* **tokens:** add border shadow and update documentation ([#370](https://github.com/lightspeedretail/cirrus/issues/370)) ([dc6ebef](https://github.com/lightspeedretail/cirrus/commit/dc6ebef)) | ||
<a name="2.5.0"></a> | ||
@@ -8,0 +20,0 @@ # [2.5.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-tokens@2.4.0...@lightspeed/cirrus-tokens@2.5.0) (2018-02-19) |
{ | ||
"name": "@lightspeed/cirrus-tokens", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "Cirrus's Foundation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -100,3 +100,4 @@ # Tokens | ||
- Outer: `.cr-shadow-{scale}` | ||
- Inner: `.cr-inner-shadow-{scale}` | ||
- Inner: `.cr-inner-shadow-{scale}`, `.cr-inner-shadow-n{scale}` | ||
- Border: `.cr-border-shadow` | ||
@@ -103,0 +104,0 @@ #### Radii |
@@ -31,2 +31,9 @@ const { parseToRgb } = require('polished'); | ||
const borderValues = [{ spread: 1 }]; | ||
const border = borderValues.reduce((obj, { spread }) => { | ||
// eslint-disable-next-line no-param-reassign | ||
obj[`border-shadow`] = `0 0 0 ${pxToRem(spread)} rgba(${red}, ${green}, ${blue}, 0.1)`; | ||
return obj; | ||
}, {}); | ||
module.exports = { | ||
@@ -36,2 +43,3 @@ outer, | ||
innerN, | ||
border, | ||
}; |
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
37375
265
158