Skip to content

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

MacroValueDescription
CP_FONT_PIXEL(&cp_font_pixel_8)
CP_FONT_BODY(&cp_font_body_8)
CP_COL_HAIRLINElv_color_hex(0x16161E)1px dividers and edges
CP_COL_NORMALlv_color_hex(0xB0B0BE)ordinary label
CP_COL_DIMlv_color_hex(0x4A4A55)disabled, and the F-index
CP_OPA_PRIMARY_TINT26
CP_OPA_UNAVAILABLELV_OPA_30