Enhancing Text Filter Widget Customization with Custom Theme Variables
Bold BI offers support for customizing the appearance of the Text Filter widget by using custom theme variables. These variables allow you to customize various aspects of the Text Filter 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 Text Filter 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 Text Filter widget through the utilization of Text Filter widget theme variables.
Text Filter Widget Customization Using Theme Variables
You have the ability to customize the appearance of the Text Filter 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 Widget Header, Subtitle, Text Box and Widget Container Styles.
Text Filter Widget Title
The following variables allows you to customize the text color and font styles of the Text Filter widget’s Title.
--textfilter-widget-title-font-color:#2349C7;
--textfilter-widget-title-fontsize:20px;
--textfilter-widget-title-fontweight:1000;
Text Filter Widget Subtitle
The following variables allows you to customize the text color and font styles of the Text Filter widget’s Subtitle.
--textfilter-widget-subtitle-font-color:#2349C7;
--textfilter-widget-subtitle-fontsize:20px;
--textfilter-widget-subtitle-fontweight:1000;
Text Filter Widget Text Box Styles
The following variables allows you to customize the text color of Place holder, border color and background of the Text Filter widget.
--textfilter-widget-placeholder-text-color:#7161EF;
--textfilter-widget-border-color:#7161EF;
--textfilter-widget-background:#E4D9FF;
Text Filter Widget Text Styles
The following variables allows you to customize the font styles of the Text Filter widget.
--textfilter-widget-font-color:#0D21A1;
--textfilter-widget-fontsize:20px;
--textfilter-widget-fontweight:1000;
Text Filter Widget Container Styles
The following variables allows you to customize the Background color, border color and border radius of the Text Filter widget container.
--textfilter-widget-container-border-radius:5px;
--textfilter-widget-container-border-color:#0D21A1;
--textfilter-widget-container-bg-color:#86BBD8;
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 Text Filter widget in the properties.