Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use initize #22

Open
ai opened this issue Mar 7, 2017 · 6 comments
Open

Use initize #22

ai opened this issue Mar 7, 2017 · 6 comments
Assignees

Comments

@ai
Copy link

ai commented Mar 7, 2017

@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.

@maximkoretskiy maximkoretskiy self-assigned this Mar 7, 2017
@maximkoretskiy
Copy link
Owner

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.

@Semigradsky
Copy link
Contributor

Looks like initize has not been ready yet. It has version 0.0.0 and not published to npm.

@iamstarkov
Copy link

thats correct, though i will publish it soon

@iamstarkov
Copy link

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 })
]);

@iamstarkov
Copy link

iamstarkov commented Mar 8, 2017

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

@romainmenke
Copy link

Unclear which concrete issues this change would solve.
Are there any properties wrong in the current plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants