Enhancing Rich Text Editor Widget Customization with Custom Theme Variables
Bold BI offers support for customizing the appearance of the RTE widget by using custom theme variables. These variables allow you to customize various aspects of the RTE widget’s appearance. Once you have customized the theme variables, you can refer to the provided knowledge base (KB) articles to learn how to generate the custom dashboard theme minified file with the customized RTE changes and upload it to the server.
KB Articles:How to generate custom dashboard theme and upload it to server
At first, download the most recent release package for the theme from the aforementioned knowledge base in Step 1 and extract it. Inside the extracted files, you will discover distinct theme files for each widget. By utilizing these files, you can personalize any widget and attain the outcome that you like across the dashboards. This article offers comprehensive guidance on modifying the RTE widget through the utilization of RTE widget theme variables.
Rich Text Editor Widget Customization Using Theme Variables
You have the ability to customize the appearance of the RTE widget by utilizing the theme variables, which allow for adjustments to be made to the widget container’s border radius, background and border color, as well as the colors and font styles of the RTE widget content and container settings.
Rich Text Editor Widget content
The following variables allows you to customize the font color and weight of the RTE widget content.
--rte-widget-content-font-color:#9DB99C;
--rte-widget-content-fontweight:1000;
Rich Text Editor Widget container settings
The following variables allows you to customize the border radius, color and background color of the RTE widget.
--rte-widget-container-border-radius:5px;
--rte-widget-container-border-color:#040F1E;
--rte-widget-container-bg-color:#9CA9B9;
NOTE: It is crucial to emphasize that if you intend to customize the appearance of a specific widget using specific theme variables, refrain from customizing the RTE widget in the properties.