Daniel Imms
|
f4ffb13ece
|
Render dim bg in all renderers
Fixes #3534
|
2022-07-24 10:59:24 -07:00 |
|
Daniel Imms
|
384cd9db30
|
Standardize css.toColor output to #rrggbb[aa]
This will help reduce the chance of runtime exceptions that would
break the render loop.
|
2022-05-20 11:06:19 -07:00 |
|
Daniel Imms
|
ddd43e0f09
|
Correct rgba() parsing to use float alpha channel
Fixes #3814
|
2022-05-20 06:34:17 -07:00 |
|
Daniel Imms
|
e3c361327c
|
Support rgb() and rgba()
This is used for default theme colors and decoration bg/fg.
Fixes #3814
|
2022-05-19 09:23:36 -07:00 |
|
Daniel Imms
|
7edc11bd04
|
Correct #rgba, add #rgb and tests
|
2022-05-19 09:00:50 -07:00 |
|
ChaseKnowlden
|
ebe55e5b5f
|
Add rgba format
|
2022-05-18 20:28:59 -04:00 |
|
Daniel Imms
|
de03391c2d
|
Allow ensureContrastRatio to change luminance the other way
The higher ratio of the two results will be picked.
Fixes #3720
|
2022-05-13 11:19:38 -07:00 |
|
Daniel Imms
|
10598462d0
|
Fix color channel used by luminance functions
|
2022-05-09 15:36:54 -07:00 |
|
Daniel Imms
|
0c6877f46f
|
Move color to common, work with IColor
IColor is needed for the minimum contrast ratio function currently.
|
2022-05-09 14:00:39 -07:00 |
|