Skip to content

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

Merged
charlesBochet merged 1 commit intomainfrom
fix/billing-credits-bar-dark-mode
Jan 12, 2026
Merged

fix: use theme-aware background color for billing credits progress bar#17103
charlesBochet merged 1 commit intomainfrom
fix/billing-credits-bar-dark-mode

Conversation

@Bonapara
Copy link
Copy Markdown
Member

@Bonapara Bonapara commented Jan 12, 2026

Summary

  • Fixed the billing credits progress bar background color in dark mode
  • The background was hardcoded to BACKGROUND_LIGHT.tertiary, causing it to always display a light color regardless of the current theme
  • Changed to use theme.background.tertiary to properly respect dark/light mode

Test plan

  • Navigate to Settings > Billing in dark mode
  • Verify the credits progress bar background matches the tertiary background color (dark in dark mode)
  • Verify it still looks correct in light mode

Figma reference: https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=64812-242606&m=dev

The progress bar background was hardcoded to BACKGROUND_LIGHT.tertiary,
which caused it to always show a light color even in dark mode.
Changed to use theme.background.tertiary to respect the current theme.
Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Preview Environment Ready!

Your preview environment is available at: http://bore.pub:45602

This environment will automatically shut down when the PR is closed or after 5 hours.

@charlesBochet charlesBochet merged commit b951757 into main Jan 12, 2026
67 of 75 checks passed
@charlesBochet charlesBochet deleted the fix/billing-credits-bar-dark-mode branch January 12, 2026 17:53
@twenty-eng-sync
Copy link
Copy Markdown

Hey @charlesBochet! After you've done the QA of your Pull Request, you can mark it as done here. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants