JBrowser Source Docs
You are reading the documentation for JBrowser 1.4.1. The newest release is 1.5.4. Go to the latest documentation

jbrowser.ui.theme

Generated from the source code of JBrowser 1.4.1.

jbrowser/ui/theme.py · 280 lines

Theme engine: dark/light palettes with alpha-layered surfaces over Mica / Acrylic.

Constants#

Name Value
UI_FONT 'Segoe UI'
FALLBACK_FONT 'Segoe UI'
DARK {'window': '#1b1b1f', 'text': '#f2f2f5', 'text2': 'rgba(255,255,255,0.66)', 'text3': 'r…
LIGHT {'window': '#f3f3f3', 'text': '#1a1a1d', 'text2': 'rgba(0,0,0,0.62)', 'text3': 'rgba(0,…

Theme#

class Theme(QObject)source
Theme(settings: Settings, parent: QObject | None=None)

Signals

Signal Arguments
changed ()

Theme.refresh#

refresh() -> Nonesource

Theme.c#

c(token: str) -> QColorsource

Theme.accent_text#

accent_text() -> QColorsource

Theme.accent_alpha#

accent_alpha(alpha: float) -> QColorsource

Theme.surface#

surface(token: str) -> QColorsource

Surface color honoring the solid (no Mica) material.

Theme.font_family#

font_family() -> strsource

Theme.apply#

apply() -> Nonesource

Theme.stylesheet#

stylesheet() -> strsource

Functions#

parse_color#

parse_color(value: str) -> QColorsource

theme#

theme() -> Themesource