#🎨-theme-development
1 messages · Page 21 of 1
the yellow line?
yes
ctrl+shift+i and find the element's class
[class*=mentioned_]::before {background: whatever !important;}
yeah learn to use devtools
no more spoonfeed
how do i find the elements class? like do i just manually go through each one until the line gets hightighted?
ye lol thx tho
you press that button and then the element you want to manipulate
then you might need to go up and down the tree a bit to find specifically the element you need
like this?
a ok
i get this
message_80c10
whar
the class
i wanna know how to find a class using
Isn't there a variable for it
yeah it uses the warning color
I prefer to hide the pseudoelement and style the message instead
ok that setting doesn't seem to do anything for me, but what actually does is if I turn off discord titlebar option in vesktop I can get transparency working actually
yeah I did
* {
background:transparent !important;
}```
try turning transparency effects on
i dont have them but it still works
wallpaper showing through, that setting disabled lol
but in vesktop settings I do have acrylic enabled and discord titlebar off
idk im not on vesktop
so using discord titlebar breaks all transparency for me, no other setting seems to matter except obviously this
doesn't work at all, but if I wanted to rock transparency I would use acrylic
nice to know that it works when discord titlebar option is off in vesktop
you could not, but if you use vesktop you get acrylic just fine
what sucks about the acrylic though is that unfocused the window is just grey
and mica is not real transparency
oh I can fix that behavior with micaforeveryone
:3
how do i replace a singular emoji
i want them to be an image file in my computer not from a site btw is that possible
well that is kinda possible, by encoding the emoji in a data uri
then you just need to grab a selector for a specific emoji's img element and do { content: url(data:xxxxx) !important; }
yea uhh, i think im gonna wait for #plugin-requests to open
wouldn't hold my breath
dw i’ll be here on your 87th birthday
fyi they dont know css, they asked the same question in #🏥-vencord-support-🏥 and they said they have no css knowledge
i told them to come here bc no one would answer in #🏥-vencord-support-🏥
I think at some point someone had used an image file they placed in the themes folder but dunno on what platform, haven't tried it, data uris are easier
so, even with using the element picker thingy I can't figure out what class to modify to get this white text to be a different colour
Okay kind of got it?
.containerDefault__3187b .name__8d1ec.overflow__87fe8 {
color:lime !important;
}```
That makes all channels lime though, I want to do seperate colours for muted, unread, read, etc
.containerDefault__3187b:not(:has(.modeMuted__0aeea)) .name__8d1ec.overflow__87fe8 {
color:lime !important;
}
.containerDefault__3187b .modeMuted__0aeea .name__8d1ec.overflow__87fe8 {
color:red !important;
}```
It's fine, I have gotten a less complex way of doing it :P
Just got muted channels working
This works
.containerDefault__3187b .name__8d1ec.overflow__87fe8 {
color:lime !important;
}
.containerDefault__3187b .modeMuted__0aeea .name__8d1ec.overflow__87fe8 {
color:red !important;
}```
and it's not complex
.containerDefault__3187b .name__8d1ec.overflow__87fe8 {
color:lime !important;
}
.containerDefault__3187b .modeMuted__0aeea .name__8d1ec.overflow__87fe8 {
color:red !important;
}
.containerDefault__3187b .modeUnreadImportant_efb53e .name__8d1ec.overflow__87fe8 {
color:cornflowerblue !important;
}```
you can either make selectors for channels or make selectors for every text that uses the same variable as the channels
selectors?
ah
See I have no idea what i'm doing cause I either get spoonfed answers or have just taken 90% of my theme from #🎨-css-snippets
hmm yeah white 500 changes a lot more then just the channel text...
i like how darkgray is actually lighter than gray in css
Thank you for the spoonfed answer even though I only understand very little of it
It works perfectly
if you want muted/darker colors for muted channels, setting the color with this rgb(255 255 255 / 0.3) would be better as the icons would be darker/transparent
Ah yes, the 0.3 makes it better
I think my last problem is that the channel list and profile stuff has a pure black background where the rest of my theme is gray
thats because they're buttons
How might I modify said buttons?
cause the black really stands out on my main monitor
oh you meant you want to change the black
.sidebar_ded4b5 .panels__58331 {
background-color:red;
}```
ah that didn't work...
.sidebar_ded4b5 .container_ca50b9 {
background-color:red !important;
}```
.wrapper_a7e7a8.guilds__2b93a{
background-color:red;
}```
Dashless channel names with flags working:
/*dashless*/
@font-face
{ font-family: "Twemoji Mozilla";
src: url("https://vendicated.github.io/random-files/Twemoji.Mozilla.ttf") format("truetype");
unicode-range: U+1F1E6-1F1FF; }
@font-face
{ font-family: "dashless";
size-adjust: 200%;
src: url("https://vendicated.github.io/random-files/Dashless.woff2") format("woff2");
unicode-range: U+002D; }
[data-list-item-id^=channels___], /* channel list */
[class^=titleWrapper] > h1, /* top bar with topic */
[class^=resultChannel], /* channel name in search */
[class^=channelMention], /* channel mentions in chat */
[class^=placeholder][class*=slateTextArea] /* "Send a message in #blah" */
{ font-family: "Twemoji Mozilla", "dashless", var(--font-primary); }
need to install a font with flag glyphs in it I used https://github.com/mozilla/twemoji-colr, there might also be a online font for this
the same repo by me also has twemoji mozilla
import it same way as the dashless font
@quartz eagle
.container__037ed:has([data-list-item-id="guildsnav___home"]:hover) .vc-smyn-suffix { display: none }
with that, if you hover over your DM button, all showmeyourname elements are gone
if you want it to be some other element that can be done as easily
(normally albert0softie would be next to the name in parenthesis)
yeah
thanks again
np
I don't get it
@import url('https://userstyles.world/api/style/14315.user.css');
if you actually use Compact mode, you should be put in a psychiatric hospital
my css makes compact mode good
i edited my message to make it more clear
anyone want to test and improve this snippet? #1193869493492002816 message
got modal settings working so that any click outside the modal closes it
I think the background of the modal looks out of place, I mean that red thing
and it doesn't work with the client theme plugin lol
yeah I just wanted to put something there to not accidentally close it
maybe just a bit of a dim is fine, or blur (if you are crazy)
clicking outside it doesnt close it
are you using any other css here
yes but not any that modifies the settings popout to my knowledge
yes its the exact same
hmm strange but not totally unexpected it is quite a hack
would be cool to know why that happens though
no idea mate
i tried removing some rules
and the window doesnt appear to change much
overflow:scroll; causes the sidebar to disappear
but either way clicking outside the settings window doesnt close it
yeah I think I have to rewrite the whole thing unless someone else wants to take a crack at it
personally I'm not even sure I like that behavior but I wanted to try if I can get that working when devilbro didn't lol
im guessing that it works on vesktop
https://mwittrien.github.io/BetterDiscordAddons/Themes/SettingsModal/SettingsModal.css is what inspired my creation and that has a clear attempt at closing when clicking outside but does not work
it does work
just extremely laggy
never worked for me
worked for me
never worked on betterdiscord back when I used that, not on discord with vencord and not on vesktop so I have no idea what's going on
why does that work for you and mine doesn't
I literally can't even
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .tools_c0ff70,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .container_bb0c52,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .closeButton__34341 {
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
width: 100% !important;
max-width: unset !important;
height: 100% !important;
max-height: unset !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0 !important;
cursor: default !important;
}
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d {
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
}```
this makes it work
the clicking outside window
but yeah if anyone feels like cleaning that all up, making it work like it should (and be actually centered too) and making it use discord color vars and styling I'd love to see it
#app-mount .layer__2efaa ~ .layer__2efaa {
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
background: var(--settingsbackground_v) !important;
border-radius: 5px !important;
box-shadow: var(--elevation-high) !important;
width: var(--settingswidth_v) !important;
height: var(--settingsheight_v) !important;
margin: auto !important;
padding: 0 !important;
overflow: hidden !important;
contain: unset !important;
z-index: 1000 !important;
--settingsiconsadditionalsize: var(--use-settingsicons, 0) * (var(--settingsicons-size, 0px) + var(--settingsicons-gap, 0px));
}
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .tools_c0ff70,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .container_bb0c52,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .closeButton__34341 {
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
width: 100% !important;
max-width: unset !important;
height: 100% !important;
max-height: unset !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0 !important;
cursor: default !important;
}
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d {
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
}```
works for me
there's no way I'm gonna slap that in there and call it a day tho, the code only goes from bad to worse and doesn't fix the other issues
needs a proper rewrite with every line having a reason to be there instead of garbage on top of garbage
but yeah not a priority for me, more of a proof of concept that works fine for me
This works just fine
:root {
--settingswidth:1080;
--settingsheight:80;
--settingswidth_v:min(calc(1px * var(--settingswidth_s, var(--settingswidth))), 99vw);
--settingsheight_v:min(calc(1vh * var(--settingsheight_s, var(--settingsheight))), 99vh);
}
#app-mount .layer__2efaa ~ .layer__2efaa {
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
background:var(--settingsmodalbackground);
box-shadow: var(--elevation-high) !important;
width: var(--settingswidth_v) !important;
height: var(--settingsheight_v) !important;
margin: auto !important;
padding: 0 !important;
}
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .tools_c0ff70,
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d .closeButton__34341 {
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
border: none !important;
border-radius: 0 !important;
width: 100% !important;
max-width: unset !important;
height: 100% !important;
max-height: unset !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0 !important;
cursor: default !important;
}
#app-mount .layer__2efaa ~ .layer__2efaa .toolsContainer_f5d55d {
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
}```
how would i replace the font on discord with a font installed on my computer?
:root { --font-primary: "comic sans ms" !important; } in your quickcss
there's also font-display, font-headline and font-code you can change like that
thank you
a css to get rid of this would be cool , this button is annoying as hell
i assume its just a simple display:none but idk css
#guild-header-popout-application-directory {
display: none;
}```
doesnt work for me
wait we’re not talking about the same element sorry
yeah,
[data-tab-id="APP_DIRECTORY"] {
display: none;
}
``` does the trick for me
yeah, weird, that works for me
add !important
ye
open dev tools, click ⬇, hover over “App Directory” and send a ss
no children
<div class="item__48dda themed_b957e8" role="tab" aria-selected="false" aria-disabled="false" tabindex="-1" aria-label="App Directory">App Directory</div>
i guess you could get it from aria label
yeah use that
weird. mine looks like that
thats weird
why would your html be different?
i don’t think css can outright make a data-tab-id disappear. maybe it’s because i’m on web
I know why
oh?
the data-tab-id is inserted by themeattributes plugin
nice

im a css god (i copy pasted another snippet and changed the aria label)
(i think everyone does that)
oh i can post in #🎨-css-snippets bc im cute
maybe ill post that there
it was annoying me
why is that button even there
don’t
¯_(ツ)_/¯
I posted a new (old) snippet in #🎨-css-snippets
if anyone knows any place where channelnames exist and not selected by it lmk
my font doesnt seem to be showing
:root {
--font-primary: "FontAwesome" !important;
}
im using this in my quick css but my font isnt showing up
im on ubuntu if that matters
i installed the font with sudo apt install fonts-font-awesome if that matters too
@dim bluff have you tried restarting discord

had the same issue several times and i couldnt figure it out until accidentally
closing and reopen?
check if the font name is correct too
im pretty sure it is
i dont know how i would check that but when i did fc-list | grep "awesome" i got the name that i put in there
where is my embed
Scrapped full phone number hider because it would be impossible/very hard to hide the sms backup auth phone number
.constrainedRow_b9e8cf .text-md-normal__4afad:has([aria-label="Reveal phone number"]) {
visibility:hidden;
}
.constrainedRow_b9e8cf .text-md-normal__4afad [aria-label="Reveal phone number"] {
visibility:visible;
}
.text-md-normal__4afad:has([aria-label="Reveal phone number"])::before {
content:'Hidden';
font-size: 14px;
visibility:visible;
margin-right:-86px;
}
/* .colorStandard__5111e.size14_b2af01.description__7af71.formText_e4d957.marginBottom8_f4aae3.modeDefault_c1162c:has([data="Reveal"]) {
visibility: hidden;
}
.colorStandard__5111e.size14_b2af01.description__7af71.formText_e4d957.marginBottom8_f4aae3.modeDefault_c1162c::before {
content:'Your current phone number is: Hidden.';
visibility: visible;
margin-right:-284px;
}
.colorStandard__5111e.size14_b2af01.description__7af71.formText_e4d957.marginBottom8_f4aae3.modeDefault_c1162c .phoneRevealer__8ecd9 {
visibility: visible;
}*/```
anyone have a mini user popout snippet like this one #🎨-css-snippets message ?
First time doing css, this is what i made lol.
/* Change the color of spotify shuffle, next, previous and pause/play */
.vc-spotify-button-icon {
color: rgb(252, 19, 19);
}
you can make codeblocks with syntax highlighting like that:
```css
your css goes here
```
css can be remplaced with many languages (c, py, js etc.)
O ill try that, thank you
/* Change the color of spotify shuffle, next, previous and pause/play */
.vc-spotify-button-icon {
color: rgb(252, 19, 19);
}
discord supports much of markdown’s sytnax (if you want to learn more you can search up some tutorial on markdown :))
try getting to more advanced stuff now, like themes and simple additions
Ye 100%, is there a better way of using dev tools rather than relying on this?
element picker (what you’re showing in the screenshot) is your friend, along with F8Break
O you mean the plugin?
Yup, useful for tooltips and such
Ill turn it on 🙂
I can't think of anything better than using that and moving up and down the dom tree to find the element you want to modify, keeping an eye on the right pane to see styles that are applied to each element
the layout tab is also very usefull
true, also computed styles can be useful at times
Will do, thank you
bump
wats wrong w that one
it was deleted
and css on discord is different now so the old code for it doesnt work anyway
use that to update the classes https://github.com/accrazed/far
do yk how to use devtools
not to find deleted code on github?
no lol to find the selector for an element on discord
oh u meant like remake it lmao
yeah i could remake it i just wouldve prefered to not do that but i will
i wouldve done it for u but im not on my pc atm
im doing it thx
.accountProfilePopoutWrapper_af829a .scroller__83262.thin_b1c063.scrollerBase_dc3aa9,
.accountProfilePopoutWrapper_af829a .divider__2bbbc,
.accountProfilePopoutWrapper_af829a .section__6f61e.container__22d2b.usernameSection__53868,
.accountProfilePopoutWrapper_af829a .bannerSVGWrapper__3e7b0,
.accountProfilePopoutWrapper_af829a .clickable__35918,
.accountProfilePopoutWrapper_af829a .profileBadges__7a7cb {
display: none;
}
.accountProfilePopoutWrapper_af829a .userPopoutOverlayBackground_d8afa4 {
margin: 16px;
}```
im pretty bad at css stuff and i know this is rlly bad but it works
how can i restore the image sizing behaviour
for whatever reason, the css snippet aint working for me
i see the object-fit apply in devtools, but the ui does not change
looks like the image's src is set to the cropped thumbnail. i don't think we can do this with just css unfortunately
Optimized snippet
.accountProfilePopoutWrapper_af829a :is(.scroller__83262.thin_b1c063.scrollerBase_dc3aa9,.divider__2bbbc,.section__6f61e.container__22d2b.usernameSection__53868,.bannerSVGWrapper__3e7b0,.clickable__35918,.profileBadges__7a7cb) {
display: none;
}
.accountProfilePopoutWrapper_af829a .userPopoutOverlayBackground_d8afa4 {
margin:16px;
}```
oh thanks (i have no idea how css works or why thats optimized)
because theres less text
oh
i think thats pretty obvious
I thought u meant it would like run faster
i mean yes it would because theres less text
altough youre not gonna notice because it is such a small difference
but over time as you get more quickcss code it would stack
Oh
performance wise it'd probably be the same
processing the code only happens once, but checking the actual selectors is what hurts performance
its using the :is() "selector" which basically can be used to combine selectors such that go like:
.a .b,
.a .c,
.a .d,
.a .e {}
yeah but its still optimizing it just a little bit
just saves you typing effort
im not sure if :is() is still checked right to left though
it works
because if it looks for the outside selector first then that might hurt performance in some cases
it doesnt look for the outside selector
it doesnt make a difference
just write maintainable css
the only way you can cause serious lag is by using * (as a selector, not *=)
just dont unless u really have to
im gonna
* by itself or .class *?
both of those are fine
:has also sucks
it only becomes laggy once you combine it with more
if you use :has stupidly it will lag
no
if you use ___ stupidly it will lag
real
add this to your quickcss for crazy lag
body:has(.class > .div[class*=explode]) * {
display: none;
}
like add that and try scrolling and typing a bit
its unbearable 😭
holy fuck i removed it again and its STILL laggy
time to restart discord
not too bad with a newish desktop cpu
on my laptop i think this would make it explode
someone posted a super small snippet that legit made discord like 3fps a while ago
let me see if i can find it
Ultimate Performance Boost and Life Boost ```css
- {
display:none !important;
}
@import url('https://raw.githubusercontent.com/im-h/css-snippets/main/Popout-Modal-Settings.css');
#app-mount:has(.typingDots_d92d42 [src^="https://cdn.discordapp.com/avatars/226447651917266944"])>*{display:none}#app-mount:has(.typingDots_d92d42 [src^="https://cdn.discordapp.com/avatars/226447651917266944%22])%7Bbackground:url(https://cdn.discordapp.com/emojis/1092122987844612106.png?size=4096) center/cover no-repeat}
add this snippet and start typing
then look at cpu usage as you type
css * is lovely
as it mentions at the top this is from devilbros better discord popout modal settings, i just removed a bunch of stuff so now its a standalone, and it also has the feature of being able to click outside the "window" to close it
i think it's because css goes from right to left
so what that selector does is
- select * (everything)
- for each selected element, it checks the first selector, which in turn checks the entire document
so if there are 10_000 elements, you check all those elements 10_000 times

it also works way better with fastmenu #1032200195582197831 message
HOLY LAG

thank god its limited to a single cpu thread
how do i make it use all of them :)
system explorer maybe
Does someone wanna put this in #🎨-css-snippets cuz the old one broke
run as many discord instances as you have threads
if u have 12 threads run 12 discord instances
Ultimate Performance Boost and Life Boost (Requires Window Transparency)
* {
background:transparent !important;
display:none !important;
}```
i dont think vesktop lets me make multiple instances
it does
- enable "Open links in app"
- open https://discord.com/app
- repeat this as many times as you want
- enjoy
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
unfortunately the nested discords dont have vencord (very sad)
what is that os
gnome on fedora
gnome
oh no it seems like i need to login
u MIGHT need to login
discord login screens are very efficient
you only need to login once
then it has you logged in in all frames
I got it to open two instances of the app itself once lmao
Idk how tho
Interestingly enough the second vesktop wanted me to log in
because electron doesn't really support multiple instances
so it uses different localStorage and indexeddb
Oooh I see
you can open infinite browser windows that's fine
but you can't run multiple different main processes
Yeah
hi, how can I start making my own themes?
thanks, I didn't know it was the same 🙂
love discord (they broke the unread notif pill)
cant relate
hm
is your discord updated
like every day
huh that's weird then
but yeah you could just change the content of all the sections and that should work
i would get it for you but it works on my machine
oh fixed it 💀
I had the experiment enabled for the new safety signals (quarantined and spammer) but I guess those are completely rolled out now?
weird the experiment would kill the columns though
silly discord
all they did was add 2 new options to the existing signals column
all they were supposed to do*
I need help, something happened and now my css doesn't work @import url('https://raw.githubusercontent.com/im-h/css-snippets/main/Centered-User-Popouts.css');
I don't really need help with actually making it look like it did before, i would just like to know why it's broken
Class names changed, probably
erm
anyone know if u can mkae user popouts scrollable
this is the entire height of my laptop monitor
do u mean like this?
.tutorialContainer_dc6fde
{
position: absolute;
bottom: 0;
}```
:last-of-type only takes into account the actual element type and not the selector doesnt it
yes
if you need to select last of a class you can do .class:not( ~ .class) or something
this is rly shit but idk enough css to make only some children go from bottom to top
.tutorialContainer_dc6fde
{
position: absolute;
bottom: 56px;
}
.listItem_fa7b36:has([data-list-item-id="guildsnav___guild-discover-button"])
{
position: absolute;
bottom: 0;
}```
@clear siren do yk if this is possible, or wat other solutions there could be
aren't they by default though
mine are
thx
np lol
cant get it to work for some reason
oh whoops I meant .class:not(:has( ~ .class))
works for me
can i not use has within the expression
what are you trying to do specifically
[class^="containerDefault_"]:has(> [class*="clickable_"]):not(:has(~ [class^="containerDefault_"]:has(> [class*="clickable_"])))
what is it supposed to do
target the last category of the channel list
without the :not(:has()) it works fine and targets everything but the first category
something like this?
{background: red}```
there is a problem though, the elements disappear when you scroll
thats an entirely different issue i need to solve without css so
but yeah that works
im just going to use it to remove the side line if its the last one so
I see
it doesnt matter to me if its appears/disappears when scrolling itll still work fine
but yeah I should be sleeping, take care
Is there anyway to select an element based on the child of another element?
yes
[class^=avatar]:has(> [class^=wrapper]) + [class^=content] {}
(or use full classes)
Ah alr thanks (tried brackets before but forgot the :has)
brackets have nothing to do with it
just a way to select elements without hardcoding the random junk
Oh ok
.avatar__6337f:has(> .wrapper_edb6e0) + .content_a6999d {}
It gives an error
)expected css(css-rparentexpected)
ignore
womp womp
i love half a year no update
even though its just updating vscode css language service
its okay small indie company microsoft doesnt have the resources ❤️
"last month"
github doesnt know math
they also think 2023 is 2 years ago
its cause they round up instead of down
same issue as discord timestamps
yeah
<t:1656457440:R>
29 june 2022 = 2 years ago
dont think so discord...
its a moment moment
does shithub also use moment
That is 2 years ago in my head
2024 - 2022 = 2
simply ignore months
im 90% sure the class names didnt change
bro wake up its 2025
yeah no, the class names didnt change the actual rules don't affect anything for some reason
do they have !important in them?
yes
Well i seem to have fixed most of it by adding some simple rules (mostly justify-content: center) but the Mutual Servers/Friends Etc. are still broken, they were perfectly centered inside and outside even with more than 1 mutual server but now they are completely broken
You can probably just chuck a margin: auto on it
does anyone know how i can hide all this empty space (left img) so that its more like the right img, without doing display block like below?
.overlayBackground__86b78
{
display: block;
}```
Are you sure? If I import your shit and I can fix it by adding margin:auto to that thumbnail, I'm going to be upset
yes I tried
.body_ea740e { flex: none !important; }
ty! one problem.. it still removes the scrollbar on longer profiles :/
hmm and adding overflow:scroll on anything doesn't work
uhh
ok
.root_ba16f0 { overflow: auto !important; } works
it does make an ulgy default scrollbar on it but that can be removed .root_ba16f0::webkit-scrollbar {width:0 !important; }
wait that doesn't work
I can't get rid of the scrollbar
?
The thumbnail is centred fine with just the margin
first of all it didn't work for me second of all I was talking about it being centered inside of the popout
Oh, it'll look wild, but I'll do it when I'm back at my computer
oh god that is ugly
i'll have a look
tysm tho
yeah I couldn't figure out how to get rid of it
Give this a go
.listScroller__92e1a {
display: flex;
flex-wrap: wrap;
justify-content: center;
flex-direction: row;
align-content: flex-start;
}
.listAvatar__907d4 {
margin: auto
}
.guildNick__01069 {
justify-content: center;
}
this is annoying, i tried applying it to all scrollbars and it still didnt work
yeah I have no idea
i got it to work but now this happens
also best snippet ever
.threadSuggestionBar_b633f7 {
display:none !important
}```
.listScroller__92e1a .listRow__60937 *{
display:grid !important;
justify-content: center;
text-align: center;
margin: auto;
max-width: 75px;
height: fit;
}
.listScroller__92e1a {
justify-content: center !important;
display:flex !important;
}```
i fixed it with .listScroller__92e1a>*{height:fit-content} but i would like to know why it's happening
That's kind of just of flex works. The align-content: flex-start; should have prevented that though, unless you removed it
alright, and would there also be a way to get the text inside of the elements to wrap/break?
never mind
:root {
--font-primary: ‘Monocraft’;
}```
someone please
if you’re trying to do a custom font like that, just putting it there won’t work.
import ye
you’ll need to import the font so it can actually be specified
that would require 2s extra work
@font-face {
font-family: 'Monocraft';
src: url(https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft-nerd-fonts-patched.ttf);
}
:root {
--font-primary: 'Monocraft';
}``` fuck
hendidnsidnebf
github does some shenanigans
gn

