#🎨-theme-development
1 messages · Page 44 of 1
then 23px fixed height on header
then moved the header 32 px above
and the replied message 23 px below
and it works but i wondered if there's another way...
what does the 2.2em means
its font size as i've read
2.2 text heights
why 2.2
idk lol
i see
it means relative to the font size
if font size set to 12px, 2.2em means it is set to 26.4px
i love overflow!!!!!!!!!
giving me @snippet-dev was a mistake, im gonna post random ahh snippets
real
taking it off now
i cant even joke about this, i literally dream about what my next snippet should be
😭😭😭
i love discord mobile 
cant even view the video even if i save it
WHAT THE FUCK DID I JUST DO 😭
WHY DO VISIBLE AND SCROLL DO THE SAME FUCKING THING AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
i love overflow
Ooooops! All [Scrollbars]
what happened to my internet connection
i cant just make the serverlist overflow can i
uhegajerashfsdadfh
ive tried every fix in the book
no result
Amazing
??????????????
errr technical difficulties
(I'm on mobile rn)
Relatedly, I need a theme that replaces boring emoji with Dealer's versions
Rip @gusty compass btw
it was revived
WHOA THAT WOULD BE AMAZING
my love returns
truly a :happyFaceSecondary: moment
it would be even more so if smiley dealer revived joined vencord!
yo tell me if this theme working
mine is working fine
yea
hello, can anybody fix this now-horrible pasted code that was working but suddenly it doesnt
it originally was broken i adjusted some height and it was meh but its just this now again
tried update classes website still same
Please dont ping me... also https://dontasktoask.com/
You really shouldn't be using that, DevilBro stuff can leak memory and hurt the performance of your computer... use something like this instead
https://github.com/nvhhr/discordcss/blob/main/snippets/actuallybasicbackground.theme.css
DevilBro code may in some cases cause your computer to explode violently.
@clear siren bro skulled his own theme
yes
just turn on reduced animations
prolly, unless it’s one of those ones that discord decided to be handled by Java
Which isn’t a lot
java?
what is the animation anyways…
https://xyproblem.info/
the mini guild icons moving up and down when opening/closing a folder
based on my super slow laptop, i found out that they use translate3d to do the transition, so here you go
[class*=edFolderIconWrapper] {
transform: translate3d(0,0,0) !important;
}
i love you for this
for some reason, the animation lags a lot on my computer (its not the specs)
my computer itself lags a lot, cant stream without it obliterating itself, so im just forced to use reduced motion
but honestly, im kind of used to it, also have reduced motion on my phone, the instant stuff is amazing
made another snippet 
[class^=channelBottomBarArea_]:has([class^=entryPointButtonContainer_]) {
[class^=channelAppLauncher] { display: none; }
[class^=entryPointButtonContainer] {
[class^=contents] { display: none; }
[class^=entryPointAppCommandButton] {
background-color: var(--channeltextarea-background);
width: 48px;
min-width: 24px;
&::after {
position: relative;
margin: 0 auto;
content: "/";
color: var(--text-normal);
font-size: 1.25em;
}
}
}
}
basically removes the app launcher and makes the command button look nicer if you are in a dm with a bot
huh
thats blasphemy
the blasphemy is the vencord discord server not having free smiley dealer revived
frfr
how could you say no to this sad individual
guys, can you help me understand how buttonContainer_f9f2ca height is calculated, i can't seem to figure it out
it's the reactions buttons that u can give to a comment
i thought its the height padding of buttonsInner_d5deea * 2 + hoverBarButton_e986d9 height
but for some reason there's an extra 6 px apparently that i dont understand where they come from
the padding part is right, but for some reason its not 24 px its 30 (when i set the height as 24)
BIGGETH SHIGGETH IS HERE
i have made fire (might need to adjust transparency tho)
And for servers with no banners do you think like a basic gradient might look alright
I’m saying might cause there’s no version of this concept without a banner image
mm yeah, maybe just using like --brand-600 or something
the only problem is that no-banner servers dont have a banner element (insane i know) so itll be really fucking hard to replicate the banner
also discord themselves would probably do nothing with it to give you feelings of shame and want you to buy nitro lmfao
hmm
let me check out the html real quick
you could do like
.header_fd6364:last-child:before
and then style the pseudo to take up the same space the banner would take
too lazy lmao
i think ill just post the update to this now as its all done and ready
that's based on discord's concept art or whatever?
cool
Yes
you made peak
Thankth youth
When discord fully puts refresh into effect, I'll probably submit this as a BD theme
btw, the searchbar wasn't made by me. i only cleaned it up a bit
#🎨-css-snippets message
(also i cleaned it up a long time ago when i didn't know to use ^= so it's quite bad)
swapMicDeafen.css: Lines 1-10
/**
* @name Swap Mic and Deafen Icon
* @author krystalskullofficial, vending.machine
* @version 0.3
* @description erm... title sums it up pretty good
*/
[class*=panels_] :is([aria-label="Mute"], [aria-label="User Settings"]) {
order: 1;
}
Banger css snippet
well, I didn’t even really look that hard, but aira-label seem to be the only unique thing between the two
because why not
probably could use svg selector of some kind, but they're lottie icons which makes it quite difficult
also couldn't you use order: -1 on the deafen icon instead of order 1 on the other icons?
aria label based selector
Not based at all
what did i do
this looks like a general rendering issue likely not specific to your CSS
probably disable hardware rendering i guess
css too fire, gpu fried
im so happy with this animation
thats awesome
you might want to fix how it jumps slightly at the end though
any help
i have no idea element you're about as I assume it's an experiment, and I don't know what that experiment is
?
it seems that i've figured everything out
buttonsInner_d5deea border is set as 1px
by default, therefore 1px above and 1px below is 2px
padding in button_f7e168 is set as 2px
so 2px above and below is 4px, + border its 6px, and thats the 6px i've been wondering about
it doesn't have any height for me
border and padding of buttonsInner_d5deea
height and padding of button_f7e168
any css to remove/hide this
Right click over the section > Hide
how can i download that theme ?
thnx
hi I'm terrible at css but I made collapsible sidebars for the visual refresh experiment, could it be posted to #🎨-css-snippets ?
https://github.com/rechington/Discord-Mods/blob/main/collapsible_sidebars_refresh.css
oh thank you. looked through all the channels a bit too fast and missed it
No worries, cheerios'
does anyone know the css code to add my own font. I created a github repo with the font but idk what the css is to type in
- fonts that are installed on your computer will work as well
in that case you dont need any @import or external stuff
my friend asked me to make this for him so i just want to be able to send him the css file without having to make him download the font too
hey
- try the class updater
- be careful. if people dont want to answer your question, its probably becuase theres an answer in #theme-support , #faq or somewhere else. doing this too many time will get you the needy-for-support role, which will ban you from support channels. Read.
i tried class updater, if you read my msg u'd see!
faq theme support told me to try class updater, yeah, it didnt work
i asked ppl experienced with css to help me figure out whats wrong
not that an already existing theme isnt working for me
that snippet is old anyways i know that
like you said, read!
splitting up messages is bad for stuff like support, as you just saw there when i couldnt see your additional message.
so you didnt even bother jumping to the message and assumed that i shouldnt get support and just read the faq, how fun
discord made some heavy changes to pretty much all the classes used here
so the class updater couldn't really help with it
and tbh, I don't even remember if it works with attribute selectors instead of plain class names
which might also be one of the reasons it didn't work
I might try updating it in the following days if I have some spare time
does anyone have the gif for discord loading?
the icon spinning on the bootstrapper
Yes. Is that from Discord?
looks a tad blurry, no?
I cant find one that's clear
Yeah thats the best ive got
thatll work for now, thanks
ive tried grabbing it from the bootstrapper but idk how tbh
I jumped to the message, I read what I saw, saw you insisting support and just saying "hey" is a bit obnoxious. This place is community-driven, if they don't want to fix your snippet, they don't want to fix your snippet, you can't ask them twice
Average Ez user
thank you for your contribution
thank you
that one is very bad quality
what
why does it play fine here
but not in mpv
lol yea i got it from assets
found out how

just turn off your internet to get the url 
and check devtools
it's really funny how it Doesn't Load when you genuinely don't have internet and have cache off
is there a way to replicate and make this work with visualrefresh3?
i wish i could help you, but vesktop literally refuses to add in quick css, so i cant
aw
visual refresh experiment is weird i tried to make the space between title bar and content smaller aswell but couldnt
hey ya'll, does anyone know how to make a single theme that has different color schemes for discord's light mode and dark mode?
oh, saw the bd css variables docs, ig you just override both light mode and dark mode css variables and then use prefers-color-scheme for the shared variables (is that even a thing for discord theming?)
you can use the class in body for light or dark mode
just prefix selectors with it accordingly and you can have 2 completely different themes if you want
this ugly n big how can i make it so its nonexistent 😭
Hey guys, I’m looking for this kind of theme, anyone has ideas where can I find it?
can someone please help me
I have made a small little css to add my own custom font and im trying to add it to another persons theme but the theme has 1 line that overrides the custom font. The issue is that this 1 line is in an import from github so i cant modify it to remove it
@fiery dagger like this?
add your new font in quick css, it has a higher importance
hello @crimson skiff, Yes I am looking for this type of theme… do you please know??
in the screen above I have shared
lmfao
Make design experiment v4 theme
Uptick in people wanting a design experiment v4 theme
Masterful gambit me
I'm using Better Folders with the theme system24 and it's causing an issue with spacing between the main server list, folder list, and server section. From what I can tell, the folder list is essentially moving twice as far as it should. Is there any way I can adjust how far it moves via quick css or something?
(I was advised to come over here from the support channel regarding this issue)
@vestal field isnt that your theme?
It appears to be
yea
so i have "space between message groups" at an acceptable place, but the spacing between the lines of text in individual messages has gotten smaller and it is really hard for me to read. could someone help me with a fix for this? (i usually use sys24 [monochrome] too, but it's not at fault for this)
I plan to add a stricter Content Security Policy with a domain whitelist. This means that all non-whitelisted domains will be blocked and themes will not be able to import css, images, fonts, etc from there
The current list of allowed domains:
*.github.io
raw.githubusercontent.com
*.gitlab.io
gitlab.com
*.codeberg.page
codeberg.org
*.githack.com
jsdelivr.net
fonts.googleapis.com
i.imgur.com
i.ibb.co
cdn.discordapp.com
media.discordapp.net
If there are any other domains I forgot about, now is the right time to say
No
- Personal sites
- Image Hosts
- Shady Sites
The Wikimedia movement is a global community of people, projects, and activities working together to create and share knowledge freely.
avatars.githubusercontent ?
that site seems shady so i didn't add it
Brazy
here's all of the sharex image and text uploaders
(prob don't add all of them, but maybe some)
wait so is the stricter thing for #🎨-css-snippets only, or added to vencord itself?
vencord itself
is it just me or are these buttons darker now
canary change?
it's set to var(--channel-icon)
is Visual Refresh leaking
yeah they did mess up
Vro i thought i was geeking
[class^=lottieIcon_] {
--channel-icon: var(--interactive-normal);
}
pretty sure that fixes all of it?
[class^=lottieIcon_]:hover {
--channel-icon: var(--interactive-normal);
}
No, I made them change color only when you hover
also i feel like the icons are smaller for some reason?
is it just perception of it though?
i think they're the same size?
i'm probably tricking myself because I recently built a plugin that replicates those icons somewhere else but slightly larger
was there any idiots that led to the decision?
afaik no, though #🎨-css-snippets specific restrictions could be loosened just be the new CSP that vencord will use
i can't make that change but i think it would be reasonable considering why the CSP is changing
then there shouldnt be any issues with the current rules no?
what
and anyways, i doubt css can send discord tokens through a webhook (referring to the token logger-disguised-as-voice channel crasher)
there isnt any issues
dont fix what aint broken
i'm saying that Vencord accepts ANY styles but will in the future limit it to certain domains for privacy
anything in #🎨-css-snippets shouldn't be affected
though #🎨-css-snippets rules could reasonably be lifted to the new CSP that Vencord will implement
confused, how did limiting domains increase privacy
ip lagger

it sends it to where?
idk lol
all i know is that it probably abuses themeattributes or the user profile panel avatar
you have to ask @small pond or @velvet pawn
unless someone does like an attribute select for the token, idk how they would happen
how would you attribute select a token
token isnt in the dom
user id is
I’m also pretty sure this is just more about what could be hidden within the code…
look, i have no idea how discord's scripting works, I'm just spit balling based on what i know (which is css)
localhost but could be any arbitrary url
wait i read wrongly 
i thought it sends the discord token, not user id
i have to be tweaking
can just add an !important, so it doesnt care about the hover as well
So I guess I'm not getting any help with this
What about https://pastebin.com/
Uh, time to move some of my assets then 
Sigh
can this be communicated inside vencord somehow in a way that idiots understand so people aren't wondering why their themes broke when they use another image host
git.gay?
im not even surprised that exists
when u find out u were a joke all along
idk aliucord did this same shit and some madlad went through all the morbillion themes and uploaded that shit to another, supported service and then uploaded all the alternate versions so the themes could work
personally i like having lists of base64 imports at the end of my code in variables
if you dont have 2mb of CSS, what are you living for in life?
is it possible to code theme and do it "real time"
cuz every single time i have to re-link to see the changes that i've made
code in local file, saving file should reflect changes, if not, ctrl+r to reload discord
how would i fix these overplacements and gaps
mostly i need the gap on titlebar gone
others arent that important
git.gay shout out 🗣️🗣️🔥 🔥
can I override a role colour with css somehow? it's a stupid black and I cannot read it at all
ok I got it with this
but now the RoleColourEverywhere plugin still makes mentions the original one
could someone help me with a css snippet to color the mic and headphones icons blue again when enabled?
anyone know how I could re-order them? (gif on the right, sticker on the left)
(In the chatbar) thanks
I came up with this https://github.com/nvhhr/discordcss/blob/main/snippets/namebrightener.theme.css
namebrightener.theme.css:
/**
* @name namebrightener
* @author nvhhr
* @description brightens usernames to make them readable
*/
[class*=username_][style],
.mention[style],
[class*=membersGroup_] [style]
{ filter:contrast(.2) brightness(1.2) saturate(500%); }
there are some places where it doesn't apply
but using those filters on all names is the only good way to fix all unreadable colors at once without having to hardcode each rgb value
you can try playing with the values, I didn't try dialing them in too much
yeah I'll mess around a bit with it when I have more time, thank you :D
attribute select the bar then do margin-bottom: 0 i guess
I don't think you need the * the way you're using the attribute selector
I probably don't, but that's what I found from like a 5 second search online and it worked, so as long as it doesn't break I'll keep it :3
maybe a little too funky XDD
but thanks for trying
I added order for the separator and send button, and seems to work now, thanks
add to quickcss [class^='wordmarkWindows'] { padding-left: 10px;} see what happens
adjust as you see fit
30 made it look right; thankuu 
is it possible to have per-user chat wallpapers? maybe with css?
like in dms?
ye
you probably want to use :has and match the URL of the avatar in the top bar
like this?
[class^=subtitleContainer_]:has(
img[src*="avatars/358257152370016267/"]
)+[class^=content_]>main {
background-color: rgb(125, 52, 52);
}
[class^=subtitleContainer_]:has(
img[src*="avatars/789761307125612544/"]
)+[class^=content_]>main {
background-color: rgb(52, 76, 125);
}
wow thanks. yea it was just a thought I had, not sure if it's actually a good idea once implemented haha. I will use your snippet, thanks!
probably would be better to change variables actually
more efficient and look better
but that's what you were wanting right?
yes
not just background color, could also have an image set as the background
enable f8 break, open devtools (ctrl+shift+i), when that happens, press f8, then use element picker to select element, get element class name, then you just put this in your quick css
.classname {
display: none !important
}
You can't hide a specific tooltip
also why do you even want to hide it?
i can't get it to show up for more than a few seconds and then it won't show up until i restart discord
you MIGHT be able to use be able to use this style in .theme-dark, but maybe not
THANK YOU FOR FINDING THE CODE ATLEAST
i was struggling to get to it
the reason i want to hide it, i play a game called geometry dash and i have auto deafen when i get far into the level, and since i click loud the pop up comes up and i see it in the corner of my eye and it messes me up and kills me somtimes
it shows up all the time for me even with noise suppression
i play a game called geometry dash
i think everyone knows what geometry dash is
try triggering it before you start playing and see if that works
anyone know which class does the hover name thing is?
i somehow made it transparent and uh
(pls ping if you know)
.listItemTooltip_bba834
also comic sans user
graphic design is also my passion
true
dosnt work it just happens all the time
hi i need help hiding div.tooltipcontent-b6c360
.tooltipContent_b6c360 {
display:none!important;
}
yes??
its the annoying popup saying your mic is muted every second
thank you il try it
note that this will remove all tooltips. if you want i can find a more specific selector for you
like what other ones
that sounds good to me
honestly i would rather remove all toolips
@half crystal for more context
that might help
for some reason i still saw the popup for you are currently muted
if you can fix it for me il pay you
- no thanks
- i cant reproduce that tooltip so i cant help any more (you could probably select tooltips that are that green to get it)
oh ok, is there a command to remove ALL tooltips entirely then
and all popups are nah
one more question, what are some examples of other tooltips that this command hides, i hate popups in gernal so its proably better like this
any time you hover over anything pretty much
I would not recommend hiding all of them
it didnt hide the pop up tho
but im paying someone to fix it for me since i give up
how does it even mess you up
because i see it in the corner of my eye every time i deafen
2024 is just the worst year
it wasnt a thing before
YOU ARE MUTED
you mean 2025?
the update was added in 2024
yeah how does that mess you up
because i just cant ignore it and it kills me somtimes
i ussauly dont die
but somtimes i do
i see it and it makes me not focus on the game for a split second
2024 is worst year forever
nothing good happened in 2024
that seems kinda like a skill issue to me
but can you do this?
you can't use the element picker you have to search for it
and send a screenshot
I'll see if i can do it in my server
@pastel tiger have you tried
[style*="bottom: 50"][style*="left: 138px"] { display: none !important }
sorry for ping obsidian
il try that
I think the bottom and left values will be different for different screen sizes etc
it should still roughly be the same no?
it didnt work
damn
probably but if they're off by 1px it'll be different
@pastel tiger
- turn on the f8 break plugin
- press ctrl+shift+i to open devtools
- click back onto discord
- when the popup comes up, press f8
- search for "You are currently muted" in devtools (press ctrl+f)
- send a screenshot
it should look something like this
<div class="theme-dark images-dark layer_cd0de5 disabledPointerEvents_cd0de5" style="position: absolute; bottom: 51px; left: 207px;"><div class="tooltip_b6c360 tooltipTop_b6c360 tooltipGreen_b6c360 tooltipDisablePointerEvents_b6c360" style="opacity: 1; transform: none;"><div class="tooltipPointer_b6c360 tooltipPointerBg_b6c360" style="left: calc(50% + 0px);"></div><div class="tooltipPointer_b6c360" style="left: calc(50% + 0px);"></div><div class="tooltipContent_b6c360">You are currently muted!</div></div></div>
this is the full code
ok wait u said screenshot mb
that'll work too
try this
[style$="bottom: 51px; left: 207px;"]>.tooltipGreen_b6c360 {
opacity: 0.5;
}
it'll just make it mostly transparent rn for testing purposes
if it works, change opacity: 0.5 to display: none
alright
it was still fully opac
uh that's weird
dont we need to find the code that actaully triggers it to do it?
ok
oh that's why
what is it?
thats a seprate code to remove the scroll bar, but il remove that for now
add a bracket here and delete the style*=bottom 50... line
you don't have to remove, just add a bracket
ok
} this?
yeah
alright hold on
i have a theme to make fonts better
ok i removed the theme and jsut added it in the themes folder so this should be easier
did it work?
it came up fully opac, im trying again at 0.1 just to make to confirm it
try display: none
and do the f8 break thing and send a screenshot
alright
the same thing as here, except a screenshot
oh i think you need opacity: 0.5 !important;
yeah oops my bad
there was another opacity that was overriding the 0.5
like that?
yeah
i changed it do 0.25 just to make sure
thank you for the dedication for helping me so far
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
@echo frost IT WORKED I LOVE YOU OMG
np, you don't have to spam though lol
I've asked about that before, but now I can explain it clearly
Custom ping color turns into the default ping color when I hover it
rah
Wait
:root {
--ping: rgb(50, 7, 18);
--pinghover: rgb(30, 4, 10);
--pingthing: rgb(77, 15, 43);
}
div[class*="mentioned"] {
background-color: var(--ping);
}
div[class*="mentioned"]:before {
background-color: var(--pingthing);
}
div[class*="mentioned"]:hover {
background-color: var(--pinghover);
}
there's a code how I remember
just change the variables discord uses
:root {
--background-mentioned: rgb(50, 7, 18);
--background-mentioned-hover: rgb(30, 4, 10);
--info-warning-foreground: rgb(77, 15, 43);
}
I need to replace my code with it or to add it?
Ok, I understood
Tysm
It helped
@smoky fog can you send a screenshot of where you put the css
like this?
oh
make sure quickcss is on
in settings > vencord
if it is, then open devtools (ctrl+shift+i) then select element the emojis like this
@smoky fog ^
can you import css files stored locally on your system? if you can, i can do some insane shit but i cant get it working.
I don't know about quickcss, but with themes you can import files that are inside the same folder
oh yeah, it worked.

It's a small trick I use to update large theme files instead of reloading the client every time
Small css file active with large theme imported, I change the import and save the small file to refresh everything

i need a theme please
idk how to put them would you teach me?
settings > themes > Open Themes folder
the selected folder is where you should put it
thank you
i've noticed that u can do scss stuff and vencord accepts it
but if i save a theme as .scss it isn't recognized in the themes folder
what the hell is going on
Css has nesting, if that's what you mean
huh?
Which used to be the main selling feature of scss
i thought this was only a scss thing
It used to be
i didnt know about that as well lol its super fun to nest and looks actually clean imo
definitely
stop doing scss
my dots are coded in scss (thanks end_4) and i have a script that converts the scss color vars to css color vars, so i can use them as a theme lol
how to
this is the script i use. this is only designed for a file of PURE '$' VARS, keep that in mind. you also need the package inotifywait
script
looks inside
- has comments
- means chatgpt

yes. i cant write in bash
nor anything for that matter
i meant the top panel thing
i use binbows, so just a bit of bat scripting
the big banner? thats #🎨-css-snippets message
the status bar
oh. custom AGS thing
stupidly customizable, made by end_4
its got a cheat sheet and awaifu generator
id like to bang my head against the wall
this is the second app this week that i cant try because no linux, only binbows 
switch to linux
its ✨fun✨
i don't want to
https://scoop.sh is really good
why not
waifu generator 
i have my apps set up and installed, don't want to do it again
i have wsl for Ubuntu set up already tho
it takes me only like an hour to get my setup running on any device
I switched and my css is unusable ;_; lags a whole lot more than on windows
yeah but like the minor stuff ig, like the settings and stuff
this is my only laptop, i also don't want to brick it (not that it isn't one already)
(also lazy)
- pcs can only be properly bricked via bios updates
- get yourself a ventoy with a copy of linux or 2, and windows
i got one, i call it 'The Last Resort'
understandable
ventoy? as in extra ssd? no sir I'm poor, there's a reason why i have an intel celeron 4gb ram no gpu laptop
i call my laptop the fucking pissbook, optimized MC runs at 5fps
ventoy as in like a tiny USB stick, dunce
128gig usb 😭 that's half my laptop's stage wtf
SAME
guess what, i only have 100gb storage space left, not 200
i use arch btw ahh screenshot
i used to as well (game are big) but reinstalled and switched to arch becuase i love clean pcs
the only thing clean is my downloads folder
(i need to sleep now it's 2:50 am)
it can be so much worse
vim 😭🙏 how do people use that
I DONT KNOW
I really like this theme development channel 
whoa #🏥-vencord-support-🏥 is going wild, will need to check whether my snippets broke or not
that's why I'll need to check
meme development
Oh, discord broke stuff again?
Welp, I'm not refreshing ig

Yay
Well, if they just rerolled hashes it's fine
As long as they don't straight up change class names
stares at .biteSizeOuter_ turning into .biteSize_.outer_
Kind of, my performances say otherwise

I'll take the better performance but worse mantainability
I guess
me, as an attribute selector user: 
haha, nope
whats the difference between the attribute selectors and class hashes?
and how can i replace my hashes by the other one to make it less likely to get destroyed again lol
.peepee_d4f3e2 becomes [class^=peepee_]
huhh
survives hash rerolls
im gonna try to use that i guess
yeah that, and the ^= means starts with
yeah you can't really do that for those
you can but you need a unique parent
guess i'll wait for the tool to update hashes to get updated itself
hopefully that could fix it
hmmm true
either way major rewrites are gonna be needed
do we even know why they change the hashes every few months?
to fuck with you specifically
idk if its even intentional tbh
i mean i dont see a reason they'd do it apart from that yeah
probly just the way their system works idk, its definitely not necessary
to think i had just started to update my theme again 
trying to update my poorly written theme because discord said NO...
what's this random little gradient bar on the top right of the friends menu? i've tried selecting it and it says its children__9293f::after but no matter what i do with it never goes away
i remember solving this in the past but my codebase is so bad that i cant find any clues of to how
i think you can do it with
.theme-dark .children__9293f:after {
background: transparent;
}
thats how i fixed it before
only works with dark theme though i guess
having funny notes helps i guess
my codebase is so abhorrently bad
so is mine LOL my theme is like completely gone thanks to the update
i need to like rewrite it but i dont want to mess up something
i dont even know where to begin i pratcially have a blank slate
its beautiful (not)
ohh i find it cute
i like the way it looks i absolutely hate the codebase lol
same for mine LOL
its supposed to look like this
but now we have
NOTHING
i love discord
insane
we love discord...
fortunately my terrible code decisions has saved me some time because i have a bunch of wildcards 🧌
smush?
yeah but it's still gonna take forever
there's a tool to auto change them but it's not updated yet i think
flashbang
yes
damn only the spotify controls survived the nuke
that color scheme is CLEAN
I might steal that when the class updater is working again and I get my theme in working order again
last screenshot before the nuke happened
clean
probably will just skip 20250103 patch and make another patch for class updates or something
when i have time of course
theme has come so far from the first days (Sep 2023)
eventually will be rewritten in scss
so i only need to fix classes in a dedicated file for the classes
fair, I am kinda shit at coding so it's just a LOT of snippets I like
well thats how my theme started out to be
just a compilation of snippets i found in #🎨-css-snippets
same here

its only in stickers
wait this is fire..............
hope we get this all fixed soon lmao
Really cool , I would only change the server list to horizontal 😄
Does anyone have a hatsune miku theme?
Is this : https://syndishanx.github.io/Website/Update_Classes.html
Updated ?
My css seems still broken for some part (like scrollings (bars)) and other lil things
alright, my turn
here's the theme i've been using. literally all it's supposed to do is shrink the embed image/video sizes to how they were way back before discord added the mosaic stuff. basically the size as if they were sent via a link
does anyone have any clue how to tweek this to get it working again
i have a separate theme that i also keep active that changes the font back to the old discord font and that one works fine
bros i just want a fully transparent theme, can anyone help me?
Any themes that survived the nuke? Basic discord is such an eyesore
Does anybody have problems with vencord rn?
yes bro
my theme bro 😢
i want le transparency
vns
alr
😿 😿 😿 😿 😿 😿 😿 😿 😿 😿 😿 😿 😿 😿
THIS CHANNEL IS LOCKED DAWG!
hello, is there a custom css to remove the "Blocked" button from the tabbar? i used to have one that worked but for some reason it doesnt work anymore, and attempting to remove it by using the inspect thingy remove the entire thing
thank you in advance :D
getting tons of messages from people saying my theme is broken, that makes me so sad 
hoping the updater is updating soon or im gonna have to take matters into my own hands
Hey @vestal field, with the advent of the discord update screwing themes - do you plan to update your midnight theme?
True, is that from this server or another?
from his
i just want transparency
It's so fascinating that people think "support channel closed" means "write in other, irrelevant channels"
does someone know how to do it
I'm pressed about it because I just downloaded vesktop and themed my discord last night
unlucky
It was lookin pristine 😢
😭 man they really just do this randomly
hadn't touch my theme in months and the week i decide to add things to it every goes boom
theme got nuked apparently :( it's sad cause mine was modified from an original theme that no longer exist from my knowledge.
Time to plop into dev mode ad get to css'in
The silver lining is that CSS, and in particular discord themeing, is not a very complex or difficult task - it's just tedious
i mean ye, I understnad everything
only problem is we haven't gotten the new theme css so I cant do it myself ;-;
Sure you can
how so?
Ctrl+Shift+i
thats
actually
very smart thank you
I hate the layout of inspect element tho
it's so ugly
Idk if it's a monolithic file or not but obviously discord itself also sources it's default css from somewhere
parse the html and see if you can find it?
Discord has a giant multiple-megabyte css file, yes
From their side it's obviously composed of hundreds of smaller files, but we don't see those
does anyone have a solution for how this would get fixed
my other theme (that just changes the discord font to the old one) works so ik it's not ALL themes
so i can only assume something can be done with this one
i was provided an updated unofficial css for the theme I use, you can look at the diffs on these commits to get an idea
https://github.com/Androser420/midnight-discord-class-updates/commits/master/midnight.css
Looks like all the class names changed so you'd probably just need to go into dev mode and click on elements to find their new names
The same as pretty much every other theme
Update the classes it uses
Open devtools with ctrl +shift + i
And use the little button on the top left of the devtools panel to select elements and see their class names
Fonts don't need classes to work, that's why your theme is still fine
I'll just wait for the class updater website to be operational

I'll tell you one thing, as a linux user running wayland...this discord update absolutely murdered performance for me
As a Windows 11 (I hate it) user, it actually improved it because 90% of my css doesn't work
how much cpu usage was it using before it broke?
oh
ye it's helped my performance abit
5% on cpu usage
which isnt much but it is what it is
no, that doesn't do the same thing
it gets rid of the mosaic display but videos and images are still the same size when sent alone
just send me the updated file when u can
would appreciate it 
Not really, this is devtools
Once you refresh discord any change goes away
where would ifind it then
trying to find the original css so I can modify my current css to work
would this permanently edit the theme?
Not sure about that but I don't think it will
As I said, use quickcss
Devtools is for picking classes
ye but my quickcss broke
Edits go either in quickcss or local theme files
thats the problem
Eh, you just have to find the new class names
Definitely not here
Send a screenshot of the devtools section
I assume it's this?
Ok, you're on the right tab
Use the tool at the top left of the devtools panel to select elements
select an element to inspect it?
Find their updated classes, replace the old ones with them
Mhm
how do i select the background
Well, first off check the old quickcss
?
Discord only rerolled the class hashes, so the first part of the class names should still be the same
so it would be the '--'?
Nope, that one is a custom variable
Classes usually start with a .
Can you send your quickcss here one sec?
Well
I'm sadly to inform you that you'll probably have to wait until the theme author updates their files on github
Because the actual styling, besides variables, is being imported from their github

Just remove the import and paste the contents of the file in there 😛
what part of themes broke?
nothing of mine seems broken
Too long

It aint too bad
Pretty much everything that doesn't use attribute selectors
oh so just the class hash things
Mhm
whatever they're called

Well, at least they're alive
I used to have a theme whose author didn't update the github repository for 1 and a half years

so am I just stuck on the og theme till they fix it in the github?"
that sounds so fat and time consuming
and wouldn't it also fuck over my performance?

Was it fucking it over before the hashes reroll?
How about yesterday?

I'm just asking you if the theme was making your discord slow
Because if so, then yes it will go back to make it slower once you (or the original author) fix it
every single part of mine 😭
oh shit that works?
i thought that was only for one specific update
nope still broken 😭
will the website be updated more or do i actually have to figure out how to fix my shitty css
it's possible the diff file is outdated?
but it was updated 3 hours ago
the only "update" is a new diff file
the website only works for fixing class reroll
okay so yipee, half of my themes are broken (one of my themes is half broken, how does that even happen)
will have to wait for horizontal server list, and nocturnal to be fixed 
is it possibly outdated?
running my theme through it only makes 12 changes and i cant notice any of them
im not sure why it doesnt fix mine the main part i use doesnt have any dependencies
can you send your theme? nvm the diff is broken
me: (wonders why class updater doesn't work; looks at diff) oh
yeah that's the newest diff no wonder why it's broken atm
oh
yeah, they changed every class to have two underscores instead of one which broke the entire updater
fun
i looked at when the diff was updated, but not the diff of the diff
i think there were some classes with double underscores before?
now a lot more are though
i'd like to have a word with the dev who thought that double underscores are a good idea
at least they didn’t switch it back to being hyphens like it used to be
there is a lot more underscrores than usual
classupdater works with this diff
👀
better version, thanks to @wet wraith@left musk
how'd you make this?
that fixed like 90% of the theme i maintain ty
i swear 50% of my committs are fixing the custom user popouts
@narrow hinge just a big shoutout and thanks for the class updater too
(wasn't sure which channel this should've been in, but it's directly tied into theming)
it'd be really neat if you considered open sourcing that tool and allowed others to suggest code changes, etc. I had some ideas.
It’s completely open source
oh. I didn't see the gh
I saw sarah's classlist repo but that was all I saw
i feel stupid not realizing your site was hosted on github :S
hadn't looked at the url lmao
Yeah, there are 3 Repos used for the Tool
I use Sera’s Repo for the Class Update Diff
I upload the Changes to my Update Classes Repo
Then finally I host the tool on my Site
but again, thank you :). I was losing my mind without my server columns on the left.
I didn’t do much for this Reroll, Pix and Leafy did the Updating
Pretty sure it's just something like if the hash would start with a digit, use an underscore instead
Is there a reason I shouldn't do something like this:
/* Mic */
button[role="switch"][aria-checked="false"]:nth-of-type(1) svg {
clip-path: path("...");
}
/* MicSlash */
button[role="switch"][aria-checked="true"]:nth-of-type(1) svg {
clip-path: path("...");
}
The old version was like this:
/*Mic*/
.button_adca65:nth-last-child(3) .lottieIcon_f73ef7>svg {
clip-path: path("...");
}
/*MicSlash*/
.button_adca65:nth-last-child(3) .lottieIcon_f73ef7[style^="--__lottieIconColor: var(--status-danger)"]>svg {
clip-path: path("...");
}
I'm trying to future proof https://discord.com/channels/1015060230222131221/1181782804288245843
probably will overselect
I mean testing it, it worked...?
it would probably also change things you don't want it to, but if that doesn't then yeah it's fine
Is there no better way to do the button_adca65 type of shit since the _adca65 is dynamic/changed sometimes on repacks
[class^=button_] or [class*=button_] but those still aren't as specific as including the id thing
Yeah, that's why I went with the switch role
well a lot of things have role=switch
Yeah... So in short... Not really
I mean could do it via the aria-label, but then there's the issue of languages, so it's more hassel
True, I think it's only when they change things in it?
wdym? like
window.title?? lol
i.e.:
search for .wordmarkWindows__421ed
you could also probably look at what clearvision does
unlimited thanks, joyous day
This button is very helpful. click it then click the thing and it will bring you to that element in dev tools Elements tab
Ctrl + Shift + C
i know how to use devtool im not new Lol but thanks anyways
i was just struggling to find that one selector
I just hover over stuff in devtools till it highlights the area, then just narrow it down from there
titlebar cant be selected with devtools
im so confused it's not letting me change anything about it 
it has pointer-events: none
Is it just refreshing everytime you change it and undoing your work?
what's your css?
you'll need to change the paths
Yeah, but if on the devtools area you hover the div it highlights it then you can just keep going down
im just trying simple stuff to see how it works like [class*=titleBar__]::before { visibility: hidden; } or [class*=titleBar__]::before { content: ":3"; }
my theme is back 🥹 thank you person who does the hash updater
@narrow hinge
why are you selecting titleBar instead of the class i sent?
i think it would be easier to edit the paths in the svg
sorry im tired i thought they were in the same element 
i dunno how that works 
here's how i replaced the discord watermark
.wordmark__421ed svg {
display: none;
}
/* Display */
.footer__214dc {
display: none !important;
}
.wordmark__421ed::after {
top: -59px;
left: 1px;
position: relative;
content: "";
display: inline-block;
width: 150px;
height: 150px;
background-image: url('yourimagelink.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}```
no need for all the styles but maybe it'll work
also this is working
get future-proofed Lol
/* Watermark*/
[class*=wordmark__] svg, [class*=wordmark__]::before {
display: none;
}
/* Display */
[class^=footer__] {
display: none !important;
}
[class^=wordmark]::after {
top: -59px;
left: 1px;
position: relative;
content: "";
display: inline-block;
width: 150px;
height: 150px;
background-image: url('yourimagelink.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
also pro tip, for the right syntax highlighting you need to put the file extension of the language you're writing after the start of the codeblock
e.g.
actually now that i think about it, unless you already have an svg, it would probably be easier to do something like that
Too much [class^=] can really slow down a theme (I learned this the hard way)
do be careful about just changing classes to [class^=example_] sometimes it'll cause a lot more matches with things you don't want causing you to have to be more specific with stuff like > and :has() etc.
and what gold_me said
well yeah since a lot of hashes have the same name
also the [class^=footer_] is the discovery button i think
im careful with my hashbrown code trust
nop, class^=footer__2 is
at least i know that the updater works perfectly on mine
wait no you're right
that code made my discover button disappear
well yeah they start the same lemme fix uno momento
well i mistyped, but class^=footer_ would also select that
.footer__214dc is the discovery button
oh no its because i hide it LMAO
yeah
Update still broke some of my theme but updater fixes most of it, I’m lazy and tired rn so I’m gonna finish my changes tomorrow morning
i added
.footer__214dc {
display: none !important;
}```
to that code which hides the discovry button lol
i just typed [class^=footer_] because i didn't want to type the id
i did that too Lol
hate the discovery button
i really wanna hide it but idk if people will get mad at me
does anyone really use it??
Make it a parameter ppl can just change
well the quests are in there, so i use it very rarely
that's why i made an extremely scuffed svg to put it back basically how it was at the bottom of the list
i'll keep it hidden and if someone complains i'll bring it back, i already reuploaded my theme like 5 times
That or like have it be invis until the area where it exists is hovered over
Opacity=0
the funniest thing is that the discovery button was supposed to be hidden this entire time, but an earlier hash update broke that and i didnt even notice
the updater fixed that lmao
@property is really nice for pseudo-settings in themes
hm? im interested too
Lemme paste an example
samesies
/* readability perks: -----------------------------------------*/
[data-list-item-id^=chat-messages___] {
background: rgba(0, 0, 0, 0.267);
}
[data-list-item-id^=chat-messages___]:hover {
background: rgba(61, 26, 56, 0.322);
}
/* ------------------------------------------------------------*/
why the hell wont the message hover color work unless discord is out of focus 
i think something is overriding it
don't do it like that, there's a variable for hover
Scss code but the idea is there
// ICON ANIMATIONS
@container root style(--si-animations: true) {
border-radius: 4px 0px 0px 4px;
transform: translateZ(0);
transition: 220ms;
&:hover,
&%tabBarItemSelected {
transform: translateX(8px);
transition: 160ms;
}
}
huhh
not for message hover
so you enable that by setting this? (or disable it by setting it to false)
:root {
--si-animations: true;
}
unless ur talking about a different thing
yes there is?
(In :root)
@property --si-animations {
syntax: "true | false";
inherits: true;
initial-value: true;
}
--background-message-hover
not :hover ?
oh shit thanks
Yeah pretty much
well you could do that, but discord already has this
interesting
Use a lot of @property here if you wanna look
https://github.com/gold-me/DiscordIcons/tree/master
Made sass build all the values for me it’s nice
is there perhaps one for without hover
obsidian, is it fine to use your css snippets in a public theme?
which one
most of my css snippets are extremely scuffed, so i wouldn't recommend using them in one
mostly the one to hide all the chat buttons
oh yeah if anyone wants this btw this is how to select servers that dont have an icon
[class*=listItem__]:not(:has([class*=icon]), :has([class*=folder])):has([draggable=true])
my theme as a whole is scuffed lol
i can put you as a contributor if i do that, if you want
i can literally only think of one use-case for this sadly :/
the collapsible one?
that's one of my less scuffed ones
just have a note or something
That’s all themes lol
i think mine are more scuffed
[class*=unreadMentionsFixedFooter_] {
bottom: 0px !important;
}
[data-list-id=guildsnav]>div>[class^=scroller_]:not(:has(
>div[aria-hidden=true]:hover, +[class^=footer_]:hover
)) {
margin-bottom: 0;
+[class^=footer_]:has([class*=fixedDiscoveryIcon_]) {
display: none;
}
}
[data-list-id=guildsnav]>div>[class^=scroller_]>div[aria-hidden=true] {
pointer-events: all !important;
height: 56px !important;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
text-anchor: middle;
&::after {
margin-bottom: 8px;
position: absolute;
height: 48px;
width: 48px;
border-radius: 100%;
content: url("data:image/svg+xml,%3Csvg fill='%23dbdee1' xmlns='http://www.w3.org/2000/svg' role='img' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath xmlns='http://www.w3.org/2000/svg' fill='%23313338' d='M48 24a11 11 0 11-48 0 11 11 0 0148 0Z'/%3E%3Cpath fill-rule='evenodd' d='M24 26a2 2 0 100-4 2 2 0 000 4ZM35 24a11 11 0 11-22 0 11 11 0 0122 0ZM19.74 21.3a2 2 0 011.56-1.55l7.22-1.45a1 1 0 011.18 1.18l-1.45 7.22a2 2 0 01-1.57 1.57l-7.22 1.45a1 1 0 01-1.18-1.18l1.46-7.24Z'/%3E%3C/svg%3E");
}
}
Go for it
alright, thanks a lot 🙏
i cant even read this 😭
exactly
it's scuffed
and in multiple ways
the css itself is pretty scuffed, but the way it functions is even more scuffed, and the user experience is also really scuffed
because they have to hard code their theme colors in a url encoded svg
What does this even do
horror
you've already seen that
ik and i still hate it
why is your nick someone else's id
Yeah why did discord make that so annoying to undo
because its funny
my theme isn't really scuffed it's just very basic maybe, it's maybe a bit weird but at least it works..!
i can find something as obscure as reacted message background but normal message background doesnt seem to be a variable



