-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Description
Summary of the new feature/enhancement
Profiles.json should provide tab color as part of a scheme and/or profile, with an optional way to introduce variant for multiple instances of the same profile. When a user opens different tabs today, there is very little distinction between the tabs. I'd like to have the ability to apply a color to the tab, perhaps with an alpha so that I could shade both light and dark applications with a accent color representing the type of profile used by the tab. It might be valuable to have an additional accent color which can shade the tab or a portion of the tab uniquely depending on if there are multiple instances of the same profile open, so as to distinguish between them.
Proposed technical implementation details
I'm not entirely sure how the optional portion would be implemented, so I'll address the first portion first.
{
"profiles" :
{
"tabForeground" : "#aarrbbgg",
"tabBackground" : "#aarrbbgg"
}
}or
{
"profiles" :
{
"colorScheme" : "Foo"
},
"schemes" :
[
{
"name" : "Foo",
"tabForeground" : "#aarrbbgg",
"tabBackground" : "#aarrbbgg"
}
]
}Just as with the foreground and background properties, the profile definition overrides the scheme definition. This concept could be expanded later to use other foreground and background identifiers such as images.