pyfli.roi_maker.roi_style#
roi_style.py#
Qt stylesheet (QSS) for the ROI Maker window.
Usage#
from .roi_style import STYLE # full stylesheet (default) from .roi_style import BUTTONS, SLIDERS # individual sections
To customise a section without touching the rest, override just that constant before constructing ROIApp, then rebuild STYLE:
import pyfli.roi_maker.roi_style as S S.BUTTONS = S.BUTTONS.replace(“#1e66f5”, “#e94560”) # swap accent colour S.STYLE = S.BASE + S.SIDEBAR + S.BUTTONS + S.SLIDERS + S.DIALOG + S.STATUSBAR
Colour tokens (Catppuccin Mocha palette)#
#1e1e2e — base (window background) #181825 — mantle (sidebar background) #24273a — crust (button default background) #313244 — surface 0 (borders, dividers) #363a4f — surface 1 (hover) #45475a — surface 2 (active border) #585b70 — overlay 0 (muted text) #a6adc8 — subtext 0 (normal text) #cdd6f4 — text (primary) #cba6f7 — mauve (accent title) #1e66f5 — blue (active / checked) #a6e3a1 — green (save text) #f38ba8 — red (cancel text) #7c3aed — purple (toggle-on action)