sass-color-custom-properties

1.0.0 • Public • Published

sass-color-custom-properties

A way to define editable HSLA colors as CSS custom properties

Usage

@use "sass-color-custom-properties" as colorprops

.test
	@include colorprops.def(test-1, #0cf)
	@include colorprops.def(test-2, test-1, (s: .7, l: 1.1))
	@include colorprops.def((test-3: #a75, test-4: test-3 (s: .8)))
	background-color: colorprops.use(test-2, (s: 1.2, l: .5, a: .97))

Package Sidebar

Install

npm i sass-color-custom-properties

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.24 kB

Total Files

3

Last publish

Collaborators

  • ikor_jefocur