diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-08 06:42:07 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-08 06:42:07 -0500 |
| commit | 1a0b0d50e10420cc23ae557dca646e5f2e56e95c (patch) | |
| tree | ceb1a3ed470806568fc06d35707167a43cd6f26d /scripts/theme-selector/samples.py | |
| parent | 7a4315931536792f4edadf4258300bf6eb5075b5 (diff) | |
| download | dotemacs-1a0b0d50e10420cc23ae557dca646e5f2e56e95c.tar.gz dotemacs-1a0b0d50e10420cc23ae557dca646e5f2e56e95c.zip | |
feat(theme-selector): remember the imported/saved file so save overwrites it
Import now goes through showOpenFilePicker and keeps the returned file handle, and the rename handler no longer drops the handle on every keystroke. Once a theme has been imported or saved, save writes back to that same file (the first write asks once for permission, then overwrites silently); the save button title reflects whether it will overwrite or prompt for a location. Browsers without the File System Access API fall back to the hidden file input and a download-style save, as before.
Diffstat (limited to 'scripts/theme-selector/samples.py')
0 files changed, 0 insertions, 0 deletions
