spacr.qt.theme
Dark palette + QSS stylesheet for the spacr Qt GUI.
Single source of truth for every color, radius, and font size used by the
custom widgets and screens. Import PALETTE for programmatic access and
stylesheet() for the Qt StyleSheet string to hand to
QApplication.setStyleSheet.
Module Contents
-
spacr.qt.theme.PALETTE[source]
-
spacr.qt.theme.SPACING[source]
-
spacr.qt.theme.RADIUS[source]
-
spacr.qt.theme.FONT_SIZE[source]
-
spacr.qt.theme.TYPOGRAPHY[source]
-
spacr.qt.theme.apply_qpalette(app: PySide6.QtWidgets.QApplication) → None[source]
Apply the palette to the QApplication so native controls (menu
bars, tooltips, dialogs) match the QSS-styled widgets.
-
spacr.qt.theme.stylesheet() → str[source]
Return the QSS string that styles every custom widget in the app.