f0ckapp_react/config/themes.js

20 lines
354 B
JavaScript
Raw Normal View History

2020-01-20 17:24:37 +00:00
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;