fix(Ziro): ylx colors, light theme, playback time (#946)

This commit is contained in:
darkthemer 2023-06-06 01:33:57 +08:00 committed by GitHub
parent f845e8da84
commit 589969c3e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,13 @@
--br-1: 10px; --br-1: 10px;
--br-2: 8px; --br-2: 8px;
--scrollbar: unset; --scrollbar: unset;
--spice-main-elevated: var(--spice-main);
--spice-highlight: var(--spice-button-disabled);
--spice-highlight-elevated: var(--spice-card);
}
.encore-dark-theme, .encore-dark-theme .encore-base-set {
--text-subdued: var(--spice-subtext);
} }
/* background */ /* background */
.main-home-homeHeader, .main-home-homeHeader,
@ -14,6 +21,7 @@
} }
.main-topBar-background { .main-topBar-background {
opacity: 1 !important; opacity: 1 !important;
background-color: var(--spice-main) !important;
} }
* { * {
box-shadow: none !important; box-shadow: none !important;
@ -23,6 +31,10 @@
display: none; display: none;
} }
/* navbar */ /* navbar */
.main-rootlist-rootlist {
--left-sidebar-padding-left: 24px !important;
--left-sidebar-padding-right: 24px !important;
}
.main-rootlist-rootlistDividerContainer { .main-rootlist-rootlistDividerContainer {
display: none; display: none;
} }
@ -82,7 +94,7 @@
.main-nowPlayingBar-center .playback-progressbar { .main-nowPlayingBar-center .playback-progressbar {
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 84px; bottom: 82px;
} }
.main-nowPlayingBar-nowPlayingBar:not(:only-child) .playback-progressbar:not(.volume-bar__slider-container > .playback-progressbar) { .main-nowPlayingBar-nowPlayingBar:not(:only-child) .playback-progressbar:not(.volume-bar__slider-container > .playback-progressbar) {
bottom: 108px; bottom: 108px;
@ -121,23 +133,29 @@
} }
.playback-bar__progress-time-elapsed, .playback-bar__progress-time-elapsed,
.main-playbackBarRemainingTime-container { .main-playbackBarRemainingTime-container {
color: var(--spice-subtext); color: var(--spice-text);
position: absolute; position: absolute;
margin-bottom: 30px; margin-bottom: 33px;
right: 266px; right: 0;
} }
.playback-bar__progress-time-elapsed { .playback-bar__progress-time-elapsed {
right: 308px; right: 43px;
} }
.playback-bar__progress-time-elapsed::after { .playback-bar__progress-time-elapsed::after {
content: ' /'; content: ' /';
} }
.main-nowPlayingBar-extraControls {
margin-right: 75px;
}
.player-controls__buttons { .player-controls__buttons {
margin: 0; margin: 0;
} }
.player-controls__buttons button:not(.main-playPauseButton-button) { .player-controls__buttons button:not(.main-playPauseButton-button) {
color: var(--spice-button) !important; color: var(--spice-button) !important;
} }
.main-genericButton-button {
color: var(--spice-button) !important;
}
.connect-device-list-content { .connect-device-list-content {
border-radius: var(--br-1); border-radius: var(--br-1);
border: 1px solid var(--spice-button-disabled); border: 1px solid var(--spice-button-disabled);
@ -200,6 +218,7 @@
.cSeieV { .cSeieV {
background-color: var(--spice-button-active); background-color: var(--spice-button-active);
} }
/* menus */ /* menus */
.main-contextMenu-menu { .main-contextMenu-menu {
border: 1px solid var(--spice-button-disabled); border: 1px solid var(--spice-button-disabled);
@ -284,7 +303,7 @@
display: var(--scrollbar); display: var(--scrollbar);
} }
.os-scrollbar-handle { .os-scrollbar-handle {
border-radius: 8px; border-radius: var(--br-2);
background: var(--spice-button-disabled) !important; background: var(--spice-button-disabled) !important;
} }
/* tab bar */ /* tab bar */
@ -368,6 +387,10 @@
.main-entityHeader-withBackgroundImage + div { .main-entityHeader-withBackgroundImage + div {
transform: translateY(64px); transform: translateY(64px);
} }
.main-entityHeader-container.main-entityHeader-withBackgroundImage {
background-image: linear-gradient(50deg, rgba(var(--spice-rgb-card), 1) 30%, rgba(var(--spice-rgb-card), 0.7) 60%, transparent 90%);
border-radius: var(--br-1);
}
/* tracklist */ /* tracklist */
.main-trackList-trackList .main-rootlist-wrapper { .main-trackList-trackList .main-rootlist-wrapper {
background: var(--spice-card); background: var(--spice-card);
@ -497,11 +520,11 @@ input:checked ~ .x-toggle-indicatorWrapper .x-toggle-indicator {
color: var(--spice-text); color: var(--spice-text);
} }
/* misc */ /* misc */
.HiVDAl0LvHLB_YdI9xwQ, .lyrics-lyrics-container.lyrics-lyrics-coverTopBar {
.lyrics-lyricsContainer-LyricsContainer {
--lyrics-color-active: var(--spice-text) !important; --lyrics-color-active: var(--spice-text) !important;
--lyrics-color-inactive: var(--spice-subtext) !important; --lyrics-color-inactive: var(--spice-subtext) !important;
--lyrics-color-background: var(--spice-main) !important; --lyrics-color-passed: var(--spice-subtext) !important;
--lyrics-color-messaging: var(--spice-text) !important;
} }
.lyrics-lyricsContainer-LyricsBackground { .lyrics-lyricsContainer-LyricsBackground {
background-image: none; background-image: none;
@ -561,3 +584,7 @@ label.Type__TypeElement-goli3j-0.gCwing.main-playlistEditDetailsModal-textElemen
.main-collectionLinkButton-selected .main-rootlist-statusIcons .CCeu9OfWSwIAJqA49n84.Frn4juLXf6zInWBEFFzr { .main-collectionLinkButton-selected .main-rootlist-statusIcons .CCeu9OfWSwIAJqA49n84.Frn4juLXf6zInWBEFFzr {
color: var(--spice-main); color: var(--spice-main);
} }
/*about artist card text*/
.artist-artistAbout-container.artist-artistAbout-backgroundImage .artist-artistAbout-content > div {
color: #fff;
}