dosubot[bot] commented on issue #37673:
URL: https://github.com/apache/superset/issues/37673#issuecomment-3848009437

   <!-- Answer -->
   This is a known regression in Superset 6.0.0: conditional formatting for 
tables and some charts lost gradient color support and now only offers a few 
preset theme colors (success, alert, error), which are often pale and visually 
unhelpful. The full set of vibrant color schemes is still defined in the 
codebase, but the UI restricts selection to these limited options due to 
frontend changes. This was not an intentional feature removal, and maintainers 
have acknowledged the issue—gradients worked in previous versions but not in 
6.0.0 [[source]](https://github.com/apache/superset/issues/36098).
   
   Currently, you can globally override the theme colors by setting 
`colorSuccessBg`, `colorWarningBg`, and `colorErrorBg` in your `THEME_DEFAULT` 
config, but this affects all charts and UI elements using those tokens 
[[source]](https://github.com/apache/superset/discussions/35056#discussioncomment-14341740).
 The UI does not allow picking arbitrary colors or entering hex codes for 
conditional formatting.
   
   There is ongoing work to restore gradient support and improve conditional 
formatting flexibility, but no immediate fix is available. If you need more 
vibrant colors now, theme token overrides are the only workaround, though they 
apply globally. For more granular control or restoration of previous behavior, 
you would need to patch the frontend code or wait for an upstream fix.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/ba188d4b-748b-4574-bfd4-ca8ff26a87fd?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/ba188d4b-748b-4574-bfd4-ca8ff26a87fd?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/ba188d4b-748b-4574-bfd4-ca8ff26a87fd?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/ba188d4b-748b-4574-bfd4-ca8ff26a87fd?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/ba188d4b-748b-4574-bfd4-ca8ff26a87fd?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/ba188d4b-748b-4574-bfd4-ca8ff26a87fd?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/ba188d4b-748b-4574-bfd4-ca8ff26a87fd?feedback_type=other)</sup>
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20known%20regression%20in%20Superset%206.0.0%3A%20conditional%20formatting%20for%20tables%20and%20some%20charts%20lost%20gradient%20color%20support%20and%20now%20only%20offers%20a%20few%20preset%20theme%20colors%20%28success%2C%20alert%2C%20error%29%2C%20which%20are%20often%20pale%20and%20visually%20unhelpful.%20The%20full%20set%20of%20vibrant%20color%20schemes%20is%20still%20defined%20in%20the%20codebase%2C%20but%20the%20UI%20restricts%20selection%20to%20these%20limited%20options%20due%20to%20frontend%20changes.%20This%20was%20not%20an%20intentional%20feature%20removal%2C%20and%20maintainers%20have%20acknowledged%20the%20issue%E2%80%94gradients%20worked%20in%20previous%20versions%20but%20not%20in%206.0.0%20%5B%5Bsource%5D%5D%28https%
 
3A//github.com/apache/superset/issues/36098%29.%0A%0ACurrently%2C%20you%20can%20globally%20override%20the%20theme%20colors%20by%20setting%20%60colorSuccessBg%60%2C%20%60colorWarningBg%60%2C%20and%20%60colorErrorBg%60%20in%20your%20%60THEME_DEFAULT%60%20config%2C%20but%20this%20affects%20all%20charts%20and%20UI%20elements%20using%20those%20tokens%20%5B%5Bsource%5D%5D%28https%3A//github.com/apache/superset/discussions/35056%23discussioncomment-14341740%29.%20The%20UI%20does%20not%20allow%20picking%20arbitrary%20colors%20or%20entering%20hex%20codes%20for%20conditional%20formatting.%0A%0AThere%20is%20ongoing%20work%20to%20restore%20gradient%20support%20and%20improve%20conditional%20formatting%20flexibility%2C%20but%20no%20immediate%20fix%20is%20available.%20If%20you%20need%20more%20vibrant%20colors%20now%2C%20theme%20token%20overrides%20are%20the%20only%20workaround%2C%20though%20they%20apply%20globally.%20For%20more%20granular%20control%20or%20restoration%20of%20previous%20behavior%2C%
 
20you%20would%20need%20to%20patch%20the%20frontend%20code%20or%20wait%20for%20an%20upstream%20fix.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/37673)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to