#🎨-theme-development
1 messages · Page 13 of 1
bing bing bing
😔
but not like making the direction opposite is difficult
lol
Keep it like that
Is there a way to do something like that (python):
["https://example.xyz", "https://example.xyz", "https://example.xyz"][randint(0, 2)]
in css ?
random.choice is crying in the corner
Oh thank 😄
no you misunderstood me lol
idt you can have any randomness with css
nope
a random function does not exist in css, though with usercss you can select the SASS preprocessor which supports such a function
or you could have a js snippet, or you could have an @import with a randomized value each load
the idea is pure css randomising
yeah I know
you can do it,. randomize image when refresh the page..
thats not what we are talking about
awh.. i misunderstood the above..
welp, you can do randomize @import by using api that redirect to random url from array..
Randomized is possible with discord
no
Uh yeah
Linear gradient id is a random variable every time you open the page
linear gradient id?
Discord has a section in their html structure that’s filled with svgs and gradients used in the app
Yeah, most masks / js animations have randomized (per session id) ids
yes you could always leech off some attribute an element has but we were talking about just using css code to get random values
though sure you can show me where that is
Not home to check my computer but you can select the start of the id for one of the gradients with has and from there just throw in whatever class you want to have affected
I did it to randomize the loading screen message in my own theme
I’ll see if I can copy something from my phone to show as an example
#app-mount:has(>svg>linearGradient:first-child[id^="a9"]) .tipTitle_a7615c:before {
content: "Calibrating flux capacitors";
}
#app-mount:has(>svg>linearGradient:first-child[id^="a9"]) .tipTitle_a7615c:after {
content: "Submitted by @ItsChiefGrief";
}
#app-mount:has(>svg>linearGradient:first-child[id^="ba"]) .tipTitle_a7615c:before {
content: "Caution: Contents Spicy";
}
#app-mount:has(>svg>linearGradient:first-child[id^="ba"]) .tipTitle_a7615c:after {
content: "Submitted by @DinosParkour";
}
Something like that
You can do the same thing for random images
Or whatever it was
yeah that makes sense, though it's a little clunky for elements that dont just exist once like messages or avatars
in your use case it works great but for a lot of situations it could start causing issues with performance
this thing again
i need people to test the height selector and tell me what values they get on maximised
for me its my screen resolution minus two pixels, probaby for detecting if im hovering the taskbar
i just read so much css docs
anyone that's reading this, try it please :3
the darkish gray topbar should disappear and the window close maximise bla bla buttons should move down
(well into the header that was further down, they actually only move 4 pixels)
i disabled all css and themes I have running and pasted that snippet only and this is the result
perfect, open your devtools, press ctrl and f and search for canvas
then it will lead you to an element that has a height and width value, tell me your height value please
make sure to have your app maximised
I get height 1402 on vesktop using discord titlebar, 1440p monitor, modified win11 taskbar to be smaller, no other css applied
if you're looking to make a selector that determines if the window is maximized there are much better ways
actually there might not be
anyways that will easily break because you can't trust the taskbar height to be consistent :(
It seems like I was indeed correct about using the > and space selectors, though I would imagine the difference is comparable to the one between ID and class
Steve Souders also said that custom properties are inefficient but those aren't worth mentioning because not even a deranged psychopath like me would ever get to 50000 variables (I dont have the time to name them all in pretty ways :)
👍
is it possible to edit css variables IN css
like var(--accent-color)+33
so accent color with an alpha of 33
you can do
some-selector {
--foo: 1, 2, 3;
property: rgba(var(--foo), .33);
}
Added 
thank you!! 
color-mix
^ vesktop/web only but v cool
I'm using hex colors </3
ill js change to rgb
i wish other discord clients could also support color-mix
it was for web actually so im good
I'm tryna make one of those link in bio pages
that I can just let other people use with ease
whar is that
i see
I want it to grab the dominant color from the banner canvas and theme the page off that
that's why
that would require some js right?
Yeah it does
I have it setting only one accent color
I js wanted to learn how to do it in css
cz ik i coulda js smashed a +33 on the end with js
but i was curious
thats why I dont really like hex colors
yeah i use them out of habit really
i can kinda create them in my head
whereas rgb doesnt make as much sense to me idk why
hsl is rgb tilted on its corner
whar
it is
true
the best color system is a single integer named color with no indication as to what system it uses
salmon
the color red can be stored as 11546150
time to create a sass module that's just mapping pantone colours to a sensible colour system, so that people who are only familiar with wall paint and wool dye can write css easily
never fucking mind
im too cute and stupid to figure out the link color class
i've tried anchor_c8ddc0 anchorUnderlineOnHover__78236, but doesnt seem to be it
am i just acoustic?
.markup_a7e664 a is the selector discord uses but either of those should also work (not both) and preceded with a . obviously
or you can also :root { --text-link: whatever !important; }
if you want to just change link colors globally you can do
.theme-dark {
--text-link: red;
}```
just for later use, what other --'s are there?
surely theres more than just --text-link
would be useful to know them or know how to find them
if you scroll down on the styles in devtools you will find them
assuming they're findable in vesktop as well?
yes
ahhh
you can then also click the app.xxxx.css
and it will take you to the file they're in
alright
yeah sorry for my dumbness over here lol, i learnt css but not a whole lot
i plan to take more courses in the future
I learned everything by just throwing random css at things and see what sticks, but also https://developer.mozilla.org/en-US/docs/Web/CSS/Reference
Use this CSS reference to browse an alphabetical index of all of the standard CSS properties, pseudo-classes, pseudo-elements, data types, functional notations and at-rules. You can also browse key CSS concepts and a list of selectors organized by type. Also included is a brief DOM-CSS / CSSOM reference.
thanks tho, helps a lot to know where i can find the styles
hehehe its even more of an eyesore now, i love it
got bored of the eyesore and made it less of an eyesore
changed text
need help again
i literally for the life of me cant find that little yellow rectangle from mentions
I don't even know what I'm looking at
oh I think you mean [class*=mentioned_]::before maybe?
ill try it
guys is discord supposed to look like this 🥺 🥺 🥺 🥺 🥺
erm no its supposed to look like this, duh
beautiful
[class*=mentioned_]::before should select it
I have it as display:none and styled the message instead
nothing, not changing
is the code good?
[class*="mentioned_"]::before {
color: rgb(128, 81, 172);
}
use background-color
color only effects contents which it has none
I did this
nicee
i broke it so bad holy shit 💀
skewcord
if broken (
what
else
huh
)
if(broken)
{
breakmore();
}
else
{
breakmore();
}
elseelse
{
breakmoremore();
}
well this shits pretty much done
--text-normal: rgb(128, 81, 172);
--text-link: rgb(161, 103, 214);
--channels-default: rgb(128, 81, 172);
--interactive-active: rgb(128, 81, 172);
--channel-icon: rgb(128, 81, 172);
--interactive-normal: rgb(128, 81, 172);
--mention-foreground: rgb(161, 103, 214);
--mention-background: rgb(84, 54, 112);
--background-mentioned-hover: rgb(61, 39, 82);
--background-mentioned: rgb(63, 40, 85);
--text-muted: rgb(128, 81, 172);
--header-primary: rgb(128, 81, 172);
--brand-experiment: rgb(128, 81, 172);
--brand-experiment-560: rgb(128, 81, 172);
}
[class="repliedTextPreview__90311 clickable_d866f1"] {
color: rgb(128, 81, 172);
}
[class*="mentioned_"]::before {
background-color: rgb(128, 81, 172);
}
.liveShapeRound__811c0 {
background-color: rgb(128, 81, 172);
}```
best used with clientheme plugin, with the color code #352a4e
drop a pic
with:
without:
really goes well with the client theme plugin, with the color #352a4e
now time to put it onto a github repo so i can just use @import instead of clogging up space
there we go
if you want the repo
purple.txt
no I mean it should be .css, but maybe it works with an import anyways
yeah it does work, but thx for the heads up
there i updated it to be .css
yo, any way to recolor the discord logo when started
this fucker
i get its like a looped video but is there a way
?
yeah you can
video[data-testid="app-spinner"] {
filter: saturate(0) brightness(0) invert(74%) sepia(4%) saturate(3176%) hue-rotate(196deg) brightness(101%) contrast(103%);
}
quite cursed
you can use this tool to generate the filter to turn the spinner into any colour you want https://codepen.io/sosuke/pen/Pjoqqp
video[data-testid="app-spinner"] {
filter: brightness(0) saturate(100%) [... - YOUR GENERATED FILTERS HERE];
}
alright, thanks
hug
huh
they use a video element for the spinny thing
why arent they using an svg animation
discord moment
because they're just feeling a bit silly
but thank you, now it actually looks good
so that now means that this, is officially considered a theme instead of just css to me
wonkycord
Wow, this would helped so much in some of my projects
is there a way to replace this shiggy with another gif or svg? or just what is the selector
doubt it, even if there was a selector for it it probably would not be stylable
I might be wrong though
there could be something in vesktop's source code
replace it and build from source is the solution I could think of
css won't effect it as I predicted
thanks anyways
anybody know any secret spots of discord i wouldn’t find normally to color
making a theme and want to color all possible stuff
mabe the ctrl + K and the ctrl + / menus
what does ctrl K do again
i’m not near my computer rn
and won’t be for like 3-4 hours
Quick navigation dialog
be sure to rice up the delete account page too
nitor page
those all take seperate colors?
damn discord you really like doing things the hard way
they use the same color variables as everything else really
noted that i have to do all those
think i’m also gonna end up making the bg colors actually part of the theme instead of just telling people to use a specific hex code in clienttheme
just seems easier
(and most the time they won’t even see the comment i left for it cause they would probably use @import)
ctrl / done
and apparently ctrl k is already affected, but thats probably only due to the clienttheme plugin being enabled. still will have to change its color
but at least its good to know what it'll look like
you can change their color with --scrollbar-thin-track --scrollbar-auto-track --scrollbar-thin-thumb --scrollbar-auto-thumb
just pushed out an update to my theme
now it actually colors the client itself instead of relying on the client theme plugin
i went from 34 lines of work
to a whopping
95
nah i like doing it myself
just make sure your theme doesn't explode discord
a lot of lag comes from themes that change a lot of stuff
so far it runs silky smooth as if it doesnt even have the theme
ClientTheme doesn't hurt because it only changes vars
I think it nice to cause lag and problems so that only the most stubborn fuckers will use your theme :bran:
how can i change pfps?
like as in webhook pfps that dont have a pfp assigned
i wanna do this because i know darn well the pfp isnt gonna change
and for personal use
i think theres no way to differentiate between a webhook and people using no pfp with pure css
you can match avatars using that specific img as their src and change the image, but it'll also affect people with no pfp

.avatar__08316[src="/assets/5d6a5e9d7d77ac29116e.png"] {
content: url("https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless");
}

{ content: url("xxxx") !important; }``` will this not work? won't the webhooks have a username?
what does -xxxxxxxxxxxxxxx stand for here
the userId of webhooks is just the webhook id
random numbers that each user has I dunno what they are
just this works
oh you're right the 'username' is random for each message, nvm (or rather it's the timestamp)
anyways it worked, thx. doubles as my call to action and for suspicious accounts
if you care, i can add a way to differentiate whether a message is a webhook, bot or user
via the ThemeAttributes plugin
would be really easy
yeah those could be used in a selector
webhooks do have data-tag="webhook" in them
yeah but still
.messageListItem__6a4fb:has(.botTag__11e95[data-tag="webhook"]) .avatar__08316[src="/assets/5d6a5e9d7d77ac29116e.png"] {
content: url("https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless");
}
cursed
ill disable the plugin and see whjat this does cause im too dumb to figure out myself
so far i see no difference
@cloud jolt
nope
then again
im stupid
venbot isnt even a fucking webhook

weird
even with everything turned off and that code put in
im not seeing anything
@edgy sentinel im big stupid, what is this supposed to do

yeah bestie 😭
you can use the previous one too
this one ONLY targets webhooks
no normal users
alrightie
yeah i had disabled it for this css cause i thought i needed to 😭
alrightie ill go look at it on my github webhook
erm
what the carp
nothing
and the codes in my quickcss!!!
yeah because that has an avatar
:3
every bot is shig
that's easy enough, img { content: url(shig.gif) !important; }
lemme try
ill put it in theme folder so its toggleble
okay so
you got the wrong shiggy gif destination
or something happened
maybe i just need to refresh my client after
nope
maybe. dont put it in theme folder for toggling.
img { content: url(https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless) !important; } works in quickcss
but now that I removed it all avatars broke lol gotta restart client
lol
so easy fix for this
put that exact code
into a css file
and into the themes folder
when you toggle the theme back off
all images reset
so your icons wont be broken
yeah well not like I want to keep that as a theme lol
want more amazing? * { background: url(https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless) !important;}
please tell me
that this just makes
the background of discord
shaggy
shiggy*
fuck off autocorrect
perfect*
scary
shiggy overdrive
how can I find the variable that controls the colour of a button when it's pressed or hovered over, like those blurple ones you just find around discord or even ones like the delete account option?
how do i edit the message text class? i tried span but its not working
(message text class as in the text element that displays message content)
are you familiar with using devtools? there's so many classes and ids to choose from
yeah, i tried all the classes but none of them do anything
:3
this was annoying me so i made a thing, idk if others would find it useful
.theme-dark .container__7590f /* 'browse channels' background */
{
background-color: var(--primary-600);
}
.theme-dark .scroller__81266 /* 'customize' background */
{
background-color: var(--primary-600);
}
.theme-dark .container__10dc7, /* header background */
.theme-dark .header__60bef
{
background-color: var(--primary-600);
}
.theme-dark .innerHeader_afca2f:after /* hide little gradient thing */
{
background: transparent;
}```
left: without
right: with
it will follow whatever theme u use
legacy 
import-use-vesktop-you-moron.css
:c
a bit too rude
what if some would just rather use betterdiscord against all odds
dont support them
I think db's plugin lib adds some class or something somewhere, should do some prank on them
mutual db hate
wouldnt know from all those lines
betterdiscord probably adds something somewhere by default
ima try
https://github.com/MiniDiscordThemes/Snippets/tree/main/ModTitle uses :root:has(bd-body) to select bd
😭
i see nothing
huh

@vast delta
* {background: url(https://media.discordapp.net/attachments/900907149079744532/1177765879287648316/image.png?ex=6573b2f3&is=65613df3&hm=a67dfcc506f6caaf09123a7d939b1b2f757da11e6bd78e1834b8975aa79df28e&=&format=webp) !important;}
do it
wait that’s the wrong code
i’m stupid
that one was code for a friend
@vast delta * { background: url(https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless) !important;}
that one’s the right code
I CANT CHANGE IT LMAO
made by @clear siren
lol
(just delete the code from your quickcss or the theme file if you used a theme css file)
if you want a more tolerable one
img { content: url(https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless) !important; } works in quickcss
(still made by @clear siren
the best thing is that that class is always there when using betterdiscord
sorry coolesding but i dont want death threats sent to my mailbox
this ONLY exist on bd
what’s this do lol
try it on bd
if you use betterdiscord it will blank your app
aka it softlocks betterdiscord users
it makes :root or in this case html be blank when id=bd-stylesheet exists
they have to somehow reset their customcss file
oh thank you i’m gonna use this for evil now
:3
:3
every piece of code ill make that doesnt rely on vencord plugins will have this, starting with radialstatus
should make one where it removes everything, and just adds text that says smth like “fuck off bd user”
do i post in snippets? xd
:3
lmao
i uninstalled discord again so i cant confirm if it will work
lmao
also i’m curious how do you get access to talking in #🎨-css-snippets
just curious in general

should just make it display a hop_on_vencord.gif at a random trigger
img { content: url(hop_on_vencord.gif) !important; }
you have to have any role basically
either donate to ven on github or just be active and post cute things in #🧊-off-topic-iceman-only
is boosting an option
actually I'm not sure donating even works and neither does boosting, there is a snippet dev role that you can get by requesting it from a mod
if you post good css stuff then youll get it
be active and helpful
unlike this, i actually make some good css stuff sometimes haha
good to know the theme i made colors the update notif
oo nice
is this a w or nah
What is that
much better
never for betterdiscord
USERCSS
@edgy sentinel IS IT TIME NOW????
also i cant find it, what class is the bg of this thing
🤔
PLEEEEEEEEEEAAAAAAAAASSSSSEEEEEEEEEEE
So ... Customizing theme directly in discord?
background of what?
I don't get it sorry
it lets you use a preprocessor on a theme you downloaded
you can make a plugin like interface to edit variables
it is so cool
you can (when sass is added) use a randomising function
IT IS SO COOL
i need it
you can prob use F8Break to see the class
only for downloaded themes :(
its a little complicated, ill find it one sec
alr
layerContainer_d5a553?
tooltip__01384 tooltipRight_e5fa1c tooltipPrimary_e5c00d tooltipDisablePointerEvents__14727 listItemTooltip_b1b92d
this is the one with background
ahhh alr
tooltip__01384 will probably select all tooltips like that
it's hard to distinguish tooltips
not changing the color of it
tried color, background, background-color
am i being acoustic with my code?
background-color: aqua;
}```
ill try putting a !important in there
nothing
fill doesn't work either
oh god...
i think im being acoustic rn
i hope you didnt do that everywhere
...it works though
some of them i did .[class]
use .class everywhere
so what do i do with the spaced ones
if it is a class, use .class
ex:
send screenshot
ah alr
i cant tell you why (actually i can)

just use .icon and .name
if it doesnt overwrite, add !important or the parent using >
i think i was trying to combine them all in one
why did i do that
i gotta stop trying to code at 2 AM
your code says "search .icon and go up the tree until you find modeMuted, if that happens give it that color, same with .name"
now what was i trying to do for this one wtf
anything with colorDefault (i think that is text) that is active but not hideInteraction
ahhh
.color classes always remind me of text nodes
im assuming ::before still works with the .
i can only recommend my long message (because i like the person that made it [not real]) [do not read the sources, it's so much text]
yes but your class wont work lol
you had [class^= before that, which means starting with
okay so for this one it stays [class^="mentioned_]?
you can open your devtools and press ctrl F while focused on the element tree to open a search, there just paste in [class^=mentioned] and it will highlight all elements that fit that
ahhh
that would be the rehashproof version (means that it wont break unless discord specifically renames the class manually)
well time to do it
you may remember when discord changed all classes and everything changes so all themes broke, no themes using just [class^=] broke (of course mine did because i used the trailing -)
ahhh i was putting the ::before for this yellow thing
makes sense
so ill leave that one be as a [class=
back to optimizing the rest of this code
there
all of it is now .
it is your decision what you want to do, attribute selectors (the one in [] brackets) are pretty bad performance and can cause your theme to start lagging, .class selectors need you to update the classes every time discord changes them, though i linked a script to do that automatically [here](#🎨-theme-development message) as well
nice haha
good, putting it in a . also solved my problem lol
(i always use bright colors first so i can actually see if it changes)
same
y'all think this color matches
(rectangled because i decided to show the whole screen so you can tell if it matches)
oof i think it needs a little more contrast
yeah thats what i was thinking too
now thats too much contrast
in general your theme has low contrast between bg and text
but you see the difference immediately
?
that as well
thats good!
true, was thinking about changing the text colors too
maybe make them grayish purple
yeah you should make the text maybe almost white
pretty good, maybe a bit more
thats very good contrast, though it comes down to taste if you want it to be more purple than that
seems purple enough while also white
that looks good imo
i think the link colors are good for what the theme is aiming to be (purple)
yeah
up to you, you don't need to read them as much
it is slightly better than in chat because of the background being darker, it comes down to your taste if you want to make it lighter
though you also need a way to indicate a channel is muted, if you make a darker colour than that it would be pretty bad for readability
ill fuck around and find out, i personally like them but if other people wanna use this theme i have to think about them
yeah my thoughts too
i cant type
it's 2 weeks ago .
--interactive-muted
put !important
works for me
oh sorry, i got excited
ahhhh yeah
it is, .modeMuted__0aeea.name__8d1ec is
ill go change the colors from there
i remember doing that cause i wanted different muted colors, not ones that were the same as the reply ribbon
give me a good rgb color for muted
(css channels are the muted ones)
use hex :3
you could use the same color as the default but with lower alpha
what you should also do is forget rgb also and use hsl with your own variable for hue
example
I use oklch for color but not supported on LEGACY clients (aka not vesktop)
then I do things like this
and all I need to do to completely change my whole colorscheme is change that one hue value
theme settings ui that bd is working on
whats the default color
currently not at my pc rn
--channels-default on dark theme is --primary-360 which is hsl(var(--primary-360-hsl) / 1); which is hsl(214 calc(var(--saturation-factor, 1) * 8.1%) 61.2%) so I have no idea
just set your own colors 
ehhh good enough
yeah i should remove some red value
use hsl, you won't regret it
any way to recolor this
always is
damn
do you mean the emoji itself?
what gray
so when its not being hovered over
you silly, there are two grays
all of the above
madeline you're stupid :3
awww howd you know :3
do you want to change the emoji or the background?
emoji color when not hovered
select the svg element of the emoji itself and give it a color property, may need !important
alr
just gonna attempt .sprite__294b3
yeah, the little image has a grayscale filter that probably gets transitioned to 0 when hovered
.sprite__294b3 {
filter: hue-rotate(120deg)!important;
}
try that with different numbers
I think a better way to change the colors is to change the primary color variables themselves
since they will affect all other elements
well except that emoji icon
yo how can i recolor the user panel area for only when they dont have nitro
cause for people with nitro it just look
out of line
fellow ramona pfp haver


Does anyone have this element name for the talking user avatar in dm, because it didn't highlight when someone or I was talking, I fixed it only in the status bar, but when I try to grab the TalkingAvatar element in devtool it crashes...
hmmm, i did find a class called userProfileInnerThemedNonPremium__3d0a6, you might be able to just do not:(userProfileInnerThemedNonPremium__3d0a6) depending on the element youre targetting
you can try grab it in vesktop, standard vencord crashes when devtools are opened for some reason
Vesktop for some reason have different element id and its not working
huh, thats odd
im too stupid idk how to implement that
the code i have rn is
background-color: rgb(29, 22, 36)
}```
.userProfileInnerThemedNonPremium__3d0a6>.userPopoutOverlayBackground_d8afa4.overlayBackground__86b78 {
background-color: rgb(29, 22, 36)
}
thankies
if someone find this, please ping me
im pretty sure it uses a global variable, just use that instead of manually selecting everything
this variable gets changed I think
changed for what
she said only when non-nitro i think
well then yeah
should be a janky workaround just setting the variables at root
is there an animated version of scott pilgrim? i only saw the movie
I don't know how to feel about this
steamcord
how would I replace this with
when inactive and then
on hover?
is this possible with a CSS snippet? https://betterdiscord.app/plugin/ColorSighted
already a vencord plugin
how on earth did I miss that
is there a way to do something like
color: hsl(*,*,<20)
as in select an element with any color below a certain lightness value
If some one ever have this issue, just use this
.border_d9a17b.speaking__9b95a, .border_e782de.speaking__1dd69 {
z-index: 5;
box-shadow: inset 0 0 0 2px var(--ctp-macchiato-green),inset 0 0 0 1.25px var(--ctp-macchiato-green);
};```
replace var with ur color
sadly no
I guess you're trying to do something based on role colour?
Very easy theme because steam is so inconsistent
ya, atm im having to manually add everytime i see a dark role colour
meant to reply to the other msg but ykwim
Def one of the highest effort themes around atm, shockingly good performance too
that's what good selectors do for you
he used normal class selectors no?
they are performance wise superior
I sent a long message with all the information I gathered from reading like 2 hours
seems like you have learned your lesson
search for my messages in CSS dev that contain links
Yes, as opposed to the div>div>mydog>div stuff that occasionally gets posted
i am still correct that attribute selectors are superior functionality wise
if you read the message you'll see what I have to say about it :3
I'd argue that attr selector are worse for maintenance since decreased readability, otherwise agree
didn't have this on the channel list
they are much worse in terms of performance
so didnt know it existed
im so sorry
xd
but ye! lemme just repost my question
anyone know what this element is actually called? cause i cant seem to find a way to change it xD
then again, my port CSS is scuffed as shit, literally JUST learned about it
you can use the devtools to select the element and find out
how so? (also again, sorry my ass is like... NEW NEW to this
my advice is opening the computed section and slowly clicking from the element highest in the tree down to check which one has a background
only reason i got this far is cause this is a port of an already existing theme (which is in html)
turn on the setting and then press ctrl shift i
so a lot of the work WAS done for me
I'll tell you when I'm home
which was removed apperently?
ive legit just been looking thinking im going blind or smt not being able to find the setting for it (or developer settings tab after enabling dev mode for that matter)
it no longer does
it hasnt worked since like...late 2022
or atleast, that's when i noticed i couldnt do it anymore
Isn’t there the I know what I’m doing in the discord config files?
Or does vencord enable that by default?
send
it was originally comics, then a movie, then the anime came out a few weeks ago
its on netflix
you should watch it its great
scott pilgrim takes off
thats the one on netflix
netflix original too
so your only choice there is to use netflix free trial
also is it possible to code rng in css with a 30 second delay
i want to make the most eyestraining rng theme possible that changes everything in red here to a random color say like every 15-30 secs
okay
You could probably make a really long keyframe to do something like it though
Not random, but it may be able to change colors every 30 seconds…
I think you can put something like rainbow in an animation, but i don't think its random
how can i set styles to have the content of a url image
usually its
{content: url(link)}
but that doesnt work for styles
say i want to do
--bg-primary: but replace it with an image
but the image is from a url
how would i do that
would i be able to just --channel-icon: content: url(https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=128&quality=lossless)?
(example, im not actually using shiggy)
no
that's not how css variables work
you need to select the element and depending on what kind of element it is, there are different methods:
- img: use content
- div and co: use background-image
alr
how can i make this one a different color
i tried .tooltip__01384.tooltipRight_e5fa1c.tooltipPrimary_e5c00d.tooltipDisablePointerEvents__14727.listItemTooltip_b1b92d::before { background: rgb(30, 19, 43); } but that didnt work
am i just acoustic?
It's a border, can change it like this
.theme-dark .tooltipPrimary_e5c00d .tooltipPointer_a79354, .theme-light .tooltipPrimary_e5c00d .tooltipPointer_a79354 {
border-top-color: red;
}
.theme-dark makes it check every element up the tree to the highest element
if it's used as a check for dark theme, fine
and if it’s not?
also checks every tooltip pointer up the tree until it finds tooltip primary
it's just wasted performance
It's the selector Discord uses, not much to be done about it
discord is stupid that's why
true but only like 1 or 2 tooltips are visible at a time so it really has no significant impact
probably better than an attribute selector performance wise
yeah but it's bad practice
I've seen themes put like 4 or 5 nested selectors after each other
especially #app-mount is stupid
I generally prefer to use their selectors over forcing it with an !important or doing something stupid like chaining a single class as many times as it takes to one up the specificity. It's easier to provide support when themes aren't constantly trying to one-up eachother on specificity
just use one theme :)
also, quickcss takes priority over local or online themes if I recall correctly, which means that installing a theme should cause issues with snippets, unless something else is changed in which case it doesn't matter what takes priority
There are people that use multiple themes at once which causes some issues. I'm not sure how Vencord handles quicks css to have it force priority regardless of specificity(if that's what you're saying there), but Better Discord just links it after themes/plugins; which means it takes priority assuming specificity is the same, but the specificity fuckaround still exists
Vencord handles quicks css to have it force priority regardless of specificity
pretty sure it doesn't. the theme i develop is constantly sitting in my quickcss, and occasionally i will run into specificity issues and have to add a parent class in order to select something
however it will override any discord css/theme css with the same specificity because it is applied last
Yeah, in that case if specificity is ever in question I find it best to just stick to a standard to avoid issues, and the only real standard we have is the native CSS
Wish nesting without the output being a massive selector chain was possible to set as a top-of-the-sheet rule
Makes it easy to figure out what the selector is for without having to comment every line
But all you can do is spam @at-root which looks like ass, so I chose the lesser(?) of two evils
I'm a dummy who just doesn't like css nesting, but why nest if you don't need the ancestor selectors?
You're not required to nest just because you're using Sass, you can still write rules as normal
quickcss has priority over themes I think
yes
stylesheets appear in this order (and thus have priority from bottom to top with bottom being the highest priority):
- Discord
- Vencord core
- Themes
- QuickCss
- Vencord Desktop (by limitation, but shouldn't conflict with ur css)
vencord desktop?
vesktop
yes I know but what about it has CSS? just the vesktop settings page?
It only has priority assuming rule specificity is the same though right? That's what me and Refactor are saying
yes
you sometimes have to boost priority by making your selector more specific or use !important
Yeah, that conversation was about me preferring to use discords selectors rather than using !important or stupidly specific selectors as it makes support easier
Im making a modified version of the ULTRA theme but with my own coloursceheme, however ive hit a roadblock xd
how does one make ONLY the text on the accent colour elements black?
will provide the theme in chat if yall want
well to fix that top bar, find barBase in your css and add color:black on it
cause they...dont follow the common formatting i see in other themes
the theme css does not contain the term barBase
oh also, do wanna revert the status icons back to how they are on default discord
no clue what does that
hmm well there's no super easy way of fixing the colors on all elements that use accent background
--white-500: black !important; will fix quite a lot
just worried itll make ALL white text black xd
put it anywhere or in a specific category??
in the same place where all other variables are declared
ait ait
it does change a few elements it shouldn't but nothing major as far as I can tell
it hasn't changed the ping number by the looks of it
but generally it has done most that i wanted it to
ive noticed some stuff break tho
yeah there's some buttons in settings that don't have a background for an example
pressing on yellow elements now has them turn a sort of dark blue? (#3D459F) however that colour is not found in the theme by both the rgb and hex valiue
since for some reason they use both
yeah that is brand-experiment-600 when using the read all button for an example
oh yeah hover is 560 and active is 600
600 is never specified so..guess i should do that
sorry for my stupidity btw, my ass has barely came across brand-experiment or anything like the theme im using rn
before this was Vendetta themes...which are all almost basic html
when it comes to editing
yeah discord css can be a pain with all the variables and general spaghetti code
yeah xddd
Only things left on the dining board
-Changing some of the unintended blackenings
-changing the colour of unread channels
- reverting back the position of the status icons
and before anyone says "just use Devtools" i literally cant
it crashes (and used to log me out before i turned on NoDevToolWarning) my client
if i could use it i would have
use vesktop :3
^
me when nobody uses vesktop (way more superior)
I am trying to hide the discord home button but non of these work. Does anyone know why?
`/* Hide Home button in Home /
a[data-list-item-id="___home"] { display: none; }
/* Hide Home button in Home /
a[data-list-item-id="guildsnav___home"] { display: none; }`
it's not an a element, it's a div
other than that you're on the right track
note that making that part display:none will leave an empty space which will still be clickable to go to DMs, is that what you intended?
i want to hide it and make it unclickable and there be nothing there
so that i dont get distacted by group chats and dms i dont want to leave
what would be the correct thing to hide it and make there be nothing where it is
so if you want to remove it entirely I would do .tutorialContainer__890ea {display:none!important;}
this works thank you
i would’ve said the same if i were here lol (stupid school bus broke down)
glad to see it solved

i made a css snippet that makes message bubbles, but currently it rounds the corners on every single message. How do i only modify the border-radius of the top and bottom message, to make the illusion of a full bubble?
.message__80c10
{
background-color: rgb(10, 10, 10);
border-radius: 20px;
}
alright, i figured out the class for the first message but not the last one, and im not sure how to remove the spacing of the background colors
.groupStart__56db5
{
background-color: rgb(12, 12, 12);
max-width: fit-content;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
margin: 5px;
display: grid;
}
.message__80c10:not(.groupStart__56db5)
{
background-color: rgb(12, 12, 12);
max-width: fit-content;
margin: 5px;
display: grid;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}
didn't ryan already make a working css for you #🎨-theme-development message
oh i totally forgot oop 💀
wait yeah im just now realising why are you doing .theme-dark
Because theme light is inferior
need to find out how to change the bg of this, cant find it for the life of me
like the command
i already got its class
wait i figured it out im just stupid
now how to get rid of the fades? (only red because its a good old test color)
nvm nvm, found it im just stupid
just for future reference, if it exists, theres a 99% change you can find it in the inspect selector
thats what i did when i couldnt find it, thats why i asked 
Oh, if you're after making that and context menus the same colour as your tooltips there's a much better way to do that.
Remove all this shit you've got changing the colour of them and just do something like this
.theme-dark {
--background-floating: red;
}
.theme-light {
--background-floating: blue;
}
Hell, even if you want them different colours, it's probably cleaner to do them that way. Even if not the best practice.
Like this
.tooltip__01384 {
--background-floating: red;
}
.container_d6dad3 {
--background-floating: blue;
}
.menu_dc52c6 {
--background-floating: green;
}
madeline needs to look through the entire global variable list lol
hey guys need someone to check if this works
max-width: unset !important;
}```
trying to make embeds expand to the full width
it was working before discord changed to underscores in the class naming thing
i just copied the new classnames in the way i had them but thatdidn't do it
nvm got it
max-width: unset !important;
}```
needed gridcontainer aswell
just posted it back if someone else wanna use it too
if you're using !important you definitely don't need selector specificity with parents, just do gridcontainer lol
maybe gridcontainer is used somewere else too?
ok it works with just gridcontainer but i have one more qustion
the embeds i am trying to expand, they are from an osu bot, one of the embeds it has does inline styling of max-width and it doesn't overwrite even while i have !important




