Move icons to separate file

This commit is contained in:
Alan Grainger
2026-06-04 11:15:41 +12:00
parent 4404e646ab
commit d057e23a32
5 changed files with 31 additions and 22 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
// download button, fullscreen toggle. Each is gated by config or feature
// detection. The info sidebar lives in `sidebar.ts`.
import { state, ICON_BACK, ICON_DOWNLOAD, ICON_FULLSCREEN, ICON_FULLSCREEN_EXIT } from './state.js'
import { state } from './state.js'
import { ICON_BACK, ICON_DOWNLOAD, ICON_FULLSCREEN, ICON_FULLSCREEN_EXIT } from './icons.js'
// PhotoSwipe types are not bundled with the project. These two interfaces
// describe just enough of the surface we touch to keep the rest of the file