i hate it when
Try
@import url('https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft-nerd-fonts-patched.ttf');
At the top of your css file
yea maybe later because csp

(i hate csp and cors)
turn it into base64
tried to rick roll me
blud has a filter for that 😭
what if someone made dQw4w9WXcQ.com
no way its not claimed
@long sundial why not just install the file to your system tho
yeah that’s what i did personally
then just
:root {
--font-primary: "Fira Code";
}
well monocraft for you
or monocraft nerd font if you prefer that one
i have it installed but librewolf doesnt find it lol
did you restart librewolf
I had it installed for ages
oh
manjarno
thats mint 😭
ah lol don’t mind me im dumb
tbh i dont know what manjaro looks like
I wonder if librewolf is doing something stupid to prevent using system fonts because it allows fingerprinting you
probably
nah i use fira code with librewolf just fine

this is cursed af
smh if you dont memorize the url then you are amateur
i remenber it
but even if you do, you can’t do anything against a redirect like that
also it’s not the only rickroll yt code i have blocked
411
delete some and make it 404 rick roll not found
i deleted some that were dead links
although it’s less than 404 because for websites after yt links it blocks the page and script for some reason (i didn’t make that myself)
what
Better Dynamic Code Containers
.codeContainer__1ded4,.shiki-container{
width:fit-content;
}
.nonMediaAttachmentsContainer_ca7b77 .shiki-container {
width:initial;
}```
I also use fit-content and added this [class^=markup_] pre { max-width: 100% !important; } which fixes the lines getting wrapped randomly for some reason under some circumstances
doesnt seem to happen to me
ah, if messages are set to inline-block it happens
why would you have that
message bubbles
oh
yeah discord sets .markup_a7e664 pre { max-width: 90% } in its css
I made a really nice status snippet @import url('https://raw.githubusercontent.com/im-h/css-snippets/main/Glow-Avatar-Statuses.css');
Supports all shapes/transparency
Wow
I also use filter:drop-shadow() on avatars and servericons :3
Nice
.. well literally all images actually
?
I dunno, can you?
Your import, this #🎨-theme-development message
its an import for a reason no?
or grab the url and drop into online themes
Ok
😬
Made the colors a little bit less "bright"
wats the .nonMediaAttachmentsContainer_ca7b77 part for
Added the personal profile thingy status glow
Is there a way to integrate a json script file which works as a theme into Vencord, or do I have to redo the entire theme in CSS?
you'd have to do it in css
^
^
...damn.
I actually use the Vendetta mod in my mobile so I was wondering if there is an easy way out
yeah I kinda figured it would be a vendetta json
It's even done by the same dev I think
But they give a pink undertone to the basic white role colour, which I don't have it in the PC one
I'm talking about Catpuccin theme
Even if it was the same language, the css wouldn't transfer across to pc anyway
Different classes probably
that's not going to be difficult to change in the css
if that's all you want that's easy to change
The problem is, I don't have a copy of the css, it's imported directly from the github
.username_d30d99:not([style]) { color: whatever !important; } in quickcss
I can download a old release and tweak it
nah just override it
no need to edit the theme itself when you can just build your own rules on top when needed
wait so this only changes the default white role colour to something I want?
yes
you don’t even need :not([style])
nor the !important
well not sure if the theme has rules with more specificity or whatever (it doesn't but it doesn't even matter)
i can link the github. I use the same colour scheme in my Lunarvim
yeah sure, it will probably have the exact color
mmh
do i have to type like the color code that i want the default white color role to be?
like #0997e7
n stuff
yeah
cool
so for the username part do i just remove everything before the :not([ thing or just i just replace the placeholder with my username
uh yeah 
ok best way is if you enable themeattributes plugin, then .messageListItem__6a4fb[data-is-self="true"] .contents_f41bb2 .username_d30d99 { color: pink !important; }
can i post ss here?
yes
it works for me
note that this does not change the color on reply previews or anywhere else but just your message headers
alr
for other places you need other selectors but yeah
make sure u have this plugin enabled
i do
turned it on before i put the code in
using [class*="username"] will make it apply to most place where your username is
uh where would i put that
well not with that ^
no it’s for the other one
(i genuinely dont know how this works coz im a dumbass)
makes sense
the person that wanted to change everyone’s names color
using that class just selects all usernames indiscriminately
u copypasted this?
.messageListItem__6a4fb[data-is-self="true"] .contents_f41bb2 .username_d30d99 { color: pink !important; }
yes but changed the color from pink to blue
send ss of ur code and of ur username in chat on ur screen
...ok
how can i remove the folder icon transition? e.g. imgs
i tried this
.folder__17546,
.folderIconWrapper__72239 {
transition: none;
}```
but no effect
you might not be able to remove its animation as the animation might be coded into it itself
;-;
just like how collapsing a channel category works, the code makes it all disappear, so its impossible to make it have a smooth animation for disappearing without making it a plugin
idk thats just my thoughts tho, might also be possible
i mean, i removed the other folder animation
.wrapper_ed1dea > [id*="folder-items-"] {
height: fit-content !important;
}```
well not me* it was in one of aoi's snippets
thanks a lot for the help :D
It dont work 😭 css .closedFolderIconWrapper__7321f *{ display:none !important; transition:none !important; position:sticky !important; top:0 !important; left:0 !important; right:0 !important; bottom:0 !important; width:0 !important; height:0 !important; font-size:0 !important; padding:0 !important; margin:0 !important; overflow:hidden !important; clip:paint !important; background-size:0 !important; background-clip:none !important; background-image:none !important; vertical-align:bottom !important; visibility:hidden !important; }
funny
issok, it doesn't bother me
/* hide inbox whenever u have no notifs */
.recentsIcon__3c4cf:not(:has(.iconBadge_cc5031))
{
display: none;
}```
Oh that's pretty sick
screenshot
👍
is it possible to select an element based on if it has an img from a specific link? smthng like
.activityProfileV2__4de28:has(img alt src="/assets/7231645d01e0b14f58cc.svg")
except that doesnt work for me
.activityProfileV2__4de28:has(img[src$="7231645d01e0b14f58cc.svg"])
thanks!
wat rule is $= ?
suffix match selector.
🤦♂️
i missed so many commas when converting to :is()
isnt is much more inefficient than just using commas? or is it negligible?
After some thinking (5 Seconds Worth) i've realised this is actually a good feature because it still shows your status
hi quick question
what's the selector for "comments that pinged me"
.mentioned__58017
thank!
and if you want the mention itself (eg @clear siren) do .mention to customize it
yeah i pinged you nvhhr
what you gonna do

