Skip to content

The open alternative to Salesforce, designed for AI.

fix: use theme-aware background color for billing credits progress bar (#17103)

Thomas des Francsb95175722097
diff --git a/packages/twenty-front/src/modules/billing/components/SettingsBillingCreditsSection.tsx b/packages/twenty-front/src/modules/billing/components/SettingsBillingCreditsSection.tsx
index 5f9fa7bc5de..b9f39fc7a54 100644
--- a/packages/twenty-front/src/modules/billing/components/SettingsBillingCreditsSection.tsx
+++ b/packages/twenty-front/src/modules/billing/components/SettingsBillingCreditsSection.tsx
@@ -14,7 +14,6 @@ import { t } from '@lingui/core/macro';
import { H2Title } from 'twenty-ui/display';
import { ProgressBar } from 'twenty-ui/feedback';
import { Section } from 'twenty-ui/layout';
-import { BACKGROUND_LIGHT } from 'twenty-ui/theme';
import { SubscriptionStatus } from '~/generated/graphql';
import { formatToShortNumber } from '~/utils/format/formatToShortNumber';
@@ -86,7 +85,7 @@ export const SettingsBillingCreditsSection = ({
barColor={
progressBarValue > 100 ? theme.color.red8 : theme.color.blue
}
- backgroundColor={BACKGROUND_LIGHT.tertiary}
+ backgroundColor={theme.background.tertiary}
withBorderRadius={true}
/>