Add number to flare skills

This commit is contained in:
Trenton Zimmer
2026-07-21 16:04:35 -04:00
parent f88f62aeaf
commit 59147f75a2
2 changed files with 7 additions and 5 deletions

View File

@@ -79,6 +79,11 @@ defineProps({
{{ label }}
</h3>
<h1 class="text-2xl md:text-3xl leading-tight font-semibold">
<div
:class="numColor + (smallContent ? ` text-lg font-normal` : ``)"
>
<slot />
</div>
<NumberDynamic
v-if="number"
:class="numColor"
@@ -86,11 +91,6 @@ defineProps({
:prefix="prefix"
:suffix="suffix"
/>
<div
:class="numColor + (smallContent ? ` text-lg font-normal` : ``)"
>
<slot />
</div>
</h1>
</div>
</BaseLevel>

View File

@@ -538,6 +538,7 @@ const groupedTimeline = computed(() => {
v-if="myProfile.flare_single"
label="SP Flare"
:num-color="getFlareLevel(myProfile.flare_single).textColor"
:number="myProfile.flare_single"
>
{{ getFlareLevel(myProfile.flare_single).label }}
</CardBoxWidget>
@@ -545,6 +546,7 @@ const groupedTimeline = computed(() => {
v-if="myProfile.flare_double"
label="DP Flare"
:num-color="getFlareLevel(myProfile.flare_double).textColor"
:number="myProfile.flare_double"
>
{{ getFlareLevel(myProfile.flare_double).label }}
</CardBoxWidget>