PINE LIBRARY
Updated

fsl_theme

1 045
Library "fsl_theme"
FSL Theme Library
Provides reusable UI color themes used across FSL indicators and strategies.
The library defines a Theme structure containing colors for table headers,
data rows, and directional indicators. Scripts can retrieve a preset theme
using `getTheme()` and apply consistent styling to tables and labels.

getTheme(id)
  Returns the Theme configuration corresponding to the selected preset.
  Parameters:
    id (series ThemeId): ThemeId identifier of the theme preset.
  Returns: Theme structure containing all UI color settings.

Theme
  Structure containing all UI color definitions used by FSL scripts. These colors are typically applied to tables, labels, and UI elements.
  Fields:
    header_bg (series color)
    header_tx (series color)
    data_bg (series color)
    data_tx (series color)
    data_bg_sec (series color)
    dir_cont_bg (series color)
    dir_cont_tx (series color)
    dir_backw_bg (series color)
    dir_backw_tx (series color)
Release Notes
v2

Updated:
Theme
  Structure containing all UI color definitions used by FSL scripts. These colors are typically applied to tables, labels, and UI elements.
  Fields:
    header_bg (series color)
    header_tx (series color)
    data_bg (series color)
    data_tx (series color)
    data_bg_sec (series color)
    dir_cont_bg (series color)
    dir_cont_tx (series color)
    dir_backw_bg (series color)
    dir_backw_tx (series color)
    bg_main (series color)
    bg_secondary (series color)
    border (series color)
    grid (series color)
    text_secondary (series color)
    text_muted (series color)
    accent (series color)
Release Notes
v3

Updated:
Theme
  Structure containing all UI color definitions used by FSL scripts. These colors are typically applied to tables, labels, and UI elements.
  Fields:
    header_bg (series color)
    header_tx (series color)
    data_bg (series color)
    data_tx (series color)
    data_bg_sec (series color)
    dir_cont_bg (series color)
    dir_cont_tx (series color)
    dir_backw_bg (series color)
    dir_backw_tx (series color)
    bg_main (series color)
    bg_secondary (series color)
    border (series color)
    grid (series color)
    text_secondary (series color)
    text_muted (series color)
    accent (series color)
    bar_up (series color)
    bar_down (series color)
    ma (series color)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.