Budibase/budibase

🐞 [ BUG ] - CSS Variable Colors Not Displayed in Color Orb

Open

#18,830 opened on May 20, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (19,820 stars) (1,304 forks)batch import
bugcssenv - productiongood first issuelow-hanging-fruitpicker

Description

Checklist

  • I have searched Budibase Discussions and GitHub Issues to confirm this has not already been reported.

Hosting

  • Self‑hosted
    • Method: Docker
    • Budibase Version: 3.38.0
    • App Version: 3.38.0

Describe the bug

When applying a color in Budibase, if the value is set using a CSS variable, the color orb in the design panel does not update to reflect the applied color. The CSS variable does work correctly — the component’s text color changes as expected — but the UI still shows the orb as if no color is set.

This creates confusion because it appears that no color has been applied, even though the variable is functioning properly.


To Reproduce

  1. Open any Budibase app.
  2. Select a component with text styling options.
  3. Scroll to Color under the General section.
  4. Open the color picker and set the color to a CSS variable (e.g., var(--myColor)).
  5. Ensure the CSS variable is defined (e.g., in an Embed component).
  6. Observe that the text color updates correctly, but the color orb does not reflect the applied value.

Expected behavior

The color orb should visually update to indicate that a color has been set — even when the value is a CSS variable — so the UI accurately reflects the component’s styling state.


Screenshots


App Export

If possible, attach an export of your Budibase application to assist with debugging.


Desktop (please complete the following information):

  • OS: MAC OS
  • Browser: Chrome/Safari/Firefox/Edge
  • Version:

Additional context

CSS variables work correctly at runtime; the issue is strictly with the design‑panel UI not reflecting the applied value.

Contributor guide