Open ghost opened 5 years ago
DARK MODE!!!!! cough cough Yeah, what I mean is... We need dark mode. As default for the best.
Actually we can create theme files, idk maybe here: src/configs/themes/dark.json
which has this content:
{
"meta": {
"name": "Dark theme",
"description": "Your eyes will thank you. Modern, simplic and dark.",
"version": "1.0.0",
"author": "DocSort team",
"category": "black"
},
"theme": {
"background": "#1c1c1c",
"text": "#ffffff",
"ok_button": "#???????",
...
}
}
The themes would be in the database too, but we can erase the themes from the db at each start and load them from a json-file.
This article, received today, is exactly about this topic^^ Not saying that we must follow it, it's just interesting to read :) https://medium.freecodecamp.org/how-to-create-themes-for-your-angular-7-apps-using-css-variables-69251690e9c5
Create at least 2 themes (light/dark) and let the user choose between those.