{__("Application Cache")}
diff --git a/ui/js/util/getThemes.js b/ui/js/util/getThemes.js
new file mode 100644
index 000000000..d82bc4d0c
--- /dev/null
+++ b/ui/js/util/getThemes.js
@@ -0,0 +1,20 @@
+const { readdirSync } = require("fs");
+const { extname } = require("path");
+const { remote } = require("electron");
+
+function getThemes() {
+ // Themes path
+ const themesPath = `${remote.app.getAppPath()}/dist/themes`;
+
+ // Get all themes / only .css
+ const themes = readdirSync(themesPath).filter(function(file) {
+ return extname(file) === ".css";
+ });
+
+ // Remove file extension (css)
+ return themes.map(function(theme) {
+ return theme.replace(".css", "");
+ });
+}
+
+export default getThemes;