Repository navigation
Releases
Releases · not6248/anki-theme-store
v1.0.1
Hotfix: ADDON no longer hardcoded to "theme_store" — it now follows the installed folder name (ADDON_DIR.name), so AnkiWeb installs (numeric folder like 831568612) can save config, register web exports, and build /_addons/ URLs. Fixes Apply crashing with FileNotFoundError .../theme_store/meta.json.
v1.0.0
Changed
- Double-click opens a theme with the left button only (other buttons just select)
- Keyboard Delete removes the selected theme, same as the Delete button
- Even spacing for all library sidebar buttons
- Import installs without applying — preview first, then press Apply
Fixed
- ESC closes the window like Close / X (pending values flushed on every close path)
- Section pages are plain QWidget instead of nested QDialogs — ESC used to land on the innermost dialog, hiding only that page and leaving a blank window; now ESC closes the whole window
Full changelog in CHANGELOG.md
v0.7.2
Validation, speed, lean
- Load and import agree on filename rules; bad theme.json types fall back to the folder name; single validation source for background paths; slash-safe URLs
- Active theme cached by id+mtime; library icons cached by path+mtime; bundle import streams with per-chunk hashing; clone skips symlinks/hidden files like export
- addon_version moved to const.py; single theme-manager entry point
Full changelog in CHANGELOG.md
v0.7.1
Hardening and validation
- Tolerates bad config types, notifies instead of crashing (export-to-directory, CSS save failures), path-traversal guards, symlink and size guards on import, atomic writes, safe clone and failed-delete cleanup
- Dialog split into dialog_consts / dialog_qss / dialog_widgets / dialog_main modules (no behavior change); README updated
Full changelog in CHANGELOG.md
v0.7.0
New manager UI
- Two pages: library grid (search, Add / Import / Export, Active badge, per-theme preview and actions) + detail page (Background / Top toolbar / Bottom toolbar / Gear icon / CSS sections with status dots)
- Follows Anki light/dark theme; per-area opacity / blur / fit; Show on All areas or Main only; toolbars detected from Anki's real stylesheet names
- Per-theme gear icon (night-mode safe), custom CSS per Anki page with a safe editor, 60-char names with elision, trash auto-prunes after 30 days, user data migrated under user_files/
Full changelog in CHANGELOG.md
v0.4.0 — custom CSS per Anki page + view-before-apply
Theme is now a package (user_files/library// with theme.json + bg/gear/css/preview), view-before-apply with Active/Preview status, Add Theme creates an empty package, per-file CSS Delete, and the settings window rebuilt as Library + detail pages. See CHANGELOG.md for details. MIT license.