@theme-ui/preset-deep
Advanced tools
Comparing version 0.3.2-alpha.10 to 0.3.4
@@ -1,3 +0,18 @@ | ||
var _table, _prism; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
var _prism; | ||
var heading = { | ||
@@ -105,3 +120,3 @@ fontFamily: 'heading', | ||
}, | ||
table: (_table = { | ||
table: _defineProperty({ | ||
width: '100%', | ||
@@ -111,3 +126,3 @@ my: 4, | ||
borderSpacing: 0 | ||
}, _table[['th', 'td']] = { | ||
}, ['th', 'td'], { | ||
textAlign: 'left', | ||
@@ -119,3 +134,3 @@ py: '4px', | ||
borderBottomStyle: 'solid' | ||
}, _table), | ||
}), | ||
th: { | ||
@@ -138,13 +153,13 @@ verticalAlign: 'bottom', | ||
}, | ||
prism: (_prism = {}, _prism[['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url']] = { | ||
prism: (_prism = {}, _defineProperty(_prism, ['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url'], { | ||
color: 'gray' | ||
}, _prism['.comment'] = { | ||
}), _defineProperty(_prism, '.comment', { | ||
fontStyle: 'italic' | ||
}, _prism[['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable']] = { | ||
}), _defineProperty(_prism, ['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable'], { | ||
color: 'purple' | ||
}, _prism[['.atrule', '.attr-value', '.keyword']] = { | ||
}), _defineProperty(_prism, ['.atrule', '.attr-value', '.keyword'], { | ||
color: 'primary' | ||
}, _prism[['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted']] = { | ||
}), _defineProperty(_prism, ['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted'], { | ||
color: 'secondary' | ||
}, _prism) | ||
}), _prism) | ||
}; | ||
@@ -151,0 +166,0 @@ |
@@ -1,3 +0,18 @@ | ||
var _table, _prism; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
var _prism; | ||
var heading = { | ||
@@ -105,3 +120,3 @@ fontFamily: 'heading', | ||
}, | ||
table: (_table = { | ||
table: _defineProperty({ | ||
width: '100%', | ||
@@ -111,3 +126,3 @@ my: 4, | ||
borderSpacing: 0 | ||
}, _table[['th', 'td']] = { | ||
}, ['th', 'td'], { | ||
textAlign: 'left', | ||
@@ -119,3 +134,3 @@ py: '4px', | ||
borderBottomStyle: 'solid' | ||
}, _table), | ||
}), | ||
th: { | ||
@@ -138,13 +153,13 @@ verticalAlign: 'bottom', | ||
}, | ||
prism: (_prism = {}, _prism[['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url']] = { | ||
prism: (_prism = {}, _defineProperty(_prism, ['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url'], { | ||
color: 'gray' | ||
}, _prism['.comment'] = { | ||
}), _defineProperty(_prism, '.comment', { | ||
fontStyle: 'italic' | ||
}, _prism[['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable']] = { | ||
}), _defineProperty(_prism, ['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable'], { | ||
color: 'purple' | ||
}, _prism[['.atrule', '.attr-value', '.keyword']] = { | ||
}), _defineProperty(_prism, ['.atrule', '.attr-value', '.keyword'], { | ||
color: 'primary' | ||
}, _prism[['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted']] = { | ||
}), _defineProperty(_prism, ['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted'], { | ||
color: 'secondary' | ||
}, _prism) | ||
}), _prism) | ||
}; | ||
@@ -151,0 +166,0 @@ |
@@ -6,3 +6,3 @@ const heading = { | ||
}; | ||
var index = { | ||
const deep = { | ||
colors: { | ||
@@ -109,3 +109,3 @@ text: 'hsl(210, 50%, 96%)', | ||
borderSpacing: 0, | ||
[['th', 'td']]: { | ||
'th,td': { | ||
textAlign: 'left', | ||
@@ -137,3 +137,3 @@ py: '4px', | ||
prism: { | ||
[['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url']]: { | ||
'.comment,.prolog,.doctype,.cdata,.punctuation,.operator,.entity,.url': { | ||
color: 'gray' | ||
@@ -144,9 +144,9 @@ }, | ||
}, | ||
[['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable']]: { | ||
'.property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable': { | ||
color: 'purple' | ||
}, | ||
[['.atrule', '.attr-value', '.keyword']]: { | ||
'.atrule,.attr-value,.keyword': { | ||
color: 'primary' | ||
}, | ||
[['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted']]: { | ||
'.selector,.attr-name,.string,.char,.builtin,.inserted': { | ||
color: 'secondary' | ||
@@ -157,3 +157,4 @@ } | ||
export default index; | ||
export default deep; | ||
export { deep }; | ||
//# sourceMappingURL=index.modern.js.map |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(global = global || self, global.presetDeep = factory()); | ||
(global.presetDeep = factory()); | ||
}(this, (function () { | ||
var _table, _prism; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
var _prism; | ||
var heading = { | ||
@@ -110,3 +125,3 @@ fontFamily: 'heading', | ||
}, | ||
table: (_table = { | ||
table: _defineProperty({ | ||
width: '100%', | ||
@@ -116,3 +131,3 @@ my: 4, | ||
borderSpacing: 0 | ||
}, _table[['th', 'td']] = { | ||
}, ['th', 'td'], { | ||
textAlign: 'left', | ||
@@ -124,3 +139,3 @@ py: '4px', | ||
borderBottomStyle: 'solid' | ||
}, _table), | ||
}), | ||
th: { | ||
@@ -143,13 +158,13 @@ verticalAlign: 'bottom', | ||
}, | ||
prism: (_prism = {}, _prism[['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url']] = { | ||
prism: (_prism = {}, _defineProperty(_prism, ['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url'], { | ||
color: 'gray' | ||
}, _prism['.comment'] = { | ||
}), _defineProperty(_prism, '.comment', { | ||
fontStyle: 'italic' | ||
}, _prism[['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable']] = { | ||
}), _defineProperty(_prism, ['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable'], { | ||
color: 'purple' | ||
}, _prism[['.atrule', '.attr-value', '.keyword']] = { | ||
}), _defineProperty(_prism, ['.atrule', '.attr-value', '.keyword'], { | ||
color: 'primary' | ||
}, _prism[['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted']] = { | ||
}), _defineProperty(_prism, ['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted'], { | ||
color: 'secondary' | ||
}, _prism) | ||
}), _prism) | ||
}; | ||
@@ -156,0 +171,0 @@ |
{ | ||
"name": "@theme-ui/preset-deep", | ||
"version": "0.3.2-alpha.10+80ad9af6", | ||
"version": "0.3.4", | ||
"main": "dist/index.js", | ||
@@ -15,3 +15,3 @@ "module": "dist/index.esm.js", | ||
}, | ||
"gitHead": "80ad9af6483a680fb703d5ebd7b8564d06e7d6c7" | ||
"gitHead": "7840f829dea27b554c5cd1cb00470770fceca2eb" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
973
0
52673