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.
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