1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-23 07:09:41 +02:00

Feature/misc tasks (#864)

* feat(backend): 🌐 make foods/ingredients translatable

* feat(backend):  add remember me support for login - 14 days

* feat(frontend): 💄 add persistent darkmode for user sessions

* capture #859

* feat(frontend): 💄 add basic open-graph data for site links
This commit is contained in:
Hayden 2021-12-04 16:06:24 -09:00 committed by GitHub
parent c32d7d7486
commit ba4107348f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 323 additions and 1054 deletions

View file

@ -0,0 +1,12 @@
import { useDark } from "@vueuse/core";
export default ({ $vuetify }: any) => {
const isDark = useDark();
console.log("isDark Plugin", isDark);
if (isDark.value) {
$vuetify.theme.dark = true;
} else {
$vuetify.theme.dark = false;
}
};