host.controller_config.colors
Shared color palette for controller config GUI canvas drawing.
Centralizes color hex values used by multiple editor widgets (curve_editor_widget, spline_editor, segment_editor, preview_widget) so they stay consistent and easy to update in one place.
1"""Shared color palette for controller config GUI canvas drawing. 2 3Centralizes color hex values used by multiple editor widgets 4(curve_editor_widget, spline_editor, segment_editor, preview_widget) 5so they stay consistent and easy to update in one place. 6""" 7 8# Canvas backgrounds 9BG_WHITE = "#ffffff" 10BG_INACTIVE = "#f0f0f0" 11 12# Grid lines 13GRID_MINOR = "#e8e8e8" 14GRID_MAJOR = "#c8c8c8" 15GRID_AXIS = "#909090" 16 17# Labels 18LABEL_COLOR = "#505050" 19 20# Curve / line drawing 21CURVE_LINE = "#2060c0" 22 23# Control point colors (spline + segment editors) 24POINT_FILL = "#c02020" 25POINT_OUTLINE = "#801010" 26ENDPOINT_FILL = "#802020" 27 28# Tangent handle colors (spline editor) 29HANDLE_FILL = "#40a040" 30HANDLE_LINE = "#80c080" 31 32# Mirror / inversion preview 33MIRROR_LINE = "#c0a0a0"
BG_WHITE =
'#ffffff'
BG_INACTIVE =
'#f0f0f0'
GRID_MINOR =
'#e8e8e8'
GRID_MAJOR =
'#c8c8c8'
GRID_AXIS =
'#909090'
LABEL_COLOR =
'#505050'
CURVE_LINE =
'#2060c0'
POINT_FILL =
'#c02020'
POINT_OUTLINE =
'#801010'
ENDPOINT_FILL =
'#802020'
HANDLE_FILL =
'#40a040'
HANDLE_LINE =
'#80c080'
MIRROR_LINE =
'#c0a0a0'