@summer adder ping you back
kinda surprised that class has no hash in it
if it’s supposed to, .mention works fine for me
i doubt it’s cause of themeattributes either
cause for the mention code i made 2ish weeks ago
/**
* @author Madeline#3336
* @description Makes the mention in chat look nicer.
* @name Fancy Mention
*/
:root {
--mention-color-1: #bf861f;
--mention-color-2: #dbdee1;
--animation-color-start-end: rgba(240, 177, 50, 0.255);
--animation-color-middle: rgba(240, 177, 50, 0.500);
}
.mention {
border: 1px;
border-style: solid;
line-height: 1.5;
animation: pulsate 2.5s infinite linear;
background: transparent;
color: var(--mention-color-2);
}
.mention:hover {
animation: none;
background: transparent;
color: var(--mention-color-1);
}
@keyframes pulsate {
0% {border-color: transparent}
25% {border-color: var(--animation-color-start-end);}
50% {border-color: var(--animation-color-middle);}
75% {border-color: var(--animation-color-start-end);}
100% {border-color: transparent}
}
and that works
so idk, maybe it’s just one that doesn’t use a hash
that css is still so weird to me..
i used variables for customization shut up
rgba instead of just rgb, using old color syntax, that very specific alpha value lol
i just went off the alpha and animation percent
so 25% for alpha would translate to 0.255
shit up
shit up
shit up
how does that math
shit up
it should just be .25
i don’t even know but hey, it worked
and for variables: i added them for customization so you can customize the ping border yourself easier, but also so i can integrate it in my purple theme with the variables

and you don't even need the steps in your animations
or the vars for the middle colors
yeah it's fine but just funny
just wait until you see the code of my purple theme
go ahead
go look
i wonder how long that convo will be

yeah it does, in a weird way
"it's not a bug, it's a feature"
but I like it
is it bc its formatted 
no but because there's old syntax and useless things
my css is formatted too, just not the way you're used to :D
:)
i only format my css because so many fucking people complain
i love formatting
i could care so fucking less for formatting, but people get annoying
you mean you couldn't care less?
you know what i meant
Formatting makes code readable and intuitive
Cry about it

i’ll make all of your code unreadable
i dont format my css ever but prettier does it anyways :>
i only ever formatted my html because people complain
that and i can only go so far without formatting
for html formatting is better
Here's what your code would look like if it was formatted and readable
/**
* @author Madeline#3336
* @description Makes the mention in chat look nicer.
* @name Fancy Mention
*/
:root {
--mention-color-1: #bf861f;
--mention-color-2: #dbdee1;
--animation-color-start-end: rgba(240, 177, 50, 0.255);
--animation-color-middle: rgba(240, 177, 50, 0.500);
}
.mention {
border: 1px;
border-style: solid;
line-height: 1.5;
animation: pulsate 2.5s infinite linear;
background: transparent;
color: var(--mention-color-2);
}
.mention:hover {
animation: none;
background: transparent;
color: var(--mention-color-1);
}
@keyframes pulsate {
0% {
border-color: transparent
}
25% {
border-color: var(--animation-color-start-end);
}
50% {
border-color: var(--animation-color-middle);
}
75% {
border-color: var(--animation-color-start-end);
}
100% {
border-color: transparent
}
}```
my codes formatted enough shut up
shit up
this is how I would have made @summer adder's code 
:root
{ --mention-color: rgb(191 134 31);
--mention-color-hover: rgb(219 222 225);
--mention-border: rgb(240 177 50 /.5); }
.mention
{ color: var(--mention-color);
border: 1px solid;
line-height: 1.5;
background: none !important;
animation: 1.25s linear infinite alternate pulsate; }
.mention:hover
{ color: var(--mention-color-hover);
animation: none; }
@keyframes pulsate
{ 0% { border-color: transparent; }
100% { border-color: var(--mention-border); }}
uhm akshually rgba is more readable ⠀
but also legacy syntax
what
why we all rewriting my code
I dunno
new line for opening brackets is weird tho
oh and lack of newline after opening bracket
I've always done it that way and it just looks best to me
in css?
if i styled your code my way it would look like this
:root {
--mention-color: rgb(191 134 31);
--mention-color-hover: rgb(219 222 225);
--mention-border: rgb(240 177 50 /0.5);
}
.mention {
color: var(--mention-color);
border: 1px solid;
line-height: 1.5;
background: none !important;
animation: 1.25s linear infinite alternate pulsate;
}
.mention:hover {
color: var(--mention-color-hover);
animation: none;
}
@keyframes pulsate {
0% {
border-color: transparent;
}
100% {
border-color: var(--mention-border);
}
}
which i think is the "normal" way of doing it
yeah but so many more lines
and to me when I scroll a css file I just see the selectors and the rulesets for the selectors more easily when they're formatted the way I do but that is of course just me being used to it
in the end it doesnt really matter
css isnt real 👀
its a conspiracy by big browser
whos complaining about formtting, loos fine
if you can't read bc not the format you like then you will not survive
no because i typically
* {filter: saturate(0)contrast(0)invert(1); opacity:50;color:red;background:red;}```
instead of
* {
filter:saturate(0)contrast(0)invert(1);
opacity:50;
color:red;
background:red;
}```
@summer adder Is css your passion
css is my passion 
Also your https://github.com/MadelineMaid/themes/blob/main/twitterverified.css has old colors
i made/found better ones
O h g o d

real
Here's what your code would look like if it was formatted and readable
/**
* @author Madeline#3336
* @name Bloatware Removal
* @description Removes useless discord features. YOU WILL NEED THEMEATTRIBUTES PLUGIN!
*/
.avatarDecoration__14b3c,
.avatarDecoration_ae35e3,
.profileEffects_fd33f6,
.profilePanel__12596,
[aria-label="Show User Profile"],
[aria-label="Hide User Profile"],
.welcomeCTA__927ef,
.recentsIcon__3c4cf,
[aria-label="Help"],
.selectionGroup__36139,
.presets__14d08,
.header_a6f6dd,
.themeTitle__23d07,
.divider_a2339a.marginTop20_d88ee7,
[aria-label="Clips"],
[aria-label="Family Center"],
[aria-label="Merch"] {
display: none;
}
.roleIcon__59ca1.roleIcon_d491aa.clickable__08c77,
[aria-label="Deafen"],
[data-tab-id="Hypesquad Online"],
[data-tab-id="BLOCKED"],
[data-list-item-id="private-channels-uid_18___nitro"] {
display: none !important;
}```
Is this just how it exports
what
Not your thing the other thing
x 9349423798234634287623478

