[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding some convenience functions to color.el
From: |
Eli Zaretskii |
Subject: |
Re: Adding some convenience functions to color.el |
Date: |
Fri, 09 Jun 2023 09:55:17 +0300 |
> From: Yilkal Argaw <yilkalargawworkneh@gmail.com>
> Date: Fri, 9 Jun 2023 02:57:41 +0300
>
> Today I was messing around with some theme that made use of color.el and I
> noticed some functions
> that might be of use could be added to color.el to help with the
> conditionally assigning setting some
> colors based on lightness or darkness of some other color. I wondered if it
> might be useful to other
> users and if it might be worth adding it to color.el. I
We already have color-dark-p (and color-name-to-rgb to complement it),
so I'm not sure I understand the rationale for these functions. Can
you explain more why you needed them?