New
4.19.0
๐ Features
- The minimum contrast ratio feature will now change luminance in the opposite direction if the contrast ratio isn't met (#3806, #3808) via @Tyriar. For example a red foreground on a slightly darker red background will try lighten the color and if the
minimumContrastRatiooption isn't met when#FFFFFFis reached it will try moving it towards#000000. This can cause somewhat unexpected results by changing explicitly styled whites to blacks for example but it's really good for accessibility. - The library now supports parsing
#rgb,#rgba,rgb(r, g, b)andrgba(r, g, b, a)color formats (#3815, #3819, #3823) via @ChaseKnowlden, @Tyriar - Opaque
selectionBackgroundis now supported in the DOM renderer (#3839) via @Tyriar - The symbol powerline font glyphs now use custom rendering when
ITerminalOptions.customGlyphsis enabled (#3856, #3862, #3866) via @Tyriar
This has multiple benefits: