#๐จ-theme-development
1 messages ยท Page 37 of 1
Thank you all so much!
It's a comfortable discordLife!
streamer mode enables automatically when you stream.. so..
wouldnt make much sense to enable it unless youre recording
another variation of this could be
[class^=channelTextArea_] [class*=sansAttachButton_] [class^=buttons_]:not(:hover) div:not(:last-child) {
display: none;
}```
which hides all buttons except emoji and shows them when you hover it
What! That's great!
Would you mind PRing that to Disblock?
I've been trying to get rid of the aria-label stuff since it doesn't work on other langs.
svg icon selecting should work in every language
How do you select a specific SVG icon though? For example the sticker picker does not seem to have a unique name or anything in the SVG tag.
div:has([d^=" svg path "])
ohh you paste the full SVG path in there :o
not the full path, but a good portion of it should work fine
This is a good last resort to avoid aria-label.

Well it begins with it as the selector, note the ^, though yeah I am trying to also avoid using the likes of aria-label really janky when it is also very language specific, i.e. discord may periodically change those labels if a better translation is offered, and those would be broken when specifying specific aria-labels
y e p
I made the aria-labels case insensitive in the theme to make it at least work when they change the capitalization (which is often apparently) but I will have to replace them entirely to allow other langs.
I have a similar snippet; show only emoji button unless clicked
.expression-picker-chat-input-button:not(:has([class*=emojiButton_]))
{ display: none; }
[class^=channelTextArea_] [class^=buttons_]:has([aria-expanded="true"]) .expression-picker-chat-input-button
{ display: flex; }
Does including the _d0696b not break it periodically?
I don't believe it does. Though hardcoding it like that can bring its own headaches down the track
yeah I usually use attribute selectors but this is just something in my quickcss that I'm not sure I'm keeping as it is or what
I might do something different which is why it's kept kinda prototype
updated with proper selector (not optimal but whatever)
need some help finding out if a dm is with a bot or not, this css basically adds an @ symbol before the username and since i can't check for discriminators as both the discriminator and username share the same span text it's hard to figure out other workarounds.
[class^=chatContent_] [class^=messagesWrapper_] [class^=container_] [class*=marginBottom20_]::before {
color: var(--text-muted);
content: "@";
}```
that is in the start of dms btw.
so you want to add a @ for users but not bots? or something?
using the bot tag on messages or the sidebar with a :has() is the way
how would i check for the userpanel and the chatcontent all in one thing though?
would i need to change chatcontent to the previous element above it?
I didn't get where you want to put the @
but I guess something like
[class^=chatContent_] [class^=messagesWrapper_]:not(:has([class*=botTag_])) [class^=container_] [class*=marginBottom20_]::before {
color: var(--text-muted);
content: "@";
}```
works
it won't work if it's a brand new DM and there are no messages, but usually bots send messages to you first
so there shouldn't be too many issues
iโd just keep it, I think it adds pizzazz
we about to have more color-mix abuse
color-mix is the best thing that's happened to css since flexbox
that works well but since the user panel also shows the bot tag how would i make it work with that?
and since the user panel is shown by default i think that would be a great addition as well to continue displaying the @ before the name on the start of dms.
[class^=chatContent_]:not(:has([class^=userPanelInner_] [class*=botTag_])) [class^=container_]``` ... Etc
I don't remember if the user panel is a child of chatcontent though
it's not
nope it isn't
[class^=chat]:not(:has([class^=content] [class^=profilePanel_] [class*=botTag_])) [class^=content] [class^=chatContent_] [class^=messagesWrapper_] [class^=container_] [class*=marginBottom20_]::before {
color: var(--text-muted);
content: "@";
}```
there you go
ofc it breaks if you close the profile panel
anyone know how can i change a container content?
so instead of showing read all i want it to show checkmark unicode
isn't it just visibility: hidden and then content: "your checkmark" in the pseudoelement?
i manage to make the read all hidden
but not readd the checkmark
โ
idk if its incompat or somth
.vc-ranb-button > div { font-size:0; }
.vc-ranb-button > div::after { content: "โ"; font-size: 14px;}
transform: rotate(90deg)
or whatever amount you want
Contrary to common belief, chatgpt isn't terrible at everything
yeah chatgpt can be a useful tool
If you can find it in two seconds on google I give it a 70% chance of getting a correct answer
oh you have some horizontal serverbar thing
try .vc-ranb-button {width: auto;}
nop its acting as its actually sideways
oh right
so width would be height
I was about to say "wouldn't that be affected by the font size" and then my goofy aah brain remembered it was set to 0

what is the css you have for the serverbar
element picker cannot pick it
[class^=listItem_]:has([class^=guildSeparator_]) {display: none;}
.vc-ranb-button { margin-bottom: 0;}
there is also a gap:10px on the whole server sidebar which also creates spaces
yeah
yeah I figured that would be the easiest solution
now for another stupid theme snippet
would it be possible to basically "merge" the friend icon with the online bar
because deleting the icon makes it so you cannot exit dm
so thats important
basically somth like this
also apparently removing this icon remove every icon too
so thats neat
anyone got a snippet to make your messages align to the right?? i found some here that use the theme attribute plugin but i cant get them to work
You definitely could've found it very easily on google like someone said there, but like this
.selector {
filter: none;
transition: filter 1s ease;
&:hover {
filter: grayscale(1);
}
}```
the &:hover being inside .class{} is equivalent to .class:hover
https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector
The CSS & nesting selector explicitly states the relationship between parent and child rules when using CSS nesting. It makes the nested child rule selectors relative to the parent element. Without the & nesting selector, the child rule selector selects child elements. The child rule selectors have the same specificity weight as if they were wit...
and transition is what makes it fade in/out
https://developer.mozilla.org/en-US/docs/Web/CSS/transition
thank you ๐
๐ discord
[class^="channelBottomBarArea_"] > [class^="channelAppLauncher_"] {
display: none;
}
or
.channelAppLauncher_df39bd {
display: none;
}
I haven't tried the one below, so the button may disappear on voice channels, etc.
i don't like to straight up hide things in case people who use my themes need them
How about moving it to the side?
i think i'll probably just give it a border connected to the message bar
im too lazy to mess with the position
.channelBottomBarArea_a7d72e{
& > .channelTextArea_a7d72e > .scrollableContainer_d0696b{
border-radius: 8px 0px 0px 8px;
}
& > .channelAppLauncher_df39bd{
margin-left: 0px;
& > .buttonContainer_df39bd > .button_df39bd{
border-radius: 0px 8px 8px 0px;
}
}
}
Seems odd that the bottom right is not a submit button.
is that part of visual refresh?
wtf happened
this is even worse looking than before
no css enabled
like wtf is that "white" in the leave vc button
darker is much better at least
what even makes the activity icon appear?
I almost never see it because i have to right click the upload button to see it
no clue but its just there always for me now
must be one of their experiments
yeah ig
wait this app launcher just replaces your chat with /
that other app launcher is actually kind of cool
but it should be in this context menu
ive hit my gpt 4o limit so cant use him rn
can someone help me debug stuff?
.channel_c91bad:nth-child(2) > div,
.channel_c91bad:nth-child(4) > div {
display: none;
}
/* Ensure the container is relatively positioned to contain the absolutely positioned elements */
.channel_c91bad {
position: relative;
}
/* Make original elements invisible */
.channel_c91bad:nth-child(2) > div,
.channel_c91bad:nth-child(4) > div {
visibility: hidden;
}
/* Create and style new buttons */
.channel_c91bad:nth-child(2)::after {
content: 'Friend'; /* Customize the button text */
background: var(--background-tertiary);
color: white; /* Adjust text color as needed */
padding: 10px 20px;
border-radius: 5px;
text-align: center;
cursor: pointer;
display: block; /* Ensure the new buttons are block-level */
position: relative;
z-index: 10; /* Ensure the buttons are above other elements */
}
.channel_c91bad:nth-child(4)::after {
content: 'Request '; /* Customize the button text */
background: var(--background-tertiary);
color: white; /* Adjust text color as needed */
padding: 10px 20px;
border-radius: 5px;
text-align: center;
cursor: pointer;
display: block; /* Ensure the new buttons are block-level */
position: relative;
z-index: 10; /* Ensure the buttons are above other elements */
}
/* Ensure they are side by side */
.channel_c91bad:nth-child(2),
.channel_c91bad:nth-child(4) {
display: inline-block; /* Display side by side */
}
/* Add margin to the container to avoid overlap */
.channel_c91bad {
margin-bottom: 0px; /* Adjust based on the height of the buttons */
}```
the button shows up
but i cant click it
Friend is well friend
and request is msg request (i would use the svg icon but idk how)
its a modification of #๐จ-css-snippets message but one that fits my horizontal server list more
I've tried applying CSS.
Request was not displayed.
How do you set up "Privacy & Safety"?
possible but hacky and unstable
so i dont recommend
trying to shift the typing down by 3rem
it works for normal message
but when replying it doesnt
the typing shift up when replying
but i cant separate the normal one and the one when replying
.typing_d7ebeb{
top: 3.5rem;
}```
idk what else to do
apparently its just
position: static;
}```
i still need help with this one tho
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8{
& > .channel_c91bad:nth-child(2){
width: 50%;
height: 7%;
& > .interactive_f5eb4b{
height: 100%;
& .avatarWithText_c91bad{
& > .avatar_f9647d{
width: 12px;
height: 12px;
margin-right: 4px;
}
& .name_f9647d{
font-size: 12px;
}
}
}
}
}
How about this?
positioning and all that worked
but i still cant click the button
oh wait
i can
just it has to be on the text
well i guess this works if i just scale up the text
now to figure out the positioning
I don't think the pseudo elements are clickable?
ok ig they are
try using padding maybe
i did something
and now they work
but god what the fuck happened with the rest
display: flex;
flex-wrap: wrap; /* This allows multiple lines if there are more than two items */
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2),
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) {
width: 50%;
height: 1%; /* Adjusted height */
display: flex;
align-items: center; /* Centers content vertically */
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2) > .interactive_f5eb4b,
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) > .interactive_f5eb4b {
height: 100%;
display: flex;
align-items: center;
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2) .avatarWithText_c91bad,
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) .avatarWithText_c91bad {
display: flex;
align-items: center;
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2) .name_f9647d,
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) .name_f9647d {
font-size: 12px;
}```
help me
sent
what are you trying to do?
it's doing this for me
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8{
& > .channel_c91bad:nth-child(2){
width: 110px;
height: 7%;
& > .interactive_f5eb4b{
height: 100%;
& > .link_c91bad > .avatarWithText_c91bad{
color: transparent;
}
&::before{
position: absolute;
content: "text";
width: 110px;
text-align:center;
font-size: 16px;
color:var(--channels-default);
pointer-events: none;
}
&:hover::before{
color: var(--interactive-active);
}
}
}
}
How about this?
sec
.channel_c91bad{
margin-left: 0px;
}
.channel_c91bad:nth-child(1) {
display: none;
}
.channel_c91bad:nth-child(3) {
display: none;
}
.privateChannelsHeaderContainer_c47fa9 {
display: none;
}
.divider_fc4f04 {
margin-right: 0px;
margin-left: 0px;
}
.searchBar_f0963d {
display: none;
}
.titleWrapper_fc4f04 {
display: none;
}
.avatar_a7d72e{
display: none;
}
.searchBar_f0963d > button {
visibility: hidden;
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 {
display: flex;
flex-wrap: wrap; /* This allows multiple lines if there are more than two items */
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2),
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) {
width: 50%;
height: 1%; /* Adjusted height */
display: flex;
align-items: center; /* Centers content vertically */
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2) > .interactive_f5eb4b,
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) > .interactive_f5eb4b {
height: 100%;
display: flex;
align-items: center;
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2) .avatarWithText_c91bad,
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) .avatarWithText_c91bad {
display: flex;
align-items: center;
}
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(2) .name_f9647d,
.sidebar_a4d4d9 > .privateChannels_f0963d .content_eed6a8 > .channel_c91bad:nth-child(4) .name_f9647d {
font-size: 12px;
}```
heres the full css
this reverts back to the original issue of
the concept is like this
you might need both of these actually
so that you can see what im trying to do
i mean yeah it works but with my very specific css combo it causes chaos
display: flex;
flex-wrap: wrap; /* This allows multiple lines if there are more than two items */
}```
something with this
using this sort of works, but i don't really like using translate for this
i guess if it works it works?
and display: none on shop and nitro menu
and use something like this for it instead of like i think nth-child you had before?
(mostly taken from #1267811367310590063 message, but i also think i used this selector before)
[role="listitem"]:has([href="/store"], [href="/shop"]) {
display: none
}```
I didn't make selectors for the friends and message request buttons bc just was testing, and i'm tired and gn
yeah that works for removing the nitro and shop
.sidebar_a4d4d9 > .privateChannels_f0963d{
& > .searchBar_f0963d{
display: none;
}
& .content_eed6a8{
& > .channel_c91bad:nth-child(2){
width: 110px;
height: 7%;
& > .interactive_f5eb4b{
height: 100%;
& > .link_c91bad > .avatarWithText_c91bad{
color: transparent;
}
&::before{
position: absolute;
content: "text";
width: 110px;
text-align:center;
font-size: 16px;
color:var(--channels-default);
pointer-events: none;
}
&:hover::before{
color: var(--interactive-active);
}
}
}
& > :has([href="/store"], [href="/shop"]){
display: none;
}
}
}
How about this?
Try using only the "Horizontal Server List"
i think i already found the solution
soo much tinkering and the code is kinda dirty but it works
nicely working
how could i change this to fade into transparent instead of a full solid color?
visual refresh is cool but damn some of the changes is stupid
what I did was make it scroll away
[class^=sidebar_] [class^=container_]:has([class^=header_]) { position: static; }
also did this to make the image not zoom and took out the weird shadow from the top of it away
[class^=bannerImage_]::before { display: none; }
[class^=bannerImage_] { transform: none !important; }
maybe?
Platform icons? (youtube, twitter, reddit etc...)
probably, but if youre using them to show a link to their website im sure it falls under some fair use thing
hmm, you have a good point
think i like what i did here
combined the image not zooming and the server name fading
also shifted up the buttons
background: linear-gradient(to bottom, black 70%, transparent 100%);
border-bottom: hidden;
}
#channels > ul > div.container_c29ea9 > div.buttons_c29ea9 > div > button{
background: transparent;
transform: translateY(-10px);
}
#channels > ul > div.container_c29ea9 > div.buttons_c29ea9 > button {
background: transparent;
transform: translateY(-10px);
}
#channels > ul > div:nth-child(3){
display: none;
}```
idk who wants this but hey
how tf do I use multiple paths for the same border-image
atp I can set a pseudoelement instead of border-image
is there a way to add an options tab to your theme? such as different background images and such
Does anyone know how to hide this new Activites button? I am already using CSS to hide the rest but now they added this button and there is also empty space between the Activities and the Emojis buttons
[href="/store"], [href='/shop'], button[aria-label="Send a gift"], [for="burst-reaction-toggle-button"], [class*="nowPlayingColumn"], *[aria-label*="sticker"], [aria-label="Help"] { display: none; }
This is what I'm using as CSS now
Also does anyone know how to get rid of that tiny little triangle at the top of the channel list above the server name? ive been trying and cant find it
not currently maybe in the future (usercss feature is pending)
right now the best way to provide options is using css variables in a :root section the user can copypaste to quickcss and customize there
you can disable the experiment
Where is this setting?
enable experiments plugin -> look for "app launcher" -> set to not eligible
Perfect, it worked, thanks!

fuck svg's
we go with png's

cant u merge the 2 paths into 1 using inkscape or smthng
im pretty sure i did that once
I tried using Inkscape earlier, but couldn't find the option
mf keeps yelling at me
make sure u select all the paths u wanna merge and then press this
it breaks 
oh probly because the triangle is a white triangle rather than an empty triangle, so it just replaces the fill
how can i inspect the element
if when i click away it disappear
F8 doesnt work while using search func
ye
now that's interesting
all i wanted is to overflow: visible; on all these
cascading
oh shit i cooked
wait sorry that one was messed up, this one is good
add break on: subtree modifier to the element
and it will F8 automatically everytime it changes state
Svgs are my specialty
do you write svg
half the battle is done
I know how to use svg with css
but do you know how to write svg
based
i been using illistrator my whole life for svgs and stuff
incase whoever wants to edit these text they are
.option_b0286e, .option_b0286e strong, .option_b0286e span
Why are you fonting every single element
Instead of just changing the font variable
:root {
--font-primary: sans-serif;
--font-display: sans-serif;
--font-headline: sans-serif;
--font-code: monospace;
}
There's also --font-clan-body and --font-clan-signature, but they seem unimportant
how can i load up google fonts without havin em installed
nice
is that whole thing really just to find how many n*n is
Could be optimized, but if it works, what's the problem?
its too fast
I mean looks fast enough yeah https://godbolt.org/z/q4f4j1eYn
the compiler just optimizes it lol
i really spent this whole day doing css
@solid ore Sorry for pinging, I just noticed your ruleset causes severe performance drop when voice chat is opened
combined with catppuccin (of course it's not yours but still gonna mention) and it's lagging heavily
it could be false positive though, for some reason it lags only in one specific channel, which is very weird it causes issues in any voice channel, especially when resizing them
which theme
HideNitroUpsell
gimme a sec to get to my pc
wdym resizing
typing as well
I have zero clue if it's local problem, it didn't happen before
Say, have you updated your css recently?
that's when I started feeling it, huh
so when u have vc chat open?
yeah and you can clearly tell the performance drop when you resize the chat sidepanel
has anyone made a snippet for reverting profile picture to the old size before visual refresh?
i can only manage to get the pfp part working
but the avatar deco doesnt follow it
and somehow changing that manually just never right
can u send the catpuccin theme so i can try to replicate the issue
for reference
sure, @import url("https://catppuccin.github.io/discord/dist/catppuccin-mocha-mauve.theme.css");
Oh boy, I think the problem is not caused by vc chat but by voice channel window with members and stuff
but typing in chat also causes freezes and stuff
by voice channel window with members and stuff
wdym
i cant replicate it
I don't know...
but inactive channels don't have that performance drop
only with several people in it or something
no idea why
I think :root{ --custom-message-avatar-size: 40px !important; } should be enough
not sure if 40px was the size before
hm nope, there is still no white here
thank you for trying anyway, appreciated
still wip, but it's already at a good point
might have to rework the code a bit for further customization
asking this again, does no one know how to get rid of that triangle gap above the server name/discussion search?
That'd be a border-radius on something
thank you SO MUCH
thoughts on this?
it looks good but the youtube and channel name arent aligned, and have different font weights & sizes
i think the brighter red that u have now is nicer tho

I switched to the actual youtube red, it's way better than the other one
btw you don't want to see the code for this, it's messed up

we love manual adjustments
um.. how do i use this to benchmark nested css? ๐
put ths css in backticks `
`
that
there
hmmm, can I "clip" an element to prevent a part of it from showing?
wdym?
1 sec, I'll send an image
resolveNestedSelector(css code, node) ?
since in Twitch embeds there is always the "- Twitch" part at the end, I wanted to clip it from the element width
oh wait you replied to that github repo i sent
idk how to use that
something like a width: calc(original width - the thing's)
yeah cus the original one only does the first selector
but in the message i replied to (which doesn't work with nested selectors), it's
benchmarkSelectors(`css here`)```
after pasting in the snippet
but yeah idk how to use that one
did you download it with npm?
yeah i (eventually) figured out how to use that one
no i just define the function in the console every time i use it..
that won't work?
because it's not a function yet?
misunderstood and also thought we were talking about the github repo
oh wait it doesn't even have the npm install command
idk what u mean, i define benchmarkSelectors by copypasting the js
oh im talking about the https://github.com/csstools/postcss-resolve-nested-selector
oh yeah that one gives errors when i tried to use the js in the example
yeah i don't think you can just copy and paste it
ig this is what to use for npm?
can someone test this snippet on Windows 11? It should turn this:
Into this:
But I'm running Win10 and am too lazy to spin up a VM right now lol
div[class*="titleBar_"] {
height: 0px;
}
div[class*="wordmark_"] {
display: none;
}
div[class*=winButton_] {
top: 13px;
transform: scale(1.6);
padding-right: 4px;
right: 4px;
-webkit-app-region: no-drag !important;
}
div[class*=winButton_]:hover {
color: var(--currentColor);
background-color: transparent;
}
/* small hack to avoid https://github.com/electron/electron/issues/1354 */
[class^="winButtonClose_"],
[class^="closeButton_"] {
-webkit-app-region: no-drag;
}
div[class^="upperContainer_"] {
-webkit-app-region: drag;
width: calc(100% - 96px);
}
/* revert offset when sidebar is open */
div[class*="threadSidebarOpen_"] > div > section > div[class^="upperContainer_"] {
width: 100%;
}
seems to work
sick, thanks
can i dm u about this quickly
i j dont wanna spam the chat with me being dumb
(but i'm dumb too, so i need someone to help me help)
are you guys trying to benchmark nested selectors
yeah
if you figure something out pls let me know
unnests your selectors
pls do lol
is it that bad?
i mean it would just make it easier to benchmark
well yeah, that one's a given
thats the only thing id use an unnested version for
pls no
make something that generates an unnested version instead
that certainly is wires
can I use max-width alongside width?
max-width: fit-content; width: calc(100% - 30px);
something like this
i think so?
did you do that manually?
Yeah, and it was horrible
I tried but didn't quite work, I'll look at it more tomorrow
Yeah, but I must have a dynamic max-width
Because twitch usernames all have different lengths
tryna figure out if theres a way to alter this code so the message bubble only include the text thats in the message, but leave out the username and timestamp
rlly shit visual example
I have a question related to css and this is related to performance but is there a difference in calling like all the children classes rather than just calling it directly?
Like performance wise is it better to get uhhh all the classes to the path you want rather than just calling one specifically
like [class=โclass1hereโ] > second element call here
Idk how to explain it sorry
I often use hierarchical way of selecting classes and i don't really recommend it. Simple direct selector would be better.
.class1here {
display: block
}
is better than using this
.parent > .somediv > .class1here {}
but for some cases, you could also use it for specific parent class.
//different style of .menu-item for specific parent class.
.navbar ul .menu-item {
color: blue;
}
.footer ul .menu-item {
color: gray;
}
but use however many classes you need to get a selector that doesn't over select
(like just .class-123 might select more than you think, but doing .class-456>.class-123 might be fine)
(also :has() is pretty good)
:root {
--folder-icon-1: "๐ค";
--folder-icon-2: "๐ฅด";
--folder-icon-3: "๐";
}
[class*="guilds_"] > [class^="tree_"] > [class^="scroller_"] > div:has([class^="wrapper_"] > [class^="expandedFolderBackground_"]) {
& > .wrapper_bc7085:nth-of-type(1) {
--folder-icon: var(--folder-icon-1);
}
& > .wrapper_bc7085:nth-of-type(2) {
--folder-icon: var(--folder-icon-2);
}
& > .wrapper_bc7085:nth-of-type(3) {
--folder-icon: var(--folder-icon-3);
}
[aria-owns^="folder-items-"] {
& > [class^="folderIconWrapper_"] {
/* ใใฉใซใใผใฎ่ๆฏ Folder Background Color */
background-color: var(--background-primary) !important;
/* ใใใฉใซใใฎใใฉใซใใผใขใคใณใณใจใตใผใใผใฎ็ธฎๅฐ็ใขใคใณใณใ้่กจ็คบใซ Default Folder Icon & Reduced version Server Icon */
[class^="closedFolderIconWrapper_"],
[class^="expandedFolderIconWrapper_"] {
display: none;
}
/* ใใฉใซใใผใฎใขใคใณใณ Folder Icon */
&::after {
position: absolute;
content: var(--folder-icon);
top: 12px;
left: 8px;
font-size: 24px;
}
}
}
}
I don't understand why the cat icon appears
Am I doing something wrong?
this variable doesn't look like it's defined
It should be possible to define it using ".wrapper_bc7085:nth-of-type(n)"
oh wait i didn't see that mb
I read mozilla's ":nth-of-type()" documentation and recognized the following
I think ".wrapper_bc7085:nth-of-type(n)" is calculated using only "wrapper_bc7085".
But it doesn't work.
is this what you mean?
I think ":nth-child" is calculated only for a specific element.
i'm not sure why it isn't working
i haven't ever worked with nth-of-type, but from reading the mdn docs it seems like this should work
also i think it would maybe be a bit cleaner using some nested for the nth-of-types, but it only matters for making the code easier to work with, it won't affect the result
& > .wrapper_bc7085 {
&:nth-of-type(1) {
--folder-icon: var(--folder-icon-1);
}
&:nth-of-type(2) {
--folder-icon: var(--folder-icon-2);
}
&:nth-of-type(3) {
--folder-icon: var(--folder-icon-3);
}
}```
Thank you
[class="border_ba4b17 speaking_ba4b17"] {
height: 1000px!important;
width: 1000px!important;
background-color: green;
color:green;
opacity:0.5
}
[class="border_db83a2 speaking_db83a2"] {
height: 80px!important;
width: 80px!important;
background-color: green;
color:green;
opacity:0.5
}
[class="userAvatar_ac3629 avatar_d80634 avatarSmall_d80634 avatarSpeaking_d80634"] {
height: 30px!important;
width: 30px!important;
background-color: green;
background: transparent;
color:green;
opacity:0.5
}```
makes it easier to see who's speaking in call by adding a green bg 
Why are you doing selectors like that
Why are you using attribute selectors with plain class names?

- use attribute selectors
- useless attribute selectors

Doesn't watch to match things with additional classes or reordered? Or probably just has no idea what they're doing
I bet on the 2nd one
I bet on a 3rd option that will shock everyone and go down in history
Reminds me of when I first started writing stuff 
I just donโt know really
"it was revealed to me in a dream"
Attribute selectors okay thank s
God came to me and said "go forth and attribute selector"
Dreams are somehow even less reliable than chatgpt
Attribute selectors? Yeah I sure hope they do

Can someone show me an example of how it should properly be done
Doubt
[class*="userAvatar_]
or
.userAvatar_ac3629
And for multiple classes, use separate selectors
performance wise is there a major difference in this change or
i do see the point you're making
Class selectors are faster than attribute selectors, but probably not by a margin you'll ever notice
[class*=] selectors have the benefit that they don't break every month
I'm a newbie too, but this site was helpful.
https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
ugh, why does discord always have to break something when they add new stuff
and you gotta be really specific when doing attr selectors otherwise something funny is gonna happen
i learnt that the hard way thisisfine
@mystic cove can you try this one
https://raw.githubusercontent.com/tom22k/discord-css/main/Themes/HideNitroUpsellPerformance.css
i removed the heaviest part which only affects 1 rare thing
but tbh it wasnt even that intensive, there was only one selector above 0.1 ms at 0.13 ms, granted that did jump to 0.4 ms in that vc but its still not that much
๐คท dunno why it done that, but that made it unusable especially when I type
lemme try
meanwhile that catpuccin theme has 64 selectors over 0.1 ms
if a snippet causes perf issues it's not necessarily due to selector parsing taking time
the problem still persists. I have 0 clue what does it
lemme disable everything but it
okay without it it's running fine
Now I enable catppuccin (which, I probably needs an update maybe)
Okay I've noticed that resizing whole window does the same performance drop (it does not without themes)
I've noticed it takes a lot of time to recalculate styles, less time with catppuccin of and very little with nothing
it happens when I resize, so here is that, what it takes long to calculate is beyond me
what cpu do you have
its not like the styles are doing anything crazy, its mostly display nones and pointer event nones
maybe theres too many pseudo elements(?)
the only selectors I can quickly see that might need recalculating when resizing window might be these
those will have to check a bunch of elements in channellist
i5-10400F
I'd say it's not the worst CPU
but it def start struggling when one of those enabled
I will copy these lists and will try to disable server shop and progress bar
idk if theres anything more i can do with the progress bar selector, the server shop one can be a bit better but only as good as the progress bar one
doesn't seem to be ยฏ_(ใ)_/ยฏ
having issues with mutual friends right now and the issue seems to be caused from this idk how to traceback the issue but i know it's from one of my plugins
basically it fixes the issue im having im able to message, and add them but i can't escape the avatar viewer
jusst completely bugged its some kind of frame placement
and if i removed that then i can't click out of the user profile
none of the buttons are clickable with that
it's some kind of frame disrupting my clicking actions and idk the source of it
[class^="layerContainer_"] > [class^="backdrop_"] {
display: none!important;
}```
this is the only fix as of rn for it everything works except for when i click on someones avatar, i'm stuck in that menu even if i left click
@mystic cove can u try this one^ again? i removed the pseudoelements instead since theyre the most heavily styled things
anyone know?
Still doing that
I believe you can make CSS profiling, lemme see if I can do it
You know just .notice_c02a8d would be enough, right?
lmfao
say, how do you change the icons (the theme i used to get the old icons broke today, i'm trying to fix it myself)
Check how that theme does it, and do something similar
ah k
think i know why the icons broke
it's because of the new update add the activities
incase something broke
id rather be very specific
Your selector is super fragile
The class name will break when they reroll hashes
That thing will break if they change like, anything on the site whatsoever
cringe
I say the update that pushed this shit broke some stuff

thanking god i havent gotten that experiment
just force disable it on discord experiment
I'm trying to revert it tho
It's coming soon, dw
yeah but, i don't know the name
of it
Just
[class^=channelAppLauncher_] {
display:none
}
didn't work
Well that simply hides the app launcher button
It's not reverting anything

ughhhh
does anyone know what the yellow thing on the right is? padding and margin are already set to 0
Check the 2nd tab in devtools
I don't remember the name
Basically where you can see borders, paddings, margins etc
hmm
I'm pretty sure it's only this tab right htere
that's the only things that are broken
Yeah
They probably changed some stuff around there
Also because of the incoming redesign
?
it says its padding but all the values are 0
i thought the redesign that was in the survey wasn't coming for a long time
is this a different redesign
Odd
hopefully oldcord gets updated when this drops, i do NOT want to deal with the new ui lol
why the fuck did this show up again
anyways, maybe that changed the icon names?
display: none
}```
did they break this
just do [href="/store"] and [href="/shop"]
its from #๐จ-css-snippets
that doesnt mean u cant change it
i was just following
[href="/store"] and [href="/shop"] is enough
i still dont understand css fully other than selector
does anyone know the internal icon file names
?
does this have any relation
Yop
oh yeah, they changed the class for the buttons at the bottom to .button_adca65
You copypaste them from somewhere else mostly
oh ok
now all i need to is to fix the icon theme...
say how do i replace icons again
i give up i can't read code
Hi, sorry that I can't help you..but I'd like to know the font you are using here please :)
wtf
Comic Sans MS
--font-primary: 'Comic Sans MS', sans-serif;
--font-display: 'Comic Sans MS', sans-serif;
--font-headline: 'Comic Sans MS', sans-serif;
--font-code: 'Monospace', monospace;
}```
Although i changed a lot for the font spacing
Hence why most of it looks soo tightly packed
okay i'll try having another look some other time, in the meantime this is the link u can use from right before it started causing issues
https://raw.githubusercontent.com/tom22k/discord-css/bdd753dcfc88d3164b1d09fa9627f79bfd66405a/Themes/HideNitroUpsellV2.css
thanks! Also, how did you change the spacing etc?
I forgot but most of them are just removing spscing
Im not on my pc to check which unholy things i did
alright, thanks anyway i'll try
is it possible to disable specific avatar decorations with css while not killing performance accidently
people who use the free avatar decorations like this is so annoying i cant even see their pfp
visibility: hidden'ing it wont cause that much of issue or should i make a different approach
You could use this (no idea if it needs updating)
#๐จ-css-snippets message
mm
still making selected ones not show is a better solution for me so
ill probably do that and test the performance
last time i visibility: hidden'd something my rams was 3 gig+ because of it
Use this, adding the selected decorations instead of the clown one
do i have to use avatar decoration links or
Yes
can i select them with css selectors
[src^="add decoration link here"] {
img[class*="avatar"]& {
display: none;
}
}
To add more decorations to the blacklist, copy the first element and separate them with commas
i had enough braincells to figure out that but ty ๐
Open devtools
Select the element you want to hide
Look for the asset link
Absolute win

sry to ping but causes issues
i mean it works but gives a error indicator + makes the snippets after that not work
added a "}" at end i didnt see it sry
im too blind i guess
Uh
I don't think that & is meant to be there
can anyone help me get this things class? it's rlly hard to find and ctrl+shift+c only works if inpect is focused
what thing
forgot to send the img
mb
it's the thing that appears after you hover a timestamp it's impossible to select
it is
the issue with those are that there are many hover popup things that pretty much share the same classes etc
well that's fine i want all tooltips anyways
i just couldnt select it even in browser
protip: use f8break plugin
it freezes discord allowing you to inspect things that only show up on hover or something
for popups you still have to find them in the dom tree though in the layercontainers because inspect button doesn't see them due to no pointer-events I'm guessing
oh alr thx :D
This is some of the most cursed CSS I've ever done I think.
ul[aria-label="Channels"]:has( > div:nth-child(2 of [class^="sectionDivider"])) {
& div:nth-child(1 of [class^="sectionDivider"]) ~
:not(
ul[aria-label="Channels"] >
div:nth-child(2 of [class^="sectionDivider"])
):not(
ul[aria-label="Channels"] >
div:nth-child(2 of [class^="sectionDivider"]) ~
*
) {
display: none;
}
& div:nth-child(1 of [class^="sectionDivider"]) {
display: none;
}
}
wtf is :nth-child(2 of [class^="sectionDivider"])
never seen that before
oh that is a thing now?
It's a very funny way of checking if an element has 2 or more divs with a [class^="whatever"] property.
This snippet should hide the "suggested" section.
Pro tip, don't use a has with a nest
that's actually very neat
Universal selector
It's very shaky since it doesn't actually know anything about the "suggested" section, it just assumes that whatever is between the first and second divider is that.

Can I coin the term for nested css :has() bomb?
Go on.
Thanks
not really, what are you trying to do
change the background opacity of roles
Also I don't think I nest :has anywhere there?
You can do opacity or background/background-color with rgba
Sorry it's 3 AM I barely function. 
The first line
yeah but to keep the original color it's much trickier
that would conflict with it's children and also rgba would overwrite it's original color
do you have colored backgrounds on roles
also good news! i found out the class for all interactables :3 (all buttons)
.app_a01fb1 button
yes
Can you elaborate on why, then.
is it done with a theme/snippet because they're not colored by default
Idk how to explain
not to my knowledge considering i made this theme
Cause I don't know the terminology
When you nest into a :has() selector, you're writing a new :has() selector for each child in that nest or whatever
So that can quickly get out of hand
For example my snippet which has like 50 :has() selectors in scss, that equates to 250 :has() selectors in css
Because of how I nested
Oh, you mean like that.
Yeah
Hmm, the output of that is 2 :has which is I think the minimum you can achieve this with. But I'll keep that in mind yea I've noticed sometimes it just explodes.
Good to look inside of the actually processed CSS from time to time. 
Definitely yeah
Wait nvm you can just , the second part instead of & I think.
Still makes it two though so.

it looks like this (you can see my problem with the opacity Lol)
do they show up like that with no themes/quickcss
oddly enough no, i tried searching through my theme but i cant see anything that changes roles at all
would you like the css file to look at it maybe?
sure
just put it here or dm?
put it here
yeah it's part of clearvision
really? do you know of a way to change it at all?
yeah
[class^=roleCircle_]::before { opacity: .2 !important; }
turn that opacity up
oh needs !important
that seemingly did actually nothing
really
is it possible to change href tags with css?
like wrapping an after element with an anchor tag or using some fancy property?
USER ERROR I OVERWROTE IT
what is it you're trying to do
From what you're describing, no
,,,so i've learned that one is a bad thing, maybe i can darken it?? i'll try that
You can't change html using css
in a literal sense
adding a button here that will redirect me to a server that is in a folder (i cant take the server out of the folder cause then, i have to scroll to see all my folders which is a mild inconvinience
yeah not possible
thats what i thought, just wanted to see if there was something i overlooked
you could try playing with filter on those, or for white roles specifically you can override the color
in the case of the roles here the rolecircle has background-color: rgb(196, 201, 206); so you could make an exception for those but any color value that isn't an exact match you'd need to keep adding exceptions for..
so a filter might work better
oh wait that is fucky
I use this to brighten names just to give you an idea https://github.com/nvhhr/discordcss/blob/main/snippets/namebrightener.theme.css
the roledot is OVER the text
so what i wanted is actually just impossible
unless you can change it's z layer with css
you can
really? :0
[class^=roleName_] {position: relative;}
ur a lifesaver, with a few edits and testing i managed to get it looking great :D
anyone got a snippet for the avatars when people are typing in the channel list, kinda like the first pic, but for the chat typing? (for the typing indicator on the second pic) Thank you
you mean to show avatars there? there's a plugin for that
yep, enable the F8Break plugin if you haven't yet, open devtools and hover over a message, press F8 and then you can select the element
if anyone ever just wants to remove the nitro button in it's entirety, you cant just use its list uuid since it changes all the time, so just use this, because fuck marketing :>
a.link_c91bad[data-list-item-id*="nitro"] {
display: none !important;
}
Is there a list of CSS "custom properties" that are changed by this plugin?
https://github.com/Vendicated/Vencord/tree/main/src/plugins/clientTheme
Resolved.
Lol
I am trying to make it easier to understand accounts that are logged in.
Is there a way to override Discord's CSS custom properties with CSS?
Is it only possible to override properties individually as follows?
#app-mount {
&:has([class^="avatarWrapper_"] > [aria-label^="a2e1d3857de6128b2c833a35dc1c30e0"]) {
& .bg_d4b6c5 {
background-color: red;
}
}
}
To be more specific, I would like to rewrite "--primary-100" in "https://discord.com/assets/12633.b083a624c2b12626188a.css".
you can use the !important selector to accomplish this. for your use case, you would add :root { --primary-100: red !important. you can change the root selector to be whatever the variable belongs to (it usually will belong to the root element) as well as changing the property (red in this example) to whatever is desired.
Like this?
#app-mount {
&:has([class^="avatarWrapper_"] > [aria-label^="a2e1d3857de6128b2c833a35dc1c30e0"]) {
:root {
--background-tertiary: red !important;
}
}
}
you dont need any selectors outside of root
Is it possible to change custom properties for each logged in account without using a selector?
What I am trying to do is thus.
To change the theme for each account that is logged in.
For this purpose, I would like to change custom properties, such as background color, for each logged-in account.
My bad, I forgot to close the first selector with a } at the end
The tragedy of writing css on mobile

It is
yes
you'd use :has() with the avatar here
probably using the aria label ([aria-label^=obsidianninja11] for my username)
and use variables
so something like:
/* my main account */
:root:has([class^=panels_] [class*=avatar_][aria-label^=obsidianninja11]) {
/* vars here */
--background-var-1: #112233;
--background-var-2: #223344;
}
/* my alt account */
:root:has([class^=panels_] [class*=avatar_][aria-label^=obsidianhydar]) {
/* vars here */
--background-var-1: #556677;
--background-var-2: #667788;
}```
(except use the actual vars)
It worked.
Thank you!
Either aria-label or the id in the avatar
If you want to avoid aria-labels
But I don't think that one is causing issues with different languages
well this aria-label won't change with language
and i only found the id in the avatar image which is a bit annoying
this just seemed better

I think it causes problems in streamer mode.
Possibly
I tried it and it didn't give me any problems.
Then everything is fine
but ig if you do change your username, you could use
:root:has([class^=panels_] [class*=avatar_][src*="/683171006717755446/"]) {
/* vars here */
--background-var-1: #112233;
--background-var-2: #223344;
}```
well you could use `[src^="https://cdn.discordapp.com/avatars/683171006717755446/"`, ig, but just `*=/userid/` would be fine too
with the 683... being user id
I'm going to try to make it look like this
:root {
--custom-background-color-1: red;
&:has([class^="panels_"] [class*="avatar_"][aria-label^="a2e1d3857de6128b2c833a35dc1c30e0"]) {
--background-tertiary: color-mix(in srgb, var(--custom-background-color-1) 50%, black 50%);
}
}
oh for your username it might be shorter to use userid lmao
it still lags
could it be some discord update
Did I forget it lagged before?
By the way, this froze my discord until profiling ended, so I cannot check what took so long
i think there was one recently so yeah probly that then
anyone knows why custom titlebar makes discord non-double click able
you know when you double click something it full screens
yeah it doesnt
Because custom titlebars always neglect to implement half the standard functionality
One of many reasons why custom titlebars universally suck
works on my machine.jpg
anything i can "change"?
Certainly not with css
Css does not control functionality, no
so how can i possibly "fix" this?
Angry letter probably
I don't understand why the color changes when the same color is specified for the background color.
Is there any way to fix it?
It also changed when I hovered.
Well, where are those variables changed?
The friend tab variable has been changed in my CSS
Online tabs are modified with the following CSS
https://discord.com/assets/12633.8ed2be6ef1a73fdf550b.css
padding-bottom: 0px;
}
.visual-refresh .markup_f8f345 {
line-height: 1rem;
}
.zalgo_f9f2ca .messageContent_f9f2ca {
overflow: visible;
}
.subtitle_d8bfb3, .name_d8bfb3{
overflow: visible;
}
.visual-refresh .form_a7d72e {
position: relative;
}
.base_d7ebeb {
position: absolute;
transform:translateY(10px);
transition: all 0.5s fade-in-out;
}
.visual-refresh .container_ee69e0{
margin-bottom: 0px;
}
.invite_f61cb8 {
top: 2px;
}
.search_a46bef .DraftEditor-root .public-DraftEditor-content {
overflow: visible;
}
.visual-refresh .search_a46bef .DraftEditor-root{
top: 4.5px;
line-height: 20px;
}
.option_b0286e, .option_b0286e strong, .option_b0286e span {
overflow: visible;
}
these are the unholy spacing i used
to achieve these word salad
oh yeah these are mostly for if you use visual refresh
i hate the spacing on visual refresh
oh hey i managed to fix it while also making it bigger
.messagesPopoutWrap_ac90a2
the actual fix is just position: fixed;
[class*=guilds_] {
transition: width 0.5s ease, padding 0.5s ease;
&:not(:hover) {
padding-left: 10px;
width: 0px;
}
}
how can i actually make this so when someone DM's me it pops up once and closes back
or at least having an indicator when i receive a dm
basically i need to trigger something when someone send's me a unread dm
i cooked something
full invite banner
height: unset;
}```
its just that lol
the rest is personal taste for the margin and spacing
is there a way to use two custom fonts at once, like one for headings and one for texts/messages something of the sort using css snippets
you can rule each element you want to use a different font to
font-family: "Webdings Regular:
}
.zalgo_f9f2ca .messageContent_f9f2ca {
font-family: Edwardian Script ITC Regular;
}```
Heres a proof of concept
wingdings for username and Edwardian Script ITC Regular for message content
--font-primary: 'FONTNAME', sans-serif;
--font-display: 'FONTNAME', sans-serif;
--font-headline: 'FONTNAME', sans-serif;
--font-clan-body: 'FONTNAME', sans-serif;
--font-clan-signature: 'FONTNAME', sans-serif;
--font-code: 'Monospace', monospace;
}
Use that for the overall font
and overwrite it using unique rule for each element you want to replace the font for
is there a way to make this a "hover to show"?
thank you!
didnt know it existed, thank you
Hover on like a pulltab looking thing to reveal the Spotify player
Rather than it just being there always
If possible make it a button click to reveal and hide
the thing already has a built in hover to reveal for the control button
maybe combine both so it reveals at same time?
works with mobile
oh hey i did it
#vc-spotify-progress-bar,
#vc-spotify-player > div.vc-spotify-button-row {
opacity: 0;
transform: translateY(20px);
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
#vc-spotify-player:hover #vc-spotify-info-wrapper,
#vc-spotify-player:hover #vc-spotify-progress-bar,
#vc-spotify-player:hover > div.vc-spotify-button-row {
opacity: 1;
transform: translateY(-20px);
}
.theme-dark #vc-spotify-player {
background: unset;
height: 5px;
position: relative;
transform: translatey(20px);
}
.theme-dark #vc-spotify-player::before {
content: "";
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-11px);
width: 20px; /* Adjust width */
height: 20px; /* Adjust height */
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l-10 10h7v10h6v-10h7z' fill='%23ffffff' /%3E%3C/svg%3E") no-repeat center center;
background-size: contain;
opacity: 1; /* Initial opacity */
transition: opacity 0.3s ease; /* Transition effect */
}
.theme-dark #vc-spotify-player:hover::before {
opacity: 0; /* Fade out on hover */
transform: translateY(100px);
}
.theme-dark #vc-spotify-player:hover {
height: 100px;
}
.visual-refresh .container_b2ca13{
height: 50px;
}```
very much a terrible job but it worksโข๏ธ
Im planning to make it says "๐ถSpotify now playing: [SONGNAME]" but
cant do this with css
well
that works .
is it a svg?
i want it so it spans the whole bar rather than just a tiny icon so it feels "full"
I bet you could find the svg icon for it online
Rather easily, actually
i would like to see someone try this on their discord
does it work without my specific discord theme
i wonder if theres a way to skip this confirmation screen (yes i can just shift click it but) with css
or is this a plugin thing?
is this the ui refresh?
css cant remove functionality
only visual stuff
#๐จ-css-snippets message
its their own "redesign"
no?
it would hide it but everything would act as if u still had it there so itd be buggy
Can someone try this on their discord pls :3
i can do it when im home if no one else has by then
is there some way i can theme pinned dms better (with colors) without resorting to this chaos? or should I make a feature request for more classes for pinned dms?
Maybe you can use currentcolor
doesn't work as the entire channel list for DMs is one huge <ul> element (each channel being an <li> and each title for a category being an <h2> element) and the color is only applied to the titles of the pins, not the channels themselves.
Oh okay
Yeah in that case the available solutions are either hardcode the colors you care about, or PR the plugin to set a css variable
Setting the color property on the <li> element doesn't have any consequences (yet?), as it is just a wrapper for a <div> which in turn sets the color. So yea that'll be good if it were set. Then for theming I could use color-mix() to mix the current color to be more transparent and i guess that's gonna be it.
On the other hand, is there something against adding an extra class to all pinned dms (and for each "first pin" and "last pin" of a category an additional class)?
trying to improve the refresh theme
how do i make this scroll correctly so the bottom items scroll above the menu
Sorry but what theme is this?
discords refresh theme
just added blur to the user panel
If you don't mind, could you share the link?
its an experiment
Oh
called something something refresh
just look up refresh in the experiments thing
Oh got it, thanks.
if you also want the darker color enable it in appearance settings
Alr, thanks again!
np
This one lags for me for some reason no idea why.
Is that because I added it as quick css or something?
might be
could also just be unoptimized css
or alot of blur elements
wich could also cause lag
anyone know how i can swap GIF and Sticker?
my muscle memory somehow thinks that GIF is after Emoji not Sticker
or was that the case?
chatGPT 4o the goat
.expression-picker-chat-input-button {
display: flex;
}
/* Swap the elements by changing their order */
.buttonContainer_d0696b:nth-of-type(3) {
order:4;
}
.buttonContainer_d0696b:nth-of-type(4) {
order:3;
}
.buttonContainer_d0696b:nth-of-type(5) {
order:5;
}```
you will need to change the nth number to fit your chat bar
it works if thats what u wanted to know
nope
since i might or might not hardcoded it to have black background
might be better to select the svg path with a :has instead
true but this is just full gpt stuff lol
so the human optimization or fixup isnt there
and it works for me so eh i dont mind
yeah but u can include it if you want other ppl to use it
This won't work if people don't have the InsertTimestamp and Translate plugins enabled
is there an easy way to get the screen width and height, like are there stored in a var or smth ?
You mean like the vw and vh units?
idk what are those ? i know there's px i know there's em, but i never heard of those vw and vh
also actually it's less the width of the screen that i want and rather the width of the element above
also vh / vw are percentage and not pixel counts
i need one which is pixel count
There's container queries too, and of course the % unit
mmmmh reading about container query but seems like pain, interesting, but can't see how i would use it
and the % unit is not px
ig my crappy solution will work for now
What do you need px for
.theme-dark #vc-spotify-player:hover {
height: 120px;
}```
anyone know why this specific element doesnt want to animate?
or rather
how can i set the height to 120px while it animate easing
animation: spotifuckoff 0.5s ease-in-out forwards;
}
@keyframes spotifuckoff {
from {
height: 0px;
}
to {
height: 120px;
}
}```
well that was easy
not the smoothest but it works
(if you know how to make it smoother pls tell)
idk if this is #๐จ-css-snippets worthy but eh
how would I add character variants to css?
Is there a better way to go about this CSS? Whether injecting as SVG data, .png from URL, or ,svg from URL, the icons seem to be a bit pixilated, especially when using Discord when zoomed out. This didn't happen when making the plugin version of this (which I scraped because of DOM manipulation being required)
for context if not obvious enough, I'm trying to customize default status icons to different ones
Inter is great btw
I think it's pixelated because it seems to be using a png as the mask
I'm not entirely sure how masks work. maybe you can use an svg as a mask, and that would probably fix it
I tried using an SVG mask for some of them, it didn't seem to make a difference
the offline one doesn't look pixelated to me
which is one you're using an svg mask for
I'm zoomed out on Discord and it appears to be pixilated for me
but it isn't like that with the plugin?
because that seems like rounding error type stuff
it looks perfect with the plugin
does it do it by modifying the masks or some other way
it does 2 things, edits the defined mask in the icon element and edits the already defined mask, depending on specific elements in cases
but even cases where it was editing the icon element to have a mask, just like this CSS is doing, it would be perfectly fine
Any anchor https://developer.mozilla.org/en-US/docs/Web/CSS/anchor enjoyers?
Not me
itโs even worse than webkit nowadays
dumb question since i might either be searching for the wrong words in here, but i can't find a way to move the search bar somewhere else since i am using a import to reverse the server list and members and its just like this covering the channel name i am currently on :d i'm too new to css still and i've only managed to edit and fix certain areas not having colors, i have not messed with moving certain elements yet since i don't know where to start with that lol
No the channel is about running away with your forbidden lover now
how can i do conditional assignement in CSS ?
my goal is to have --custom-user-profile-width-full-size: be min-content or 600px whichever is the biggest
nvm i'm a F smooth brain all i have to do is use min-width
i just took the reverse import and modified it, fixed it now 
kinda off topic but is the visual refresh confirmed to happen to everyone eventually, or are they testing to see if ppl like it?





