aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/samples.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-08 06:42:07 -0500
committerCraig Jennings <c@cjennings.net>2026-06-08 06:42:07 -0500
commit46eaab6d11d2d76165df6d9b8addd7b3eba20bce (patch)
tree8737c61c01be3a80ba1158b26966f690296f8207 /scripts/theme-studio/samples.py
parentca128e2364ea159326e911188205116de3071b5b (diff)
downloaddotemacs-46eaab6d11d2d76165df6d9b8addd7b3eba20bce.tar.gz
dotemacs-46eaab6d11d2d76165df6d9b8addd7b3eba20bce.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-studio/samples.py')
0 files changed, 0 insertions, 0 deletions