0.0.1 • Published 7 years ago

stylis-atomic v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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.