Skip to content

Commit

Permalink
Merge pull request #13731 from ronso0/launchimagestyle-per-color-scheme
Browse files Browse the repository at this point in the history
(skins) allow to set LaunchImage style per color scheme
  • Loading branch information
JoergAtGithub authored Oct 20, 2024
2 parents 5a7b00a + d25b999 commit 9bd837e
Show file tree
Hide file tree
Showing 8 changed files with 410 additions and 71 deletions.
62 changes: 62 additions & 0 deletions res/skins/LateNight/classic/style/mixxx_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 82 additions & 0 deletions res/skins/LateNight/classic/style/progressbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions res/skins/LateNight/classic/style/progressbar_bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions res/skins/LateNight/skin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,32 @@
SliderScheme ...exactly!
StyleScheme icons & backgrounds for library, splitters, spinnies,
VU meter, default cover art etc. -->
<LaunchImageStyle>
LaunchImage {
background-color: #0f0f0f;
}
QLabel {
image: url(skins:LateNight/palemoon/style/mixxx_logo.svg);
padding: 0;
margin: 0px 2px 0px 2px;
border: none;
min-width: 160px;
max-width: 160px;
min-height: 40px;
max-height: 40px;
}
QProgressBar {
background: url(skins:LateNight/palemoon/style/progressbar_bg.svg);
border: none;
min-width: 164px;
max-width: 164px;
min-height: 5px;
max-height: 5px;
}
QProgressBar::chunk {
background: url(skins:LateNight/palemoon/style/progressbar.svg);
}
</LaunchImageStyle>
<Style src="skins:LateNight/style_palemoon.qss"/>
<SetVariable name="BtnScheme">palemoon</SetVariable>
<SetVariable name="KnobScheme">palemoon</SetVariable>
Expand Down Expand Up @@ -238,6 +264,33 @@
<Name>Classic</Name>
<!-- Classic theme. Bulky containers, hatched backgrounds, no knob arcs -->
<Style src="skins:LateNight/style_classic.qss"/>
<LaunchImageStyle>
LaunchImage {
background-color: #1e1e1e;
}
QLabel {
image: url(skins:LateNight/classic/style/mixxx_logo.svg);
padding: 0;
margin: 0px 2px 0px 2px;
border: none;
min-width: 162px;
max-width: 162px;
min-height: 42px;
max-height: 42px;
}
QProgressBar {
background: url(skins:LateNight/classic/style/progressbar_bg.svg);
border: none;
min-width: 160px;
max-width: 160px;
min-height: 5px;
max-height: 5px;
}
QProgressBar::chunk {
background: url(skins:LateNight/classic/style/progressbar.svg);
}
</LaunchImageStyle>

<SetVariable name="BtnScheme">classic</SetVariable>
<SetVariable name="KnobScheme">classic</SetVariable>
<SetVariable name="SliderScheme">classic</SetVariable>
Expand Down
Loading

0 comments on commit 9bd837e

Please sign in to comment.