Enhancing Range slider Widget Customization with Custom Theme Variables
Bold BI offers support for customizing the appearance of the Range slider widget by using custom theme variables. These variables allow you to customize various aspects of the Range slider 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 Range slider 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 Range slider widget through the utilization of Range slider widget theme variables.
Range slider Widget Customization Using Theme Variables
You have the ability to customize the appearance of the Range slider 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 title, subtitle, range color, slider background and widget label.
Range slider Widget Header Title
The following variables allows you to customize the font color, size and weight of the Range slider’s Header title.
--rangeslider-widget-title-font-color:#ff4800;
--rangeslider-widget-title-fontsize:20px;
--rangeslider-widget-title-fontweight:1000;
Range slider Widget Subtitle
The following variables allows you to customize the font color, size and weight of the Range slider’s subtitle.
--rangeslider-widget-subtitle-font-color:#ff4800;
--rangeslider-widget-subtitle-fontsize:20px;
--rangeslider-widget-subtitle-fontweight:1000;
Range slider Widget slider background and range color
The following variables allows you to customize the slider background and range color of the Range slider.
--rangeslider-widget-slider-background:#ffb69a; /* Unselected range area */
--rangeslider-widget-range-color:#ff4800; /* Selected range area */
Range slider Widget handle background and border
The following variables allows you to customize the handle background and border of the Range slider.
--rangeslider-widget-handle-background:#ffb69a;
--rangeslider-widget-handle-border:#ff4800;
Range slider Widget label
The following variables allows you to customize the background, font color, size and weight of the Range slider’s label.
--rangeslider-widget-label-font-color:#002dcc;
--rangeslider-widget-label-fontsize:16px;
--rangeslider-widget-label-fontweight:1000;
Range slider Widget container styles
The following variables allows you to customize the border radius, color and background color of the Range slider.
--rangeslider-widget-container-border-radius:10px;
--rangeslider-widget-container-border-color:#ff4800;
--rangeslider-widget-container-bg-color:#ffb69a;
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 Range slider widget in the properties.