Is it possible to define specific Color Theme Prop...
# gooddata-cloud
c
Is it possible to define specific Color Theme Properties for Rich Text blocs?
k
No, it is not possible to define specific color theme properties for individual Rich Text blocks in GoodData dashboards. The text color in Rich Text widgets is always derived from the complementary color c6 of the theme’s color palette, and there is no built-in option to override this on a per-block or per-widget basis using the theme JSON or markdown syntax. This is confirmed in both the official documentation and community discussions, which state that the color is fixed and taken from c6 of the theme, with no separate coloring option available at the moment [Formatting Options](https://www.gooddata.com/docs/cloud/create-dashboards/rich-text/#formatting-options) [Community Slack Discussion](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1743760170760239?thread_ts=1743760170.760239&cid=C04S1MSLEAW). As a workaround, you can use metrics with custom formatting to display colored text within a Rich Text widget, but this is not a direct theming property for Rich Text blocks themselves.
c
And if I define c6 color as rich text color and add specific colors for widget and kpi widget?
m
Hello, Clement. As our AI assistant replied, there is not specific definition for Color Theme of the Rich Text. If you define the c6 color and the Widget, in the case of the Rich Text, you will see the c6 definition. Unfortunately it can not be defined, but as the suggestion from our AI assistant you can follow this Workaround to change the color to a specific color in the Rich Text. We can submit a another Product Feedback on your behalf to be able to simply set the color for rich text in the theme palette, independently.
c
To clarify, I am talking about the background and the boarder, not the font color
1
m
Thank you for your clarification, and my apologies. Yes, in that case you can change the widget's settings:
Copy code
"widget": {
                "title": {
                    "color": "#101010",
                    "textAlign": "center"
                },
                "borderColor": "#F2F0F0",
                "borderRadius": "6",
                "backgroundColor": "#00FFFF",
                "borderWidth": "2",
                "dropShadow": false
            }
        }
But this will affect all the widgets, not only the Rich Text.