Open ai opened 7 years ago
Ok. I'll implement it on the weekend. @iamstarkov already told me about his great project, but until this moment I had no time for it. Thank U for the suggestion.
Looks like initize
has not been ready yet. It has version 0.0.0
and not published to npm.
thats correct, though i will publish it soon
if postcss-initial
would support reset options as postcss-autoreset
does, then it will be trivial to close this issue:
const postcss = require('postcss');
const initial = require('postcss-initial');
const initize = require('initize');
const basic = {
'font-family': 'Arial, sans-serif',
'text-align': 'left',
'quotes': `"“" "”" "‘" "’"`,
'color': 'black',
'outline-color': 'black',
}
const appInitize = Object.assign({}, initize, basic);
postcss([
initial({ reset: appInitize })
]);
and if i would be you, i will clearly declare that its not custom all: initial
polyfill. simply because you cant polyfill all: initial
entirely
Unclear which concrete issues this change would solve. Are there any properties wrong in the current plugin?
@iamstarkov created good list of initial values: https://github.com/iamstarkov/initize
We need to use it. @maximkoretskiy write me if youneed help with it.