@theme-ui/preset-deep
Advanced tools
Comparing version 0.3.0 to 0.4.0-alpha.0
@@ -1,18 +0,1 @@ | ||
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 = { | ||
@@ -120,15 +103,16 @@ fontFamily: 'heading', | ||
}, | ||
table: _defineProperty({ | ||
table: { | ||
width: '100%', | ||
my: 4, | ||
borderCollapse: 'separate', | ||
borderSpacing: 0 | ||
}, ['th', 'td'], { | ||
textAlign: 'left', | ||
py: '4px', | ||
pr: '4px', | ||
pl: 0, | ||
borderColor: 'muted', | ||
borderBottomStyle: 'solid' | ||
}), | ||
borderSpacing: 0, | ||
'th,td': { | ||
textAlign: 'left', | ||
py: '4px', | ||
pr: '4px', | ||
pl: 0, | ||
borderColor: 'muted', | ||
borderBottomStyle: 'solid' | ||
} | ||
}, | ||
th: { | ||
@@ -151,13 +135,19 @@ verticalAlign: 'bottom', | ||
}, | ||
prism: (_prism = {}, _defineProperty(_prism, ['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url'], { | ||
color: 'gray' | ||
}), _defineProperty(_prism, '.comment', { | ||
fontStyle: 'italic' | ||
}), _defineProperty(_prism, ['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable'], { | ||
color: 'purple' | ||
}), _defineProperty(_prism, ['.atrule', '.attr-value', '.keyword'], { | ||
color: 'primary' | ||
}), _defineProperty(_prism, ['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted'], { | ||
color: 'secondary' | ||
}), _prism) | ||
prism: { | ||
'.comment,.prolog,.doctype,.cdata,.punctuation,.operator,.entity,.url': { | ||
color: 'gray' | ||
}, | ||
'.comment': { | ||
fontStyle: 'italic' | ||
}, | ||
'.property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable': { | ||
color: 'purple' | ||
}, | ||
'.atrule,.attr-value,.keyword': { | ||
color: 'primary' | ||
}, | ||
'.selector,.attr-name,.string,.char,.bultin,.inserted': { | ||
color: 'secondary' | ||
} | ||
} | ||
}; | ||
@@ -164,0 +154,0 @@ |
@@ -1,18 +0,1 @@ | ||
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 = { | ||
@@ -120,15 +103,16 @@ fontFamily: 'heading', | ||
}, | ||
table: _defineProperty({ | ||
table: { | ||
width: '100%', | ||
my: 4, | ||
borderCollapse: 'separate', | ||
borderSpacing: 0 | ||
}, ['th', 'td'], { | ||
textAlign: 'left', | ||
py: '4px', | ||
pr: '4px', | ||
pl: 0, | ||
borderColor: 'muted', | ||
borderBottomStyle: 'solid' | ||
}), | ||
borderSpacing: 0, | ||
'th,td': { | ||
textAlign: 'left', | ||
py: '4px', | ||
pr: '4px', | ||
pl: 0, | ||
borderColor: 'muted', | ||
borderBottomStyle: 'solid' | ||
} | ||
}, | ||
th: { | ||
@@ -151,13 +135,19 @@ verticalAlign: 'bottom', | ||
}, | ||
prism: (_prism = {}, _defineProperty(_prism, ['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url'], { | ||
color: 'gray' | ||
}), _defineProperty(_prism, '.comment', { | ||
fontStyle: 'italic' | ||
}), _defineProperty(_prism, ['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable'], { | ||
color: 'purple' | ||
}), _defineProperty(_prism, ['.atrule', '.attr-value', '.keyword'], { | ||
color: 'primary' | ||
}), _defineProperty(_prism, ['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted'], { | ||
color: 'secondary' | ||
}), _prism) | ||
prism: { | ||
'.comment,.prolog,.doctype,.cdata,.punctuation,.operator,.entity,.url': { | ||
color: 'gray' | ||
}, | ||
'.comment': { | ||
fontStyle: 'italic' | ||
}, | ||
'.property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable': { | ||
color: 'purple' | ||
}, | ||
'.atrule,.attr-value,.keyword': { | ||
color: 'primary' | ||
}, | ||
'.selector,.attr-name,.string,.char,.bultin,.inserted': { | ||
color: 'secondary' | ||
} | ||
} | ||
}; | ||
@@ -164,0 +154,0 @@ |
@@ -6,19 +6,2 @@ (function (global, factory) { | ||
}(this, (function () { | ||
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 = { | ||
@@ -126,15 +109,16 @@ fontFamily: 'heading', | ||
}, | ||
table: _defineProperty({ | ||
table: { | ||
width: '100%', | ||
my: 4, | ||
borderCollapse: 'separate', | ||
borderSpacing: 0 | ||
}, ['th', 'td'], { | ||
textAlign: 'left', | ||
py: '4px', | ||
pr: '4px', | ||
pl: 0, | ||
borderColor: 'muted', | ||
borderBottomStyle: 'solid' | ||
}), | ||
borderSpacing: 0, | ||
'th,td': { | ||
textAlign: 'left', | ||
py: '4px', | ||
pr: '4px', | ||
pl: 0, | ||
borderColor: 'muted', | ||
borderBottomStyle: 'solid' | ||
} | ||
}, | ||
th: { | ||
@@ -157,13 +141,19 @@ verticalAlign: 'bottom', | ||
}, | ||
prism: (_prism = {}, _defineProperty(_prism, ['.comment', '.prolog', '.doctype', '.cdata', '.punctuation', '.operator', '.entity', '.url'], { | ||
color: 'gray' | ||
}), _defineProperty(_prism, '.comment', { | ||
fontStyle: 'italic' | ||
}), _defineProperty(_prism, ['.property', '.tag', '.boolean', '.number', '.constant', '.symbol', '.deleted', '.function', '.class-name', '.regex', '.important', '.variable'], { | ||
color: 'purple' | ||
}), _defineProperty(_prism, ['.atrule', '.attr-value', '.keyword'], { | ||
color: 'primary' | ||
}), _defineProperty(_prism, ['.selector', '.attr-name', '.string', '.char', '.builtin', '.inserted'], { | ||
color: 'secondary' | ||
}), _prism) | ||
prism: { | ||
'.comment,.prolog,.doctype,.cdata,.punctuation,.operator,.entity,.url': { | ||
color: 'gray' | ||
}, | ||
'.comment': { | ||
fontStyle: 'italic' | ||
}, | ||
'.property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable': { | ||
color: 'purple' | ||
}, | ||
'.atrule,.attr-value,.keyword': { | ||
color: 'primary' | ||
}, | ||
'.selector,.attr-name,.string,.char,.bultin,.inserted': { | ||
color: 'secondary' | ||
} | ||
} | ||
}; | ||
@@ -170,0 +160,0 @@ |
{ | ||
"name": "@theme-ui/preset-deep", | ||
"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
61540
294
772