-
Add '🖋 Upload Theme' button to settings (#1062)
-
feat: add upload theme button to settings
Added a new '🖋 Upload Theme' button to the 'Theme Options' section of the 'General' Settings tab in the settings page. With it you can upload JSON-only themes, CSS-only themes, and JSON-based online themes, all without having access to the file system of the server. The themes are also auto-applied in preview mode after they're successfully uploaded, so you can preview the theme right away before saving.
P.S.: If somebody have issues with the implementation, then be my guest changing it, as long as user experience remains the same in the end.
-
misc: bump min server version.
-
Use
URL
to update Theme.css link href -
Fix
miscSlice
types -
Fix: theme preview not getting reset on cancel
-
Fix theme not applying because preview's not null anymore
Co-authored-by: Harshith Mohan 26010946+harshithmohan@users.noreply.github.com