Change the look and feel of QGIS with custom Qt stylesheets.
- Apply any
.qssstylesheet to QGIS - Live preview when selecting themes
- Add your own custom styles
- Auto-reload when editing
.qssfiles (great for theme development) - Auto-discover themes from
examples/folder - Persists your last active style across sessions
Drop a folder with a .qss file inside examples/ and it will appear automatically in the plugin:
examples/
βββ My Theme/
βββ my_theme.qss
βββ icons/ (optional)
βββ icon.png
- Open QGIS
- Go to Plugins > Manage and Install Plugins
- Search for Load QSS
- Click Install Plugin
- Download the latest
.zipfrom Releases - In QGIS: Plugins > Manage and Install Plugins > Install from ZIP
- Select the downloaded file
./install_dev.shCreates a symlink in the QGIS plugins directory. Use Plugin Reloader for live reload.
# Validate project
python3 build.py
# Create optimized plugin zip
python3 deploy/plugin_zip.pyThe deploy script:
- Excludes dev files (
.git,build.py,*.sh, etc.) - Quantizes PNG images (saves ~200 KB)
- Strips Python comments and docstrings
Push a tag to create a GitHub Release with the plugin zip:
git tag v1.5.0
git push origin v1.5.0LoadQSS/
βββ __init__.py # Plugin entry point (classFactory)
βββ loadQSS.py # Main plugin class (auto-discovers themes)
βββ loadQSSDialog.py # Theme selector dialog
βββ aboutQSSDialog.py # About dialog
βββ metadata.txt # QGIS plugin metadata
βββ utils/
β βββ __init__.py
β βββ utils.py # Style management (QgsSettings)
βββ ui/
β βββ loadQSSDialog.ui # Main dialog UI
β βββ aboutQSSDialog.ui # About dialog UI
βββ images/ # Plugin icons (icon.png, info.png, samples)
βββ examples/ # QSS themes
βββ deploy/
β βββ plugin_zip.py # Release zip builder (PNG optimize, strip comments)
βββ build.py # Build validation (metadata, structure, syntax)
βββ install_dev.sh # Dev symlink installer
βββ setup_qgis_dev.sh # Full dev setup
βββ uninstall_dev.sh # Remove dev install
βββ .github/workflows/
βββ ci.yml # CI pipeline
βββ plugin-deploy.yml # Release automation
GPL v3 - See LICENSE
If this project has been useful to you, you can support its development by making a donation.
Francisco Raga (All4Gis) - franka1986@gmail.com