@theme-ui/preset-bootstrap
Advanced tools
Comparing version 0.3.0 to 0.4.0-alpha.0
@@ -53,4 +53,3 @@ function _defineProperty(obj, key, value) { | ||
black: '#000', | ||
gray: ['#fff', // 0 index | ||
'#f8f9fa', '#e9ecef', '#dee2e6', '#ced4da', '#adb5bd', '#6c757d', '#495057', '#343a40', '#212529'], | ||
gray: ['#fff', '#f8f9fa', '#e9ecef', '#dee2e6', '#ced4da', '#adb5bd', '#6c757d', '#495057', '#343a40', '#212529'], | ||
blue: '#007bff', | ||
@@ -65,4 +64,3 @@ indigo: '#6610f2', | ||
teal: '#20c997', | ||
cyan: '#17a2b8' // gray: gray[6], | ||
cyan: '#17a2b8' | ||
}; | ||
@@ -91,3 +89,5 @@ var colors = _objectSpread2({}, baseColors, { | ||
heading: 'inherit', | ||
monospace: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace' | ||
monospace: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace', | ||
// NOTE(@mxstbr): TypeScript does not let us do the self-references below if we don't provide "default" values | ||
sans: '' | ||
}; | ||
@@ -99,8 +99,10 @@ fonts.sans = fonts.body; | ||
bold: 700, | ||
light: 300 | ||
light: 300, | ||
// NOTE(@mxstbr): TypeScript does not let us do the self-references below if we don't provide "default" values | ||
normal: 0, | ||
display: 0 | ||
}; | ||
fontWeights.normal = fontWeights.body; | ||
fontWeights.display = fontWeights.light; | ||
var fontSizes = ['0.75rem', // '80%', | ||
'0.875rem', '1rem', '1.25rem', '1.5rem', '1.75rem', '2rem', '2.5rem', '3.5rem', '4.5rem', '5.5rem', '6rem']; | ||
var fontSizes = ['0.75rem', '0.875rem', '1rem', '1.25rem', '1.5rem', '1.75rem', '2rem', '2.5rem', '3.5rem', '4.5rem', '5.5rem', '6rem']; | ||
fontSizes.lead = fontSizes[3]; | ||
@@ -107,0 +109,0 @@ var lineHeights = { |
@@ -53,4 +53,3 @@ function _defineProperty(obj, key, value) { | ||
black: '#000', | ||
gray: ['#fff', // 0 index | ||
'#f8f9fa', '#e9ecef', '#dee2e6', '#ced4da', '#adb5bd', '#6c757d', '#495057', '#343a40', '#212529'], | ||
gray: ['#fff', '#f8f9fa', '#e9ecef', '#dee2e6', '#ced4da', '#adb5bd', '#6c757d', '#495057', '#343a40', '#212529'], | ||
blue: '#007bff', | ||
@@ -65,4 +64,3 @@ indigo: '#6610f2', | ||
teal: '#20c997', | ||
cyan: '#17a2b8' // gray: gray[6], | ||
cyan: '#17a2b8' | ||
}; | ||
@@ -91,3 +89,5 @@ var colors = _objectSpread2({}, baseColors, { | ||
heading: 'inherit', | ||
monospace: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace' | ||
monospace: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace', | ||
// NOTE(@mxstbr): TypeScript does not let us do the self-references below if we don't provide "default" values | ||
sans: '' | ||
}; | ||
@@ -99,8 +99,10 @@ fonts.sans = fonts.body; | ||
bold: 700, | ||
light: 300 | ||
light: 300, | ||
// NOTE(@mxstbr): TypeScript does not let us do the self-references below if we don't provide "default" values | ||
normal: 0, | ||
display: 0 | ||
}; | ||
fontWeights.normal = fontWeights.body; | ||
fontWeights.display = fontWeights.light; | ||
var fontSizes = ['0.75rem', // '80%', | ||
'0.875rem', '1rem', '1.25rem', '1.5rem', '1.75rem', '2rem', '2.5rem', '3.5rem', '4.5rem', '5.5rem', '6rem']; | ||
var fontSizes = ['0.75rem', '0.875rem', '1rem', '1.25rem', '1.5rem', '1.75rem', '2rem', '2.5rem', '3.5rem', '4.5rem', '5.5rem', '6rem']; | ||
fontSizes.lead = fontSizes[3]; | ||
@@ -107,0 +109,0 @@ var lineHeights = { |
@@ -58,4 +58,3 @@ (function (global, factory) { | ||
black: '#000', | ||
gray: ['#fff', // 0 index | ||
'#f8f9fa', '#e9ecef', '#dee2e6', '#ced4da', '#adb5bd', '#6c757d', '#495057', '#343a40', '#212529'], | ||
gray: ['#fff', '#f8f9fa', '#e9ecef', '#dee2e6', '#ced4da', '#adb5bd', '#6c757d', '#495057', '#343a40', '#212529'], | ||
blue: '#007bff', | ||
@@ -70,4 +69,3 @@ indigo: '#6610f2', | ||
teal: '#20c997', | ||
cyan: '#17a2b8' // gray: gray[6], | ||
cyan: '#17a2b8' | ||
}; | ||
@@ -96,3 +94,5 @@ var colors = _objectSpread2({}, baseColors, { | ||
heading: 'inherit', | ||
monospace: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace' | ||
monospace: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace', | ||
// NOTE(@mxstbr): TypeScript does not let us do the self-references below if we don't provide "default" values | ||
sans: '' | ||
}; | ||
@@ -104,8 +104,10 @@ fonts.sans = fonts.body; | ||
bold: 700, | ||
light: 300 | ||
light: 300, | ||
// NOTE(@mxstbr): TypeScript does not let us do the self-references below if we don't provide "default" values | ||
normal: 0, | ||
display: 0 | ||
}; | ||
fontWeights.normal = fontWeights.body; | ||
fontWeights.display = fontWeights.light; | ||
var fontSizes = ['0.75rem', // '80%', | ||
'0.875rem', '1rem', '1.25rem', '1.5rem', '1.75rem', '2rem', '2.5rem', '3.5rem', '4.5rem', '5.5rem', '6rem']; | ||
var fontSizes = ['0.75rem', '0.875rem', '1rem', '1.25rem', '1.5rem', '1.75rem', '2rem', '2.5rem', '3.5rem', '4.5rem', '5.5rem', '6rem']; | ||
fontSizes.lead = fontSizes[3]; | ||
@@ -112,0 +114,0 @@ var lineHeights = { |
{ | ||
"name": "@theme-ui/preset-bootstrap", | ||
"version": "0.3.0", | ||
"version": "0.4.0-alpha.0", | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/index.d.ts", | ||
"source": "src/index.ts", | ||
"author": "Brent Jackson", | ||
@@ -15,3 +17,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "7663897ec671e1ff66b0d4ef946611dd57f3bb99" | ||
"gitHead": "fbdd88ea280c0d9880d39a114cb6d19f0d4da2ca" | ||
} |
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
98235
206
1283