css-scaffolder
Advanced tools
Comparing version 0.3.0 to 0.4.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var resetStyles = { | ||
address: ['font-style: inherit'], | ||
b: ['font-weight: inherit'], | ||
blockquote: ['margin: 0'], | ||
button: [ | ||
'padding: 0', | ||
'color: currentColor', | ||
'color: inherit', | ||
'background-color: transparent', | ||
'border: 0', | ||
'font: inherit', | ||
'text-align: left', | ||
'line-height: inherit', | ||
'text-align: inherit', | ||
'user-select: none' | ||
], | ||
dd: ['margin-left: 0'], | ||
caption: ['text-align: inherit'], | ||
cite: ['font-style: inherit'], | ||
code: ['font-family: inherit'], | ||
dd: ['margin: 0'], | ||
del: ['text-decoration: inherit'], | ||
dfn: ['font-style: inherit'], | ||
dl: ['margin: 0'], | ||
em: ['font-style: inherit'], | ||
fieldset: ['min-width: 0', 'margin: 0', 'padding: 0', 'border: 0'], | ||
figure: ['margin: 0'], | ||
h1: ['margin: 0', 'font: inherit'], | ||
h2: ['margin: 0', 'font: inherit'], | ||
h3: ['margin: 0', 'font: inherit'], | ||
h4: ['margin: 0', 'font: inherit'], | ||
h5: ['margin: 0', 'font: inherit'], | ||
h6: ['margin: 0', 'font: inherit'], | ||
hr: ['margin: 0'], | ||
i: ['font-style: inherit'], | ||
img: ['display: block'], | ||
ol: ['padding-left: 0'], | ||
ul: ['padding-left: 0'] | ||
input: ['padding: 0', 'color: inherit', 'font: inherit', 'line-height: inherit'], | ||
ins: ['text-decoration: inherit'], | ||
kbd: ['font-family: inherit'], | ||
legend: ['max-width: 100%', 'padding: 0', 'border: 0'], | ||
li: ['display: block'], | ||
main: ['display: block'], | ||
mark: ['background-color: transparent', 'color: inherit'], | ||
menu: ['margin: 0', 'padding: 0', 'list-style-type: none'], | ||
ol: ['margin: 0', 'padding: 0', 'list-style-type: none'], | ||
p: ['margin: 0'], | ||
pre: ['font-family: inherit'], | ||
s: ['text-decoration: inherit'], | ||
samp: ['font-family: inherit'], | ||
select: ['padding: 0', 'color: inherit', 'font: inherit', 'line-height: inherit'], | ||
small: ['font-size: inherit'], | ||
strong: ['font-weight: inherit'], | ||
sub: ['vertical-align: inherit', 'font-size: inherit'], | ||
sup: ['vertical-align: inherit', 'font-size: inherit'], | ||
svg: ['display: block'], | ||
table: ['border-collapse: collapse', 'table-layout: fixed'], | ||
textarea: ['padding: 0', 'color: inherit', 'font: inherit', 'line-height: inherit'], | ||
th: ['text-align: inherit', 'font-weight: inherit'], | ||
u: ['text-decoration: inherit'], | ||
ul: ['margin: 0', 'padding: 0', 'list-style-type: none'], | ||
var: ['font-style: inherit'] | ||
}; | ||
@@ -18,0 +62,0 @@ function reset(tagName) { |
{ | ||
"name": "css-scaffolder", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Scaffold CSS declarations from HTML", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
8955
204