suitcss / suit

Style tools for UI components
http://suitcss.github.io/
3.8k stars 229 forks source link

Move encapsulate.js' rules object to its own repo #156

Open giuseppeg opened 7 years ago

giuseppeg commented 7 years ago

It'd be nice to move the rules object so that other packages can use it.

For example I would like to use it to create an utility class.

@simonsmith if you create the repo I can take this issue.

simonsmith commented 7 years ago

encapsulate-rules?

giuseppeg commented 7 years ago

Maybe initial-values? I was thinking if it'd make sense to make a generic lib with inherited and non-inherited resets so that the community can contribute and in preprocessor filter out the ones that we don't want like display.

In fact postcss-initial has this maybe @maximkoretskiy could move decls.json to its own repo?

maximkoretskiy commented 7 years ago

I'd like to.

giuseppeg commented 7 years ago

@maximkoretskiy aw that'd be awesome. If you don't bother I can create the repo myself and copy from yours, but if you prefer to maintain ownership of the list I'd understand. As soon as this happen relatively soon either way is fine with me.

simonsmith commented 7 years ago

@giuseppeg https://github.com/suitcss/initial-values

giuseppeg commented 7 years ago

@maximkoretskiy what is the difference between shorthands that use contains and shorthands that use a template?

giuseppeg commented 7 years ago

@maximkoretskiy ping

simonsmith commented 7 years ago

@giuseppeg What shall we do with this issue?

maximkoretskiy commented 7 years ago

Sorry. I've missed all notifications =(. By the way there is similar project https://github.com/iamstarkov/initize and now you can try to use it.

simonsmith commented 7 years ago

Oh nice, thanks @maximkoretskiy