Add Neon and Meridian glass themes, bundled fonts, configurable recovery backup location, autosave and UI polish

This commit is contained in:
avi 2026-08-24 18:58:16 -05:00
commit b74cfe98ab
59 changed files with 1848 additions and 185 deletions

View file

@ -21,6 +21,10 @@ const copyAssets = {
path.join("src", "renderer", "themes.css"),
path.join("dist", "themes.css")
);
fs.copyFileSync(
path.join("src", "renderer", "fonts.css"),
path.join("dist", "fonts.css")
);
fs.mkdirSync(path.join("dist", "icons"), { recursive: true });
fs.copyFileSync(
path.join("build", "icons", "256x256.png"),
@ -34,6 +38,14 @@ const copyAssets = {
path.join("build", "brand-icons", "128x128-black.png"),
path.join("dist", "brand-icon-black.png")
);
// Bundle locally-stored fonts so the app needs no network at runtime.
fs.mkdirSync(path.join("dist", "fonts"), { recursive: true });
const fontsDir = path.join("public", "fonts");
if (fs.existsSync(fontsDir)) {
for (const f of fs.readdirSync(fontsDir)) {
fs.copyFileSync(path.join(fontsDir, f), path.join("dist", "fonts", f));
}
}
});
},
};