Integrating HUSL (perceptually uniform colors) into Sass

33 views
Skip to first unread message

Alexei Boronine

unread,
Jul 10, 2015, 7:13:48 PM7/10/15
to sass...@googlegroups.com
Hi guys,

I'm the creator of HUSL (www.husl-colors.org) and this morning I got the news that it is ported to Ruby (courtesy of Radu-Bogdan Croitoru).

I believe CSS preprocessors are one of the best use cases for my project, allowing to define pleasing color palettes without worrying about unpredictable contrast the way you do with HSL. Here is a demo: http://www.husl-colors.org/syntax/

I am not a Rubyist, so I have some high-level questions for the Sass community: would you find HUSL support useful? Do you want just a single husl(h, s, l) function or a suite of perceptually uniform color functions? Should HUSL be integrated into vanilla Sass or a higher-level framework like Compass or Bourbon? Where do you think it belongs?

Needless to say, I'd love any implementation help I can get, but even for a few words of guidance I'd be very grateful.

Thanks,

Alexei

Natalie Weizenbaum

unread,
Jul 10, 2015, 7:17:56 PM7/10/15
to sass-lang
This is very cool. The core Sass implementation doesn't add new color spaces to avoid stepping on the toes of CSS, but it should be possible to create a library that people could opt into.

--
You received this message because you are subscribed to the Google Groups "Sass" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sass-lang+...@googlegroups.com.
To post to this group, send email to sass...@googlegroups.com.
Visit this group at http://groups.google.com/group/sass-lang.
For more options, visit https://groups.google.com/d/optout.

Hampton Catlin

unread,
Jul 10, 2015, 8:16:22 PM7/10/15
to sass...@googlegroups.com, sass...@googlegroups.com
Yeah, this could be a really interesting Sass library...


Sent from Mailbox


--
Reply all
Reply to author
Forward
0 new messages