refactor: use utility classes instead of .text-pronunciation

This commit is contained in:
Valentyne Stigloher 2025-09-16 21:36:00 +02:00
parent 80827277bb
commit 29b32413f6

View File

@ -20,7 +20,7 @@ withDefaults(defineProps<{
<template>
<span class="text-nowrap">
<span v-if="text" class="text-pronunciation">
<span v-if="text" class="text-secondary-emphasis fw-normal">
{{ pronunciation }}
</span>
<PronunciationSpeaker
@ -33,12 +33,3 @@ withDefaults(defineProps<{
/>
</span>
</template>
<style lang="scss" scoped>
@import "~/assets/variables";
.text-pronunciation {
font-weight: normal;
color: var(--#{$prefix}secondary-color);
}
</style>