-
Hi all - I'm new to Vuestic and have been reading about customising colours. I can successfully override colours via config but I'm unsure how to use the above two methods. I had assumed they were exports from Vuestic, but doing this:
...results in an error ("amibuguous indirect export"). This page discusses the Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
m0ksem
Jun 25, 2023
Replies: 1 comment 2 replies
-
Hi. You should use <script setup>
import { useColors} from 'vuestic-ui'
const { colors, getColor, currentPresetName } = useColors()
</script> |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
m0ksem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. You should use
useColors
composable fromvuestic-ui
in script setup.