f0ckapp_react/config/themes.js
2020-01-20 18:24:37 +01:00

20 lines
354 B
JavaScript

import SyncStorage from "sync-storage";
const global = {
foreground: "#9f0"
};
const themes = {
light: {
background: "#fff"
},
dark: {
logo: "https://f0ck.me/s/img/f0ckme.png",
background: "#212529"
}
};
const theme = { ...themes[SyncStorage.get("theme") ? SyncStorage.get("theme") : "dark"], ...global };
export default theme;