pyboxbuilder.lid.color_layers.ColorLayerAssignment

class pyboxbuilder.lid.color_layers.ColorLayerAssignment(body_color: Color, text_color: Color | None = None, frame_color: Color | None = None, pattern_color: Color | None = None)[source]

Bases: object

Maps geometry components to their accent colors.

body_color : Color

The base box body color.

frame_color : Color | None = None

Frame top layer color (None = no frame).

pattern_color : Color | None = None

Pattern top layer color (None = no pattern).

text_color : Color | None = None

Label text color (None = no label).