diff --git a/package.json b/package.json index c4bbe325..e2a26cc1 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "@sentry/tracing": "6.15.0", "@sentry/vue": "6.15.0", "@vue/compat": "3.2.22", - "bulma": "0.9.3", + "@vueuse/core": "^6.8.0", + "bulma-css-variables": "^0.9.33", "camel-case": "4.1.2", "codemirror": "5.64.0", "copy-to-clipboard": "3.3.1", diff --git a/src/App.vue b/src/App.vue index af2fc690..5eacb532 100644 --- a/src/App.vue +++ b/src/App.vue @@ -33,6 +33,7 @@ import ContentNoAuth from './components/home/contentNoAuth' import {setLanguage} from './i18n' import AccountDeleteService from '@/services/accountDelete' import Ready from '@/components/misc/ready' +import {useColorScheme} from '@/composables/useColorScheme' export default defineComponent({ name: 'app', @@ -54,6 +55,9 @@ export default defineComponent({ beforeCreate() { setLanguage() }, + setup() { + useColorScheme() + }, created() { // Make sure to always load the home route when running with electron if (this.$route.fullPath.endsWith('frontend/index.html')) { diff --git a/src/assets/logo-full-pride.svg b/src/assets/logo-full-pride.svg index f7d6527f..1ecacb3e 100644 --- a/src/assets/logo-full-pride.svg +++ b/src/assets/logo-full-pride.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/logo-full.svg b/src/assets/logo-full.svg index c5e728a3..20b6ae13 100644 --- a/src/assets/logo-full.svg +++ b/src/assets/logo-full.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/components/home/Logo.vue b/src/components/home/Logo.vue index cea2d0f0..5a5612b4 100644 --- a/src/components/home/Logo.vue +++ b/src/components/home/Logo.vue @@ -7,5 +7,11 @@ const Logo = computed(() => new Date().getMonth() === 5 ? LogoFullPride : LogoFu \ No newline at end of file +