Саша Черных
Саша Черных

Reputation: 2813

Changing the color of tab titles in Sublime Text 3

Text into tabs Sublime Text

The color scheme I am using has poor visibility of tab titles. How do I change their color? I want to change it both for active and inactive tabs.

Upvotes: 2

Views: 2102

Answers (2)

Nehal
Nehal

Reputation: 1022

If Material Theme Package installed, add following settings at "Preferences" >> "Customize Theme"

In "rules" lable add following settings.

"rules":
[
    {
        "class": "tab_label",
        "fg": [255, 255, 255]
    }
]

Upvotes: 0

r-stein
r-stein

Reputation: 4847

Add to your Default.sublime-theme, where tab_label sets the color of the text and tab_control the color of the tab itself:

[
    {
        "class": "tab_label",
        "fg": [127, 255, 212]
    },
    {
        "class": "tab_control",
        "attributes": ["selected"],
        "tint_modifier": [255, 215, 0, 225]
    }
]

in the attribute fg you define a rgb based color. If you want it only for the selected tab you can add "parents": [{"class": "tab_control", "attributes": ["selected"]}], to limit its scope.

Upvotes: 5

Related Questions