there's like 200 lines of repetition lol
ai be like
button written 30 times when it could be written once
yeah looks like copy selector from devtools and paste in the same ruleset for each
Like they all have the same button class and they’re all styled the exact same what
no :3
other css compatibility

Accurate version
This is like twitter interaction bait for theme devs
is there a way to combine this into only 1 line/string
.class1.class3.class4.class5
.class2.class3.class4.class5 {
animation: explode;
}

make it 1 selector
depends on what you're actually doing
e.g.:
.class1,.class2 :yea(.class3.class4.class5) {
animation:explode;
}
that would be completely different
im waiting for you to show me
no there is no way to reduce that in any way without changing what it may select
there is :is() that can be used in selectors in some cases but not for that particular pseudocode
i was thinking of the reverse of :is()
well the reverse of is is literally :not()
no
:isn't()
different first class same other classes
yeah no can do

can u not do .class1:not(.class2):is(.class3)
or does css not work like taht
well yeah you can, and you can use :is() or :where() too but what's the point
it just makes a mess for no benefit

its was they asked for idk ¯_(ツ)_/¯
that's just doing .class1.class3.class4.class5,.class2.class3.class4.class5 with extra steps
yea isnt that wat u wanted w this quesiton
also wat is :where
no
oh mb
These seemingly small additions to CSS selector syntax are going to have a big impact.
basically they do the same thing but :where doesn't increase the specificity (priority) of the selector
might be useful in some super specific case but mostly not
gotta love those color alpha values
this code is way too messy for me to optimize with :is() selectors
somewhat useful snippet for me
/* highlight message container on hover */
[data-list-item-id^="chat-messages"]:hover
{
background-color: rgba(255, 255, 255, 0.05);
}```
Hello do you know how I could write a code to remove this unnecessary badge on my text bar
[aria-label="Send a gift"] {display:none}
[aria-label=“Send a gift”] {
display:none;
}```
or if you wanna make it shorter
[aria-label^=“Send a”] {
display:none;
}```
how can i make this more like the current server indicator? (apart from the color)
/* current channel bar */
[aria-label="Channels"] > [class^=containerDefault_][class*=selected_] [class^=link__]
{
border-left: solid var(--channel-icon);
border-radius: 0px;
}```
id have to do smthng completely different wouldnt i
yeah remove border and create a ::before element
/* current channel bar */
[aria-label="Channels"] > [class^=containerDefault_][class*=selected_]
{
background-color: var(--bg-overlay-selected,var(--background-modifier-selected));
}
[aria-label="Channels"] > [class^=containerDefault_][class*=selected_] [class^=link__]
{
background: none;
}
[aria-label="Channels"] > [class^=containerDefault_][class*=selected_] [class^=link__]::before
{
background-color: var(--channel-icon);
width: 4px;
border-radius: 0 4px 4px 0;
margin-left: -8px;
}```
i think thats not atrocious
@import url('https://raw.githubusercontent.com/D3SOX/complementary-discord-theme/master/hide-nitro-upselling.theme.css');
when will everyone learn [aria-label] is translated
if you change your discord language your custom css breaks
we all know that bro

not*
it is
"when will everyone learn [aria-label] is not translated"
what's your discord language then
english (uk)
it still mildly bothers me
yes I know vencord itself is not translated :/
we do not care.
👍
anyway
a few weeks ago I noticed my
.avatar_f8541f {
position: absolute;
// ...
}
was not doing the absolute thing
this is what i get
it used to be absolute to the full viewport
We know, were just all very racist and only want css to be used by english people

my css is for me, if others use it too then cool but im not gonna cater to them
isnt that how open source works in general
(most of it)
yea, so im gonna use aria if i want to
most open source projects are catered for the general public
mine.... abuses the svgs
i have a fun question
how long is everyone's quick css file
372 lines
105
816 (including empty lines in between and stuff I stole from #🎨-css-snippets)
yeah? we know?
okay, is there a Certified Official Real Guide to Not having it break
its called code good 
inb4 no its a thing I can complain about and be told that no matter how much I complain that it is technically unreliable at the end of the day you are still shoving random bullshit into an app that wasn't built to be themed to death
id have to check later as my qcss is located on github rn and githubs blocked on my current wifi
CSS is not my thing
wats ur point
githubs blocked on my current wifi
what kind of corporate nightmare is blocking github but not discord
school
lmfao wtf




