tab_bar_color_palette

On this page
  1. tab_bar_color_palette = "Dark"

tab_bar_color_palette = "Dark"#

Controls which family of built-in generated tab colors is used when tab_bar_color_mode is set to Hash or Assign.

Possible values are:

  • "Dark": use darker generated backgrounds intended for inactive tabs
  • "Light": generate lighter tab backgrounds so they generally pair with dark text
  • "Mixed": allow both dark and light generated backgrounds

This option controls the family of generated background colors. In practice, "Dark" keeps backgrounds in the darker range that pairs with the built-in inactive and hover text colors, "Light" tends to yield dark foreground text, and "Mixed" allows either.

Each family contains 512 unique 8-bit sRGB colors selected independently offline by exhaustive Oklab distance ranking.

The default is "Dark".

Edit this page