[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: region-based face-remapping
From: |
Stefan Monnier |
Subject: |
Re: region-based face-remapping |
Date: |
Mon, 15 Jan 2024 15:36:09 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> How do you express these "more red" or "more/less contrast" using just
> the existing face attributes? The :height example doesn't help
> because it just defines special values for an existing attribute, so
> the analogy would be to define a value for :foreground that would make
> it "more red". How to do that? And the same with "more or less
> contrast with the background color".
Allow a face to specify a function which takes the base face value and
returns the desired value of the attribute. In order to change the
contrast, the "base face value" would need to include more than just the
base value of the specific attribute, but probably a whole vector giving
all the attributes.
Stefan
- Re: region-based face-remapping, (continued)
- Re: region-based face-remapping, JD Smith, 2024/01/06
- Re: region-based face-remapping, Eli Zaretskii, 2024/01/06
- Re: region-based face-remapping, JD Smith, 2024/01/06
- Re: region-based face-remapping, Eli Zaretskii, 2024/01/08
- Re: region-based face-remapping, Dmitry Gutov, 2024/01/06
- Re: region-based face-remapping, Stefan Monnier, 2024/01/15
- Re: region-based face-remapping, Eli Zaretskii, 2024/01/15
- Re: region-based face-remapping, Eli Zaretskii, 2024/01/15
- Re: region-based face-remapping,
Stefan Monnier <=
Re: region-based face-remapping, JD Smith, 2024/01/08
Re: region-based face-remapping, JD Smith, 2024/01/09
Re: region-based face-remapping, Eli Zaretskii, 2024/01/10