Skip to content

Instantly share code, notes, and snippets.

@tusharkant15
Last active June 5, 2021 13:16
Show Gist options
  • Save tusharkant15/49febbb0527245d3a43cbb0e5bed6f46 to your computer and use it in GitHub Desktop.
Save tusharkant15/49febbb0527245d3a43cbb0e5bed6f46 to your computer and use it in GitHub Desktop.
Dark Tabs for console
/* Based on codemedic's work (https://gist.github.com/codemedic/f11cc460b8d9544f9afc) */
QWidget, QTabWidget::pane, QTabWidget::tab-bar {
background-color: #383c4a;
}
QTabBar::tab {
color: #777;
background-color: #383c4a; /* Pick from current color scheme from System Settings > Color > Modify > Colors > Window Background */
font-size: 16px;
height: 32px;
padding: 8px;
}
QTabBar::tab:selected, QTabBar::tab:hover {
color: #d3dae3; /* Pick from current color scheme from System Settings > Color > Modify > Colors > Window Text */
background: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #d3dae3, stop: 0.001 #d3dae3, stop: 0.07 #383c4a);
/* Same as color Same as color Same as background-color*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment