Diol can save your theme preference in this browser using local storage.
EsColorWell *EsColorWellCreate(EsElement *parent, EsColorWellFlags flags = ES_FLAGS_DEFAULT, uint32_t colorRGB = 0);
Creates a color well that displays and edits a color. Clicking it opens a color picker.
uint32_t EsColorWellGetRGB(EsColorWell *well);
Returns the current color as an RGB value. If the well has no opacity, the top 8 bits are cleared.
void EsColorWellSetRGB(EsColorWell *well, uint32_t colorRGB, bool sendChangedMessage);
Sets the color of the well and clears the indeterminate state. If sendChangedMessage is true, sends the ES_MSG_COLOR_CHANGED message.
void EsColorWellSetIndeterminate(EsColorWell *well);
Marks the well as indeterminate, meaning that no color is set.