Implement support for dedicated theme CSS files from our gresource.

Properly implement light and gruvbox themes. Yay!
This commit is contained in:
Joshua Strobl 2021-05-27 15:47:45 +03:00
parent 4cc5c6efd4
commit 8334323af8
27 changed files with 285 additions and 121 deletions

32
theme/_main.scss Normal file
View file

@ -0,0 +1,32 @@
@import 'components/cover-art-button';
@import 'components/gtk-overrides';
@import 'pages/music-local';
@import 'pages/playlist-page';
@import 'button';
@import 'disc-view';
@import 'expander';
@import 'player-bar';
@import 'primary-nav';
@import 'track-item';
window {
color: $text-color-bright;
background-color: $bg-primary;
& > headerbar, & > headerbar:active {
background-color: $bg-secondary;
background-image: none;
}
.koto-dialog-container {
background-color: transparentize($bg-secondary, 0.25);
padding: 20px;
}
// All the classes we want consistent padding applied to for its primary content
.artist-view-content, // Has the albums
.playlist-page { // Individual playlists
padding: $itempadding;
}
}