bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29456: [PATCH] Add command for cycling between CSS color formats


From: Simen Heggestøyl
Subject: bug#29456: [PATCH] Add command for cycling between CSS color formats
Date: Tue, 28 Nov 2017 19:33:30 +0100

Tom Tromey <tom@tromey.com> writes:
> Nice feature!

Glad you like it!

> It seems to me that none of the functions handle alpha components.
> css-color-4 added optional alpha to hex colors (and made rgb and rgba
> synonyms), and there's been rgba for a while...

Right, it makes sense to support that too. I haven't used alpha formats
other than rgba(...) myself. Would it be useful for rgba(255, 0, 0, 0.5)
to turn into #ff000088, for instance?

Eli Zaretskii <eliz@gnu.org> writes:
> Then I think there should be a prominent remark in the doc strings of
> css-mode not to mix these functions with those from color.el, due to
> this incompatibility.

That sounds like a good idea.

I'll address the comments from both of you in an update to the patch,
though it might be a while until I have the time to update it.

Thanks for your comments so far.

-- Simen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]