cp_design
#include "crosspad-gui/design/cp_design.h"Generated from crosspad-gui/design/cp_design.h in crosspad-gui. Edit the header’s doxygen comments to change this page.
The CrossPad design language as the firmware uses it: palette, pixel fonts and icons.
Recipes that use it: UI kit
Macros
Section titled “Macros”| Macro | Value | Description |
|---|---|---|
CP_FONT_PIXEL | (&cp_font_pixel_8) | |
CP_FONT_BODY | (&cp_font_body_8) | |
CP_COL_HAIRLINE | lv_color_hex(0x16161E) | 1px dividers and edges |
CP_COL_NORMAL | lv_color_hex(0xB0B0BE) | ordinary label |
CP_COL_DIM | lv_color_hex(0x4A4A55) | disabled, and the F-index |
CP_OPA_PRIMARY_TINT | 26 | |
CP_OPA_UNAVAILABLE | LV_OPA_30 |