Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(skins) allow to set LaunchImage style per color scheme #13731

Merged
merged 3 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading