refactor: use utility classes instead of .text-pronunciation

This commit is contained in:
Valentyne Stigloher 2025-09-16 21:36:00 +02:00
parent 3f13a50a18
commit 9a71927e76

View File

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