|
@@ -14,6 +14,7 @@
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
import { useSwipe } from '@vueuse/core'
|
|
|
+import { updateColors } from '~/composables/useColors'
|
|
|
import { useSideBar } from '~/store/useSideBar'
|
|
|
|
|
|
const store = useSideBar()
|
|
@@ -23,4 +24,8 @@ const { direction, lengthX } = useSwipe(globalWindow, {
|
|
|
if (direction.value === 'right' && lengthX.value < -100) store.show()
|
|
|
},
|
|
|
})
|
|
|
+
|
|
|
+onMounted(() => {
|
|
|
+ updateColors('#212121')
|
|
|
+})
|
|
|
</script>
|