@arch-ui/theme
Advanced tools
Comparing version 0.0.2 to 0.0.3
# @arch-ui/theme | ||
## 0.0.3 | ||
- [patch][e75c105c](https://github.com/keystonejs/keystone-5/commit/e75c105c): | ||
- admin revamp | ||
## 0.0.2 | ||
@@ -4,0 +10,0 @@ |
@@ -84,4 +84,9 @@ 'use strict'; | ||
var shade = function shade(alpha) { | ||
return "rgba(9, 30, 66, ".concat(alpha, ")"); | ||
}; | ||
var shadows = ["0px 2px 5px 0px ".concat(shade(0.12)), "0px 5px 10px 0px ".concat(shade(0.12)), "0px 6px 12px -2px ".concat(shade(0.12), ", 0 0 0 1px ").concat(shade(0.08)), "0px 6px 12px -2px ".concat(shade(0.24), ", 0 0 0 1px ").concat(shade(0.08))]; | ||
var fontFamily = "\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n \"Apple Color Emoji\",\n \"Segoe UI Emoji\",\n \"Segoe UI Symbol\"\n"; | ||
var borderRadius = 4; | ||
var borderRadius = 6; | ||
var gridSize = 8; | ||
@@ -118,1 +123,2 @@ var fontSize = 16; | ||
exports.globalStyles = globalStyles; | ||
exports.shadows = shadows; |
@@ -66,5 +66,16 @@ "use strict"; | ||
), | ||
shade = function(alpha) { | ||
return "rgba(9, 30, 66, ".concat(alpha, ")"); | ||
}, | ||
shadows = [ | ||
"0px 2px 5px 0px ".concat(shade(0.12)), | ||
"0px 5px 10px 0px ".concat(shade(0.12)), | ||
"0px 6px 12px -2px " | ||
.concat(shade(0.12), ", 0 0 0 1px ") | ||
.concat(shade(0.08)), | ||
"0px 6px 12px -2px ".concat(shade(0.24), ", 0 0 0 1px ").concat(shade(0.08)) | ||
], | ||
fontFamily = | ||
'\n -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji",\n "Segoe UI Symbol"\n', | ||
borderRadius = 4, | ||
borderRadius = 6, | ||
gridSize = 8, | ||
@@ -95,2 +106,3 @@ fontSize = 16, | ||
(exports.colors = colors), | ||
(exports.globalStyles = globalStyles); | ||
(exports.globalStyles = globalStyles), | ||
(exports.shadows = shadows); |
@@ -73,4 +73,10 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread'; | ||
var shade = function shade(alpha$$1) { | ||
return "rgba(9, 30, 66, ".concat(alpha$$1, ")"); | ||
}; | ||
var shadows = ["0px 2px 5px 0px ".concat(shade(0.12)), "0px 5px 10px 0px ".concat(shade(0.12)), "0px 6px 12px -2px ".concat(shade(0.12), ", 0 0 0 1px ").concat(shade(0.08)), "0px 6px 12px -2px ".concat(shade(0.24), ", 0 0 0 1px ").concat(shade(0.08))]; | ||
var fontFamily = "\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n \"Apple Color Emoji\",\n \"Segoe UI Emoji\",\n \"Segoe UI Symbol\"\n"; | ||
var borderRadius = 4; | ||
var borderRadius = 6; | ||
var gridSize = 8; | ||
@@ -102,2 +108,2 @@ var fontSize = 16; | ||
export { fontFamily, borderRadius, gridSize, fontSize, colors, globalStyles }; | ||
export { fontFamily, borderRadius, gridSize, fontSize, colors, globalStyles, shadows }; |
{ | ||
"name": "@arch-ui/theme", | ||
"version": "0.0.2", | ||
"description": "Common Theme as used throughout @arch-ui packages and @keystone-alpha Admin UI.", | ||
"version": "0.0.3", | ||
"author": "Jed Watson", | ||
@@ -5,0 +6,0 @@ "license": "MIT", |
@@ -14,3 +14,3 @@ // @flow | ||
`; | ||
export const borderRadius = 4; | ||
export const borderRadius = 6; | ||
export const gridSize = 8; | ||
@@ -20,2 +20,3 @@ export const fontSize = 16; | ||
import colors from './colors'; | ||
export { shadows } from './shadows'; | ||
@@ -22,0 +23,0 @@ export { colors }; |
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
13647
12
486