Color Tab
/Buttons Zero State/ColorTab.cs
All credits to pyrevit
Color the tab based on Project and view type
Only 4 view types are colored:
if (tab.ToolTip.ToString().Contains("Plan:"))
tab.Background = planBrush;
else if (tab.ToolTip.ToString().Contains("Section:"))
tab.Background = sectBrush;
else if (tab.ToolTip.ToString().Contains("3D View:"))
tab.Background = threeDBrush;
else if (tab.ToolTip.ToString().Contains("Sheet:"))
tab.Background = sheetBrush;