stylis-atomic

0.0.1 • Public • Published

atomics

stylis plugin to create atomic css by taking an input such as

a {
	color:red;
}

b {
	color:red;
	display:block;
}

c {
	color:red;
	display: block;
}

d {
	color:red;
	display:block;
}

and converting it to

a,b,c,d{color:red}b,c,d{display:block}

since properties are shared between rules atomicly the compression scales with the number of unique properties used.

Readme

Keywords

Package Sidebar

Install

npm i stylis-atomic

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • thysultan