#Comfywave 2 0 for Spotify Controls by
1 messages · Page 1 of 1 (latest)
can you make it not invert when paused and flashbang me, everything else is awesome, I tried editing the css but the inversion logic is spread across many lines
It is possible, but I will have to define an extra darker wave color and keep the text to a bright color while paused
does this look good to you?
:root {
/* Change colors here (in HSL) */
--spotify-vencord-color: 240deg 60% 60%;
--spotify-vencord-dark: 240deg 60% 20%; /* choose darker tone (lower 3rd value) */
--spotify-vencord-text: 100deg 50% 100%;
/* Spotify Vencord color theme */
--spotify-vencord-wave-width: 240px;
}
#vc-spotify-player::before {
content: "";
position: absolute;
height: 25px;
z-index: 1;
width: var(--spotify-vencord-wave-width);
margin-top: -28px;
left: 0;
background: hsla(var(--spotify-vencord-dark)/1);
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="25" viewBox="0 0 284 25"><path d="M283.999 15.2776C228.798 15.2776 211.243 -0.0317305 140.048 -0.000164877C69.0475 -0.000164877 51.2975 15.2776 8.58307e-06 15.2776V24.9998H284C284 24.9998 283.999 18.9392 283.999 15.2776Z"/></svg>');
animation: spotifywave 4s linear infinite;
animation-play-state: paused;
animation-delay: 0s;
opacity: 1;
}
#vc-spotify-player#vc-spotify-player {
background: hsla(var(--spotify-vencord-dark)/1);
border-bottom: none;
}
#vc-spotify-player #vc-spotify-progress-bar > [class^=slider] [class^=grabber][class^=grabber] {
background-color: hsla(var(--spotify-vencord-dark)/1);
border-color: hsla(var(--spotify-vencord-text)/1) !important;
color: var(--interactive-normal);
border-width: 2px;
height: 8px !important;
width: 8px !important;
}
I like to have a lot of contrast so my wave was all dark and text was pure white, so inversion wasn't suiting me, anything is better lol, nice trick
yknow what, also update this to keep the profile container colored when paused
#vc-spotify-player + [class*=container-] rect[fill="#f23f43"],
#vc-spotify-player + [class*=container-] foreignObject[mask="url(#svg-mask-status-dnd)"] > div {
fill: hsla(var(--spotify-vencord-text)/1) !important;
background-color: hsla(var(--spotify-vencord-text)/1)!important;
}
#vc-spotify-player + [class*=container-] rect[fill="rgba(242, 63, 67, 1)"] {
fill: hsla(var(--spotify-vencord-text)/1) !important;
}
#vc-spotify-player + [class*=container-] rect[fill="#23a55a"],
#vc-spotify-player + [class*=container-] foreignObject[mask="url(#svg-mask-status-online)"] > div,
#vc-spotify-player + [class*=container-] div[class^=dotOnline],
#vc-spotify-player + [class*=container-] i[class^=statusOnline-] {
fill: hsla(var(--spotify-vencord-text)/1)!important;
background-color: hsla(var(--spotify-vencord-text)/1) !important;
}
#vc-spotify-player + [class*=container-] rect[fill="rgba(35, 165, 90, 1)"] {
fill: hsla(var(--spotify-vencord-tetx)/1) !important;
}
#vc-spotify-player + [class*=container-] rect[fill="#f0b232"],
#vc-spotify-player + [class*=container-] foreignObject[mask="url(#svg-mask-status-idle)"] > div {
fill: hsla(var(--spotify-vencord-text)/1) !important;
background-color: hsla(var(--spotify-vencord-text)/1) !important;
}
#vc-spotify-player + [class*=container-] rect[fill="rgba(240, 178, 50, 1)"] {
fill: hsla(var(--spotify-vencord-text)/1) !important;
}
and
#vc-spotify-player + [class*=container-] {
background: hsla(var(--spotify-vencord-dark)/1) !important;
}
#vc-spotify-player + [class*=container-] rect[fill="#82858f"],
#vc-spotify-player + [class*=container-] foreignObject[mask="url(#svg-mask-status-offline)"] > div,
#vc-spotify-player + [class*=container-] foreignObject[mask="url(#svg-mask-status-offline)"] > rect,
#vc-spotify-player + [class*=container-] div[class^=dotOffline],
#vc-spotify-player + [class*=container-] i[class^=statusOffline-] {
fill: hsla(var(--spotify-vencord-text)/1) !important;
background-color: hsla(var(--spotify-vencord-text)/1) !important;
}
how do i get the part where the wave pauses when the music is paused but with the gradient from the earlier snippet that doesn't override the lower section (with username, mute, deaf, etc.)?
in case anyone reads this please ping
@flint oak you mean the profile container goes back to normal when music is paused?
i wish for the wave to stop being animated but also without the colour overtaking the entire profile (like the image attached)
In that case it would be the first snippet that I sent
The original one, not any of the snippets sent in this thread
well uh , #🎨-css-snippets message
this one?
it's a bit confuzzling that search also searches threads
but uh when i pause it with that one the thing turns white?
but i want the gradient!
so you want to kind of mix and match all the snippets together?
i will have to find the old gradient snippet again then
this also swallowed the colour of the status icon
- fixed, update, up
- linux, l
- mac, darwin, m
- moreinfo, more info, mi
- reinstall, redownload
- windows, w, win
i did the color invert logic to differentiate between the states play and paused
because I kinda like it that way
'tis kinda bright compared to the amoled theme
you can always change colors up
i will try to work on it
but it will take a while
this color combination for example doesnt feel that bright to my eyes
taste 🤷
thamnk
it'd be best if these would be somehow laid out on a more organised basis
take your time ig
How to make it so that when it's paused, the user and the settings, mute, deafen, etc. icons are coloured like when playing
This
And also this
do i need to replace it or change it
You will need to find the corresponding old code and replace it with the new one
All of these are new ones?
iirc the original version only has them with the prefix body:has(vc.spotify-pause)
so in that case they are new yeah
I am a bit confused
I tried to replace them, but some of them were the same
It means that you paste the mentioned code on top of this existing coelde
You will get 2 snippets of almost similar code, but one triggers when Spotify is in play, while other one does when Spotify is paused
I know I am a pain in the ass but if you can make it and send it to me that would be very much appreciated if u can't its okay cos it tryed and it won't work
Any way to make it so that the wave wont overlap and the border for channels is bigger?
yeah I see, the problem stemmed from the VC fix snippet
a solution I can think of now is keeping the buttons at the same color regardless of pause/play
but the settings buttons are now fine
I will send the code again in a separate snippet
i don't know how to publish there yet
lmao
the wave will overlap no matter what
i cannot fix that
i will post the full snippet again soon
.sidebar-1tnWFu:has(#vc-spotify-player) ul[aria-label="Channels"] > li:last-child {
padding-bottom: 20px;
}
thank you for saving my life
ooo nice. Is there a way to do this for the "Show All" button too like in the screenshot?
padding-bottom: 20px;
}```
Tried this but it didn't work (don't have any knowledge of css but just gave it a shot
div#channels {
padding-bottom: 20px;
}
i assume this doesnt work on betterdiscord because vencord's spotify plugin is different from devilbro's?
of course
I will continue working on spotify vencord over the weekend and hopefully release the fixed fixed fixed final version
/*custom colors in confywave 2*/
:root {
/* Change colors here (in HSL) */
--spotify-vencord-color: 213, 19%, 36%;
--spotify-vencord-text: 210, 8%, 85%;
/* Spotify Vencord color theme */
--spotify-vencord-wave-width: 240px;
}```
any idea why?
Don't put commas between HSL values
@dreamy robin Keep it as 213deg 19% 36% and 210deg 8% 85%
oh ok
Hmm?
I will see to it once I get home
@dreamy robin hmmm i don't see any flats over here
hmm
You can try adjusting this value until you no longer see any flats:
#vc-spotify-player::before {
margin-top: -128px;
}
anyone having no waves? persists even when theres no theme\
nevermind, i just saw it work for a few seconds and now its gone despite music playing
its messing with me (it seems to work now)
i mean itll obv break on a highly stylized theme
:3 hellpppp me check the entire thing again before I send snippet
it seems to be working
The new version is here: #🎨-css-snippets message
