nicksheffield · GitHub

A postcss plugin that enables the use of hexa() to combine hex codes and opacity into rgba()


Input

body {
	background: hexa(#abc, 0.1);
}

Output

body {
	background: rgba(170, 187, 204, 0.1);
}

Usage

postcss([require('postcss-color-hexa')]);

Install

npm install --save postcss-color-hexa

About

A postcss plugin that enables the use of hexa() to combine hex codes and opacity into rgba()

Resources

Readme

MIT license

Activity

Stars

6 stars

Watchers

1 watching

Forks

0 forks

Releases

Packages

Contributors

Languages

Read the original on github.com ↗