Added dark theme. Fixed actor country aggregation.

This commit is contained in:
2024-06-10 03:24:48 +02:00
parent 255dd48af6
commit 69cefa57ff
38 changed files with 299 additions and 153 deletions

View File

@@ -1,6 +1,8 @@
<template>
<div
id="container"
class="container"
:class="{ [theme]: true }"
@click="blur"
>
<transition name="slide">
@@ -65,6 +67,7 @@ import BottomNavigation from '#/components/footer/navigation.vue';
const pageContext = inject('pageContext');
const { psa } = pageContext.env;
const theme = ref(pageContext.env.theme);
const content = ref(null);
const feedback = ref(null);
@@ -108,6 +111,10 @@ onMounted(() => {
easing: 'ease-in-out',
});
});
events.on('theme', (newTheme) => {
theme.value = newTheme;
});
});
</script>
@@ -159,6 +166,8 @@ onMounted(() => {
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--background);
color: var(--text);
}
.content {