29 December 2024, 03:27
23 December 2024, 10:25
Auto Contrast
Feature that I’ve been wanting to implement for a while; automatic contrast color picked from the accent color. I’ve tried adding it earlier but it didn’t work for some reason, likely because I’m a moron, but in any case now I don’t have to set the contrast color manually. I will backport this to Duckquill along with other changes later today (I hope so at least). Thanks Lea Verou for this neat trick. One thing I changed about it is made it use slight transparency if the contrast color is black, so it doesn’t look too ugly. The code is as follows:
:;
:;
:;
21 December 2024, 02:03