-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace DarkPalette with custom dark QSS
- Loading branch information
Showing
9 changed files
with
138 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
QWidget { | ||
selection-background-color: #282828; | ||
color: #f5f5f5; } | ||
|
||
QScrollBar::handle { | ||
background-color: #4d4d4d; } | ||
|
||
QScrollBar::add-line, QScrollBar::sub-line { | ||
width: 0px; | ||
height: 0px; } | ||
|
||
MainWindow { | ||
background-color: #000000; } | ||
MainWindow MainToolBar { | ||
background-color: #282828; | ||
border: 0; } | ||
MainWindow MainToolBar QSlider { | ||
selection-background-color: #1db954; } | ||
MainWindow MainToolBar QSlider::handle { | ||
background-color: #ffffff; | ||
width: 12px; | ||
height: 12px; | ||
border-radius: 6px; } | ||
|
||
LeftSidePanel LibraryList, LeftSidePanel PlaylistList { | ||
color: #b3b3b3; | ||
background-color: #000000; } | ||
LeftSidePanel LibraryList QScrollBar, LeftSidePanel PlaylistList QScrollBar { | ||
background-color: #000000; } | ||
|
||
TracksList { | ||
background-color: #121212; } | ||
TracksList QHeaderView { | ||
background-color: #181818; | ||
color: #b3b3b3; } | ||
TracksList QScrollBar { | ||
background-color: #121212; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
// Main background color | ||
$background-color: #121212; | ||
// Secondary background color for borders etc. | ||
$secondary-background-color: #282828; | ||
// Header background color for list titles etc. | ||
$header-background-color: #181818; | ||
|
||
// Background for handle in scrollbars | ||
$scrollbar-handle-color: #4d4d4d; | ||
|
||
// Sidebar background color | ||
$sidebar-background-color: #000000; | ||
// Sidebar font color | ||
$sidebar-foreground-color: #b3b3b3; | ||
|
||
// Main font color | ||
$foreground-color: #f5f5f5; | ||
// Color of selected items etc. | ||
$highlight-color: #282828; | ||
// Main Spotify green color | ||
$theme-color: #1db954; | ||
|
||
// Slider background (inactive) | ||
$slider-background-color: #535353; | ||
// Slider foreground (active) | ||
$slider-foreground-color: $sidebar-foreground-color; | ||
// Slider handle | ||
$slider-handle-color: #ffffff; | ||
|
||
QWidget { | ||
selection-background-color: $highlight-color; | ||
color: $foreground-color; | ||
} | ||
|
||
QScrollBar { | ||
&::handle { | ||
background-color: $scrollbar-handle-color; | ||
} | ||
|
||
&::add-line, &::sub-line { | ||
width: 0px; | ||
height: 0px; | ||
} | ||
} | ||
|
||
MainWindow { | ||
background-color: $sidebar-background-color; | ||
|
||
MainToolBar { | ||
background-color: $secondary-background-color; | ||
border: 0; | ||
|
||
QSlider { | ||
selection-background-color: $theme-color; | ||
|
||
&::handle { | ||
background-color: $slider-handle-color; | ||
width: 12px; | ||
height: 12px; | ||
border-radius: 6px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
LeftSidePanel { | ||
LibraryList, PlaylistList { | ||
color: $sidebar-foreground-color; | ||
background-color: $sidebar-background-color; | ||
|
||
QScrollBar { | ||
background-color: $sidebar-background-color; | ||
} | ||
} | ||
} | ||
|
||
TracksList { | ||
background-color: $background-color; | ||
|
||
QHeaderView { | ||
background-color: $header-background-color; | ||
color: $sidebar-foreground-color; | ||
} | ||
|
||
QScrollBar { | ||
background-color: $background-color; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters