@barguide/style-guide
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.0.5](https://github.com/barguide/taps/compare/@barguide/style-guide@2.0.4...@barguide/style-guide@2.0.5) (2021-03-25) | ||
**Note:** Version bump only for package @barguide/style-guide | ||
## [2.0.4](https://github.com/barguide/taps/compare/@barguide/style-guide@2.0.3...@barguide/style-guide@2.0.4) (2021-03-24) | ||
@@ -8,0 +16,0 @@ |
@@ -89,2 +89,3 @@ 'use strict'; | ||
const grid = { | ||
'1xxs': 2, | ||
'1xs': 4, | ||
@@ -91,0 +92,0 @@ '1x': 8, |
@@ -85,2 +85,3 @@ // Roygbiv | ||
const grid = { | ||
'1xxs': 2, | ||
'1xs': 4, | ||
@@ -87,0 +88,0 @@ '1x': 8, |
@@ -91,2 +91,3 @@ (function (global, factory) { | ||
const grid = { | ||
'1xxs': 2, | ||
'1xs': 4, | ||
@@ -93,0 +94,0 @@ '1x': 8, |
@@ -85,2 +85,3 @@ // Roygbiv | ||
const grid = { | ||
'1xxs': 2, | ||
'1xs': 4, | ||
@@ -126,21 +127,23 @@ '1x': 8, | ||
const config = { | ||
plugins: [], | ||
prefix: 'u-', | ||
/** | ||
* @description Purge happens at the consumer level | ||
*/ | ||
purge: false, | ||
/** | ||
* @description Tie it all back into Tailwind | ||
*/ | ||
theme: { | ||
borderRadius: { | ||
4: `${grid['1xs']}px`, | ||
full: '100%' | ||
}, | ||
colors: color, | ||
fonts: font, | ||
spacing: gridToPixels(grid) | ||
}, | ||
/** | ||
* @description tbd... | ||
*/ | ||
variants: {} | ||
fontFamily: font.family, | ||
fontSize: font.size, | ||
letterSpacing: { | ||
normal: 0, | ||
wide: `${grid['1xxs']}px` | ||
}, | ||
spacing: gridToPixels(grid), | ||
width: { | ||
auto: 'auto', | ||
full: '100%' | ||
} | ||
} | ||
}; | ||
module.exports = config; |
@@ -9,2 +9,3 @@ /** | ||
declare const grid: { | ||
'1xxs': number; | ||
'1xs': number; | ||
@@ -11,0 +12,0 @@ '1x': number; |
{ | ||
"name": "@barguide/style-guide", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"author": { | ||
@@ -56,3 +56,3 @@ "name": "Matthew Scholta", | ||
"types": "./dist/index.d.ts", | ||
"gitHead": "c605b3a320f6755b12d03199cd20a0fe6ba4d3b3" | ||
"gitHead": "8b249006e5d64015279a63fb4cf98241963f7f76" | ||
} |
@@ -27,25 +27,24 @@ import { color } from './variables/color'; | ||
const config = { | ||
plugins: [], | ||
prefix: 'u-', | ||
/** | ||
* @description Purge happens at the consumer level | ||
*/ | ||
purge: false, | ||
/** | ||
* @description Tie it all back into Tailwind | ||
*/ | ||
theme: { | ||
borderRadius: { | ||
4: `${grid['1xs']}px`, | ||
full: '100%' | ||
}, | ||
colors: color, | ||
fonts: font, | ||
spacing: gridToPixels(grid) | ||
}, | ||
/** | ||
* @description tbd... | ||
*/ | ||
variants: {} | ||
fontFamily: font.family, | ||
fontSize: font.size, | ||
letterSpacing: { | ||
normal: 0, | ||
wide: `${grid['1xxs']}px` | ||
}, | ||
spacing: gridToPixels(grid), | ||
width: { | ||
auto: 'auto', | ||
full: '100%' | ||
} | ||
} | ||
}; | ||
module.exports = config; |
@@ -9,2 +9,3 @@ /** | ||
const grid = { | ||
'1xxs': 2, | ||
'1xs': 4, | ||
@@ -11,0 +12,0 @@ '1x': 8, |
96936
3070