Skip to content

QtShadcn v0.6.0

Choose a tag to compare

@BugCodeX BugCodeX released this 09 Oct 00:12
· 37 commits to master since this release

What's New

  • Added a font registry API: register custom font families, set the active family, and query the resolved family (registerFontFamily, setFontFamily, setFontFamilies, getFontFamily, getFontFamilies).
  • Bundled fonts are now registered lazily, only when first used.

Changes

  • Theme mode switches are ~3.7× faster: Jinja templates are compiled once and the stylesheet is not re-applied when its output did not change.

Fixes

  • Focused QLineEdit, QTextEdit, and QPlainTextEdit keep their base border width instead of sharing the QSpinBox focus border.
  • A stale or legacy theme.json no longer crashes theme loading; it falls back to the default theme.
  • setStyleSheet("") no longer raises when clearing the additional stylesheet.

Verification

pip install qtshadcn==0.6.0
python -c "import qtshadcn; print(qtshadcn.__version__)"
make test