Vue3 use v-bind in style tag
Style
<script setup lang="ts">
const color = ref("red)
</script>
<style scoped>
.text {
color: v-bind('color')
}
</style>
<script setup lang="ts">
const color = ref("red)
</script>
<style scoped>
.text {
color: v-bind('color')
}
</style>