fix: Update captain billing colors (#10782)

This commit is contained in:
Shivam Mishra
2025-01-29 03:20:50 +05:30
committed by GitHub
parent 80e6a2a479
commit 5ccae73f8a
3 changed files with 3 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ onMounted(fetchAccountDetails);
:description="$t('BILLING_SETTINGS.CAPTAIN.DESCRIPTION')" :description="$t('BILLING_SETTINGS.CAPTAIN.DESCRIPTION')"
> >
<template #action> <template #action>
<ButtonV4 sm solid slate disabled> <ButtonV4 sm faded slate disabled>
{{ $t('BILLING_SETTINGS.CAPTAIN.BUTTON_TXT') }} {{ $t('BILLING_SETTINGS.CAPTAIN.BUTTON_TXT') }}
</ButtonV4> </ButtonV4>
</template> </template>

View File

@@ -15,7 +15,7 @@ defineProps({
<template> <template>
<div <div
class="rounded-xl shadow-sm border border-n-weak bg-n-solid-3 py-5 space-y-5" class="rounded-xl shadow-sm border border-n-weak bg-n-solid-2 py-5 space-y-5"
> >
<BillingHeader :title :description class="px-5"> <BillingHeader :title :description class="px-5">
<slot name="action" /> <slot name="action" />

View File

@@ -39,7 +39,7 @@ const colorClass = computed(() => {
</div> </div>
<div class="tabular-nums">{{ consumed }} / {{ totalCount }}</div> <div class="tabular-nums">{{ consumed }} / {{ totalCount }}</div>
</div> </div>
<div class="rounded-full overflow-hidden h-2 w-full bg-n-container mt-2"> <div class="rounded-full overflow-hidden h-2 w-full bg-n-slate-4 mt-2">
<div class="h-2" :class="colorClass" :style="{ width: `${percent}%` }" /> <div class="h-2" :class="colorClass" :style="{ width: `${percent}%` }" />
</div> </div>
</template> </template>