Skip to content

How do you use getColors/setColors? #3543

Answered by m0ksem
mitya33 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. You should use useColors composable from vuestic-ui in script setup.

<script setup>
import { useColors} from 'vuestic-ui'

const { colors, getColor, currentPresetName } = useColors()
</script>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mitya33
Comment options

@m0ksem
Comment options

Answer selected by m0ksem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants