spacr.qt.theme
==============

.. py:module:: spacr.qt.theme

.. autoapi-nested-parse::

   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
---------------

.. py:data:: PALETTE

.. py:data:: SPACING

.. py:data:: RADIUS

.. py:data:: FONT_SIZE

.. py:data:: TYPOGRAPHY

.. py:function:: apply_qpalette(app: PySide6.QtWidgets.QApplication) -> None

   Apply the palette to the QApplication so native controls (menu
   bars, tooltips, dialogs) match the QSS-styled widgets.


.. py:function:: stylesheet() -> str

   Return the QSS string that styles every custom widget in the app.


