diff --git a/src/components/changeTheme/index.vue b/src/components/changeTheme/index.vue index db4804a..6dd0387 100644 --- a/src/components/changeTheme/index.vue +++ b/src/components/changeTheme/index.vue @@ -1,8 +1,8 @@ @@ -10,6 +10,12 @@ import { ref, reactive, nextTick, computed } from "vue"; import { useTheme } from "@/hooks/useTheme"; const { changePrimary } = useTheme(); +const changePrimaryVal = (val: string) => { + const body = document.body as HTMLElement; + // body.setAttribute("style", "filter: hue-rotate(90deg);"); + // body.setAttribute("style", "filter: invert(80%)"); + changePrimary(val); +};