All Manuals > Release Notes and Installation Guide > 12 Release Notes

12.7 New color system features

For details see 15 The Color System in the CAPI User Guide and Reference Manual. This section is not relevant to LispWorks for Mobile Runtime.

12.7.1 Colors that vary between light and dark mode

The new function color:create-light-dark-switchable-color creates a "switchable-color" object that automatically switches between dark mode and light mode when used as a color by CAPI or Graphics Ports.

The new functions color:light-dark-switchable-color-light-color and color:light-dark-switchable-color-dark-color return the corresponding colors of objects created by color:create-light-dark-switchable-color and the new function color:light-dark-switchable-color-set-colors can be used to change them.

The new function color:light-dark-switchable-color-p is a predicate for objects created by color:create-light-dark-switchable-color.


Release Notes and Installation Guide - 25 Feb 2025 19:14:05