about summary refs log tree commit diff stats
path: root/src/config/color.h
Commit message (Collapse)AuthorAgeFilesLines
* Apply coding styleMichael Vetter2020-07-071-5/+7
|
* Revert "Apply coding style"Michael Vetter2020-07-071-7/+5
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-5/+7
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Improve color blindness handlingMichael Vetter2019-12-121-2/+2
| | | | Rename some things and use a swtich instead of if.
* Implement Color Vision Deficiencies settingMichael Vetter2019-12-121-1/+7
| | | | | | Implement settings for redgreen and blue blindness. Regards https://github.com/profanity-im/profanity/issues/1191
* XEP-0392: color: implement color hashingAurelien Aptel2019-12-031-2/+12
| | | | | | | | | | * add the HSL values of each of the 256 terminal colors * add color_pair_cache_hash_str() * move common code to _color_pair_cache_get() helper func after hashing a string to a color, return the closest matching terminal color using euclidian distance of the HSL diff vector (this method was found empirically and seems to work well enough...)
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Add header to color.hMichael Vetter2019-08-231-0/+34
|
* Add 256 colors supportAurelien Aptel2019-08-231-0/+12
Themes can now use color names from the xterm color name list [1]. 1: https://jonasjacek.github.io/colors/