#🎨-theme-development
1 messages · Page 11 of 1
ok I eep now, 2am here, stay cute everyone
you too, eep well
I mean its not hard to read but its kinda weird to see someone doing that
imagine someone already had that idea...
https://github.com/vencordcss/onekocord/blob/main/onekotoolbox.css
Herr are standardised animations

no just line breaks
sure I can put a line break into it if I don't want it to work
that's one value, not multiple minified into a line
copy it to your quickcss and put line breaks in there
I could have used animation-name
animation-duration and stuff but that would have been way too long
does anyone have the selector for the profile picture in the user area?
use this
yeah
wanna show a sample?

my hatred for unused classes results in this
I've literally never touched CSS before in my life before like a few minutes ago, is this an ok way to hide a stupid discord button, and what exactly is a[] (all I know is it just works)
oh nevermind it doesn't work
it doesn't work if I go back to the page that the stupid shop button is
googled it and I guess it's weird shit to do with href, anyway figured it out
css is disgusting how do you people do this
nice
what are unused classes?
just selectors that don't select anything
yeah looks fine
the a selects html <a> elements, which denote links. (a is for anchor)
[…] selects attributes: <example_tag_name exmpl_attribute_name="example attr value">
how so?
I ended up changing it to selecting it by href instead because that data list item id thing was changing
I guess it's just not being used to it really throws me off haha, I come from a background in like no webdev (mostly java and C++ lately)
yeah href is probably better
anyways, thanks for the little bit of info appreciate it :)
hehe yeah i thought so
personally i like css a lot, even tho it has major guhs
i saw some ppl are trying to remove all the annoying nitro buttons with css so i thought i'd post a thing i spent a stupid amount of time doing that purges that kind of stuff
https://github.com/EvilSquirrelGuy/MicroThemes/tree/master/NitroUpsellBegone
actually the most consistent commenting scheme for css I have ever seen
devilbro
no u

literally me (I just know where stuff is (no I don't))
rip membercount 
no balls. members are now ball-less
I could use some help, i can't figure out how to split the call timer into the next line. With the css for userpanel from DaBluLite it cuts the call timer off when it get slightly longer than that.
I know how to find a class through console but i'm not knowledgable enough to figure this one out.
I have already checked the css for changing anything in the classes for where the timer is, but might have missed something.
fyi, this is the css. https://github.com/DaBluLite/css-snippets/tree/master/UserReimagined
A repo with all of my Discord CSS snippets. Contribute to DaBluLite/css-snippets development by creating an account on GitHub.
.subtext__8f869 {display: block;}
thanks a lot
which is why you shall suffer
you don't use attr selectors so you shall suffer
/*background*/
.bg__12180 {
background-image: url(" https://i0.wp.com/codemyui.com/wp-content/uploads/2016/11/pure-css-snow-animation.gif") !important;
background-size: contain;
background-repeat: no-repeat;
}
/*transparency*/
.guilds__2b93a, .wrapper_a7e7a8 {
background: transparent !important;
}
am i stupid or something? why is there a gap at the bottom and why is it so disproportioned
help please 
use cover instead of contain
"pure CSS snow animation.gif" that's not how life works
i stole it from their website
yeah its their file name that's wrong lol
it’s real
it's generated from pure CSS but it isn't a CSS gif
yop
also try my snow gif on GitHub.com/coolesding/shiggycord in the IMG file on the V3 branch
if you put it on repeating I quite like it
oh ryou ally
background-repeat that id
i’ve been looking for a goof looping thing for ages
oh yeah looping snow is hard to find :(
/*background*/
.bg__12180 {
background-image: url("https://raw.githubusercontent.com/coolesding/shiggycord/v3/img/snow.gif") !important;
background-size: cover;
background-repeat: repeat;
}
/*transparency*/
.wrapper_a7e7a8 {
background: transparent !important;
}
its still quite zoomed in
but its nice
I think you can now use contain instead of cover
or just remove background-size entirely I don't remember
yeah that fixed it
nice little detial actually
shouldi make transparent?
not the icon
but the bg
if I was you I'd use a transparent gif with a pseduoelement so you can have it as an overlay for any background
is that not transparent?
your decision
my snow gif is transparent
i have no idea how to do that
but you can have one background that people can set as their base and then have a :before where they can put an overlay for example
i’m still like brain dead stupid and don’t know anything besides basic stuff
look at shiggycord v3 backgrounds code
:root {
--bg-settings-background: unset; /*Change the main background colour*/
--bg-settings-overlay: unset; /*Make an animated overlay like the default example*/
--bg-settings-overlay-animation: unset /*Advanced: Add an animation to the overlay*/;
}
?
that's just the variables
unlike @mortal mantle I actually document my stuff :3
why lol
i understand 3% of this
lol
i will just post my humble little snippet (you can then make a thread and beef the shit outta it)
:3
probably have multiple with background
i tried like all of them 
open your devtools, open the computed tab and click the icons entire tree and check if which has backgrounds
/* Main Background Colour */
.bg__12180 {
background-image: url("https://raw.githubusercontent.com/coolesding/shiggycord/v3/img/snow.gif") !important; /* You can use any GIF/PNG/JPEG Link */
background-repeat: repeat; /* Adjust if needed (depending on media used) */
}
/* Additional Transparency */
.childWrapper__01b9c, /* Discord Home Icon */
.wrapper_a7e7a8, /* Guild List Bar */
.circleIconButton_d8df29 /* Add Server and Server Discovery */ {
background: transparent !important;
background-color: transparent !important;
}
/* Additional Recolouring */
.wordmarkWindows__05c46, /* "Discord" Text */
.winButtonClose__73489, /* Close Discord Button" Text */
.winButtonMinMax__72f36, /* Maximize Discord Button */
.winButtonMinMax__72f36:last-child, /* "Minimize Discord Button */
.circleIcon__428dd /* Add Server and Server Discovery SVG'S */ {
color: #ffffff;
}
rate @vast delta @mortal mantle
good
you can erase line 12
tho i kinda wanna round a little more
since background is already defined, and is the shorthand for background-color
/*Minifiedmemberlist*/
:root{
--hidden-user-width: 60px;--user-width: 240px
}
.container_b2ce9c,
.membersWrap__90226{
transition-duration:var(--transition-time);
justify-content:unset;
min-width:unset;
width:var(--hidden-user-width)
}
.membersGroup__85843{
height:0px;
transition-duration:var(--transition-time);
padding-top:0px
}
.container_b2ce9c:hover
.membersGroup__85843,
.membersWrap__90226:hover
.membersGroup__85843{
height:40px;
padding-top:24px
}
.container_b2ce9c:hover,
.membersWrap__90226:hover{
width:var(--user-width)
}
.profilePanel-2PWEok{
transition-duration:var(--transition-time)
}```
Someone wanna post this or give me perms its just a better minified memberlist since the other one comes out too far

so uhh
now this is css
scary
can you help me with my snippet?
what do you need
uhhh #🎨-css-snippets
in the thread
line 12
i’ll just post here
/* Main Background Colour and Image */
.bg__12180 {
background-image: url("https://raw.githubusercontent.com/coolesding/shiggycord/v3/img/snow.gif") !important; /* You can use any GIF/PNG/JPEG Link */
background-repeat: repeat; /* Adjust if needed (depending on media used) */
}
/* Additional Transparency */
.childWrapper__01b9c, /* Discord Home Icon */
.wrapper_a7e7a8, /* Guild List Bar */
.circleIconButton_d8df29, /* Add Server and Server Discovery */
.custom-theme-background .scroller__3d071, /* Overrides Nitro Themes (for Guild List) */
.custom-theme-background .withBackgroundOverride_b6a351 /* Overrides Nitro Themes (for Title Bar) */{
background: transparent !important;
}
/* Additional Recolouring */
.wordmarkWindows__05c46, /* "Discord" Text */
.winButtonClose__73489, /* Close Discord Button" Text */
.winButtonMinMax__72f36, /* Maximize Discord Button */
.winButtonMinMax__72f36:last-child, /* "Minimize Discord Button */
.circleIcon__428dd /* Add Server and Server Discovery SVG'S */ {
color: #ffffff;
}
also im pretty sure when a user gas a nitro theme the bg zooms?
appears so
very strange
instead of background-image just use background to fix that
yea, thank you
other than that it seems to work just fine
I see snow on it though, using vesktop
not a whole lot you can do other than set a bg on this
because the gradient is on body
did you add !important
yop
oh wait it does draw on top of the snow
remove z-index from it and snow draws on top
z-index:auto !important fixes it
where do i add that
on the highlighted element in the screenshot
add a bg and z-index and you will have no gradient and snow drawn on top
am I misunderstanding you
you want snow on the titlebar but no gradient from nitro themes
i’m sure i’ll figure it out
ok now it loaded
like
.typeWindows__5fa63.withFrame__485f4.titleBar__01af6.withBackgroundOverride_b6a351 {
z-index: auto !important;
}
wait
if yes, it does'nt work
well it removes the gradient from titlebar and snow is drawn on it
even when set to transparent
I don't know what you want
body, .appMount_fae9dd { background: var(--background-tertiary) !important; }
⭐
@clear sirenCan you help me?
soon maybe
kk
I have to take a shower now
wdym broken ish
I don't know if I can fix this, not even sure how it's supposed to work
well its basically just shifted over too much
where do you want it to be
Damn that was a simple fix wonder why it was there in the first place
discord changed something I guess
Well thanks
np, glad it was that simple
is there any way to have an if statement in css
im tryna do, if the color of a username is x, do y to [another class]
what i have so far
{
margin-left: 3px;
}
.username_d30d99[style="color: rgb(0, 0, 0);"],
.username_d30d99[style="color: rgb(5, 0, 5);"],
.username_d272d6[style="color: rgb(0, 0, 0);"],
.username_d272d6[style="color: rgb(5, 0, 5);"]
{
border-radius: 5px;
background-color: var(--text-normal);
opacity: 0.5;
}```
yeah that is possible what class do you want to do y to
the first part, .header__39b23
ok, .header:has(.username[style]) will apply to header when username has [style]
{
margin-left: 3px;
}```
it's not working, did i type it out wrong?
::
j saw
mb
: works
thank you!
:3
okay i have 1 small issue
why doesn't my width property do anything
/* in messages */
.username_d30d99[style="color: rgb(0, 0, 0);"], /* black */
.username_d30d99[style="color: rgb(5, 0, 5);"] /* color chan black */
{
border-radius: 5px;
background-color: var(--text-normal);
opacity: 0.5;
width: calc(100% + 3px);
margin-left: -3px;
}
/* in member list */
.username_d272d6[style="color: rgb(0, 0, 0);"], /* black */
.username_d272d6[style="color: rgb(5, 0, 5);"] /* color chan black */
{
border-radius: 5px;
background-color: var(--text-normal);
opacity: 0.5;
width: calc(100% + 3px);
}
/* alignment fix */
.nameAndDecorators_e34d47 > div > span:has(.username_d272d6[style="color: rgb(5, 0, 5);"], .username_d272d6[style="color: rgb(0, 0, 0);"]),
.header__39b23 > span:has(.username_d30d99[style="color: rgb(5, 0, 5);"], .username_d30d99[style="color: rgb(0, 0, 0);"])
{
margin-left: 3px;
}```
check the element in devtools
i mean the other properties work
it will say in what order styles are applied, maybe that element has a rule forcing the width to one value
which means it likely is being overwritten
that it will also tell
I think what you want is to add padding to it maybe
ngl idk wat this means
yeah
either side
ill try padding
that fixed it! thank you!
:3
no balls
that is true
if anyone wants to use :)
/* in messages */
.username_d30d99[style="color: rgb(0, 0, 0);"], /* black */
.username_d30d99[style="color: rgb(5, 0, 5);"] /* color chan black */
{
border-radius: 5px;
background-color: var(--text-normal);
opacity: 0.5;
padding-left: 1.5px;
padding-right: 1.5px;
margin-left: -3px;
}
/* in member list */
.username_d272d6[style="color: rgb(0, 0, 0);"], /* black */
.username_d272d6[style="color: rgb(5, 0, 5);"] /* color chan black */
{
border-radius: 5px;
background-color: var(--text-normal);
opacity: 0.5;
padding-left: 1.5px;
padding-right: 1.5px;
}
/* alignment fix */
.nameAndDecorators_e34d47 > div > span:has(.username_d272d6[style="color: rgb(5, 0, 5);"], .username_d272d6[style="color: rgb(0, 0, 0);"]),
.header__39b23 > span:has(.username_d30d99[style="color: rgb(5, 0, 5);"], .username_d30d99[style="color: rgb(0, 0, 0);"])
{
margin-left: 3px;
}```
inspired by [#🎨-theme-development message](/guild/1015060230222131221/channel/1134844326933954622/) and [#🎨-theme-development message](/guild/1015060230222131221/channel/1134844326933954622/)
how does the / come in?
(balls slashed)
an additional rule not visible in ss?
balls removed and members slashed
don’t slash my members D=
{ content: "/";
margin: 0 1ch; }```
hmm 😄
I prefered to mage the dark names just.. white. But great idea ^^ thanks
color: rgb(255,255,255)!important;
merged, thx for fix 👍
just add another line with that color code, for messages and member list each
av
Stuff somewhat updated
Realised this was all written before Vencord had local themes, so edited mostly to reduce the BD focus
Also, fixed the broken tables lol
I'm surprised that you prefer this over the BD docs tbh, when I'm looking at my own writing it feels very verbose and handholdy. I might try and format it differently to see if it makes a difference, for now it's all just WORDS and a lot of them
coolio!
erm .... uh .... my biggest advice is to try things out until it works
start with the mdn docs and snippets in #🎨-css-snippets
does that advice also work with you?
thank you
Load a snippet in and find out what each element does
And you can replicate in on other elements
do you use quickcss to test stuff?
that mf uses direct class selectors, why didn't you ask me?
anyways how do i change the discord title bar icon in css
It's the best way to learn to use css
so you don't have to look up the enormous selector tree to pick out the suitable ones
I'll probably have to look at an actual website styling workflow to see how a real web dev does the job
a real webdev has access to the html and js etc
that's why most tutorials and practices don't apply here
Still, I don't really see a reason to use attribute selectors
I switched all of my selectors to attributes with the classening update
don't leave me alone.....
attribute selector is noice,..
and yesterday I switched all my colors to oklch()
What even is that
I use both HSL and RGB
I used hsl exclusively before but hsl has a problem, if you change hue the perceived brightness may change dramatically
clean
Guess I'm the evil now
class selector is evil,.
Anyways, the way I currently manage my colors is to create a whole palette based on discord's specifications (HSL for the primary colors, RGB for the brand colors)
It works out of the box, because discord has had it since forever
I would love to see how oklch would look like on a hdr screen because it allows for higher gamuts
But my screen maxes out at 72/76% NTSC
Makes little sense to stretch the color gamut out to DCI-P3
Perceived brightness is an interesting concept though
I may look into how to implement it into discord's default variables
oklch only works on vesktop tho
this is a good example of the brightness thing
oklch will probably eliminate the need for hsl and RGB manipulation
but I'm not used to how the numbers work
yeah it takes a lot getting used to
HSL makes the most sense to me because I'm used to it in photography
But 99% of the people will likely disagree with me
it actually extends way past it into rec2020
I guess it's a futureproofing thing
websites can be hdr now
I see
this looks like hsl with different names
oh so that's what it means by brightness differences
it basically is, but the colors are mapped a bit different
me, refusing to stop using hex on my theme because ppl might not know how to use hsl
believe me I would prefer using hsl
for a lot of reasons
@glad urchin
would be super cool if it also worked on the userpopout w/ ShowConnections plugin
should be possible using pseudoelements with content:attr(aria-label)
why not lemme try
why don't you just use the colour variable as the only value do people can choose what they want
if they want hsl, they can
I wish
I prefer the British spelling in every word except armor
armour is kinda weird to type idk
armour
I prefer armor
unfortunately the American idiots that make stuff like the internet and computers use color :(
mi amor
I made it up to here, even if there is an aria-label in the image element, it doesn't matter much because you can't add before or after to the image element
so I can't add content
hmm
does the attr() value only work on pseudoelements and only regarding the parent element?
I wasn't talking about that
I use ::after { content: attr(aria-label) } in another place and it works
I'm sure it can be made work here too somehow
pseudoelements don't work on img, vid or some other elements
my question was if attr() values only work on pseudoelements and only with their parents in general
I believe so
guh useless feature 
attr() works on any element. They're not inherited though so you can only use one elements attributes on that element itself or it's psuedo-elements
but why can't we add any pseudoelement on the img here
don't ask why img elements don't like it
it just is like that
it just doesn't work on any imgs apparently
it's a CSS thing
that's annoying
there seems to be no way to do it but maybe we'll find a way in the future
It doesn't work on any replaced elements. I read the reason for it somewhere once, but can't remember it
High quality rizz right there
anyway i don't think show connections plugin is too much important to should i modernise
so there now is a specification
ok so for imgs, content only shows up if image fails to load
me rizz?
im whimpering the moment someone looks at me
:3
what r the benefits of hsl over hex?
hsl is easier to manipulate when let's say you have a colorscheme of red colors you might have a var() for the hue value and set brightness and saturation different on other elements
then you just change the hue var to green and your colorscheme is all green without having to change each color manually
ya i get it
i dont make themes, but it could be useful for some other things i do
wish it existed in paint.net
Rgb also works if you use color-mix
HSLs best feature is that it's easily interpretable. You learn the values of red, blue, and green and you can easily approximate most any hsl you see
:3
cool
oh! pity
join if you talk you explod vc
no :3
bitch
im on call with gf
youll never learn
ive been trying for a while but all i managed to do was make it sorta see through
so i just needed to put none instead of transparent
im so silly
thank you <33
yeah pity that discord is on old electron
hii
i'm surprised I haven't seen this anywhere but :p
.pictureInPictureVideo_f1081d{
resize: both;
}
lol
Updated theme dev guide to be visually nicer: https://minidiscordthemes.github.io/LearnToTheme/

themed
i think you’re missing a link to the frontpage in the top menu, Step 0 if you will
discord icon transparent when hovered? anyone know how to do that?
because im very big stupid
so stupid that i tried this
yeah im very stupid i still havent figured it out
somebody please help
maybe using oppacity? idk if that was possible
yeah thats what i was doing
the color i used here is fully transparent
logos still blank white when hovered
[d^="M23.0212 1.67671C21.3107"] {
fill: transparent;
}
thanks
for future reference, howd you find it out?
im curious on where i was supposed to look
ah so its just the first line of that?
if so thanks for the info, noted for the future of removing icons and stuff
I think it's the entire string but since they did ^= they could just collect a small part from the start
awesome, I didn't know how to get those either
oh thats fun
now when im NOT hovered, its gone
that or it just
only works on normal dark theme
ill check rq
ah only works on normal dark theme
but yippie now i made my discord icon just.
mandela catalogue gabriel.
I was actually messing around with literally the same thing
It's my first time using CSS so it's probably very unoptimized and bad but
background: url('https://i.imgur.com/snswgJW.gif')center/cover no-repeat !important;
fill-opacity: 0;
}
.acronym_cd4809{background: rgb(var(--bg-overlay-color-inverse)/var(--bg-overlay-opacity-6)) !important;}
Is what I ended up with
it'll replace your home icon with whatever the image you link is
(the one I have linked is https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=48&name=shiggy&quality=lossless )
(The reason acronym_cd4809 is in there is because apparently servers with the default text icons also use childWrapper__01b9c for their background)
interesting
maybe then instead you’d like something like
.childWrapper__01b9c:not(.acronym_cd4809) {
background: url('https://i.imgur.com/snswgJW.gif') center/cover no-repeat !important;
fill-opacity: 0;
}```
Well, I now know that :not exists
:3
thanks
anytime
i love oklch but its so easy to go out of srgb range with blues
didn't catch an updated version of this yet when searching so class update for #🎨-css-snippets message
.menu_dc52c6 {
border-radius: 10px;
}```
what is css i never heard of it

can you elaborate on that?
Sadly a11y is pretty much ignored these days in favour of "fancy" designs
Let's go back to plain text websites
links2 w3m ect lol
discord code:
.profileBadges__7a7cb {
height: 30px;
overflow-y: hidden;
}
but you don't need to make a super detailed website anyways
well nowadays its common practice to bombard the user with fancy animations
don't forget the javascript
sucks
why hide badges

better fix is to set a max height on the popout
to smth like 70vh
Added, title is now clickable 
do you even need to anymore? I had your fix but removed it, and the inverse happened, I had to set overflow-y:auto on the text to be able to see it
it works for me without css
can you view all the über mich text
no
because I couldn't
yeah I set overflow-y auto to get scrollbar
and the popout maxheight wasn't necessary anymore
.lineClamp2Plus_d4306b {
-webkit-line-clamp: 999 !important;
}
you can just do this
that works too
oh I see
it has to find a fallback color because that color is outside of srgb
is that a problem
I mean as long as any color manipulation/calc isn't clamping and causing you to lose contrast or something it should be a non-issue
ending up with a value outside srgb isn't really an oklch problem, it's a display problem, and as long as the fallback is correct I don't see an issue
yeah its not a problem on their part, just kinda annoying
browsers need p3 support!!
persona 3 support
allows you to use the value of the 'color' property for other properties that accept color values
ahh alr
Recorded live on twitch, GET IN
https://twitch.tv/ThePrimeagen
Reviewed article: https://dev.to/grahamthedev/bubble-sortin-pure-css-no-js-3bb1
By: GrahamTheDev | https://x.com/GrahamTheDev?s=20
MY MAIN YT CHANNEL: Has well edited engineering videos
https://youtube.com/ThePrimeagen
Discord
https://discord.gg/ThePrimeagen
Have something for...

^ bubble sort the way it’s supposed to be done
CSS is my favorite C-family language
Adding loop to CSS
understandable when you can sort any numbers in the range of up until not 10, not 15, no, up to 20!
any numbers
me when I enter 5.75 and see my PC my planet blow up
I changed the text on the non-native titlebar to "Vencord"
.wordmark__0d178{
background: url("https://i.imgur.com/L5aAiAJ.png") center/contain no-repeat;
fill-opacity: 0;
width: 35px;
left: 10px;
}```
oop
@teal cave patchhelper and vesktop have no icons 👀
i would pr ones but i have no idea what svgs you'd like
patchhelper is a developer thing that helps you write vencord patches
vesktop should be obvious
for vesktop ig a Desktop icon could work well?
like the
PatchHelper maybe bandaid or screw
screwdriver
bad at css but disables super reaction effects
/* remove super reactons */
.effectsWrapper__9fe42, .effect__8d136 {
display: none !important;
}
.burstGlow_f0f94c, .burstGlow__012b7 {
box-shadow: none !important;
}
.hideEmoji__06d79, .hideEmoji__13ca4 {
opacity: 1 !important;
}
.reaction_fef95b.shakeReaction__1106d, .reaction_b90ab0.shakeReaction_de1ec0 {
animation: unset !important;
}
i think
everywhere
just turn on reduced motion duh
(I think it doesn't remove the glow so thats good anyways)
doesnt do anything (duh)
effects still randomly happen
all it does is stop all of them
they still happen occaisionally
also the glow is ugly
it doesn't happen unless you open that reactions popout, but yes the glow kinda sucks a bit
when i have reduced motion effects still play just randomly
this stops that entirely
turns it into a regular reaction with color
ctrl + r, ctrl + shift + i during the gray screen
still crashes
anyone know the class?
use vesktop
CSS: C Super Smol
ctrl + shift + i during the gray screen, then network > disable cache [x] after that, ctrl + r
betterdiscord-like addon cards
did not
help
... i dunno what he mean about crash screen,. but if it's stuck on gray screen the problem is the cache, that's why you need to disable it via inspect elements.
well, just reinstall vencord,.. delete folders related to vencord/discord on appdata folder
speak for yourself, I find them ugly
I don't look at them anyways so I'd rather go for the default option
Adding unnecessary theming would just makes the UX worse
I think it would be cool if we had a channel like css-snippets but for sharing full themes
yee, there's several themes I'd like to post but can't in #🎨-css-snippets bc it's not CC0-able
no
cc0-able?
discord changes that stuff too often for me to bother with
license to put it basically into public domain
“No Rights Reserved” CC0 enables scientists, educators, artists and other creators and owners of copyright- or database-protected content to waive those interests in their works and thereby place them as completely as possible in the public domain, so that others may freely build upon, enhance and reuse the works for any purposes without restric...
oh I see
either because I don't want to, or in some of the themes I maintain it's the work of someone else
I just think it's less than ideal that vencord doesn't have a place for users to find themes effectively, having to search githubs or go to the bd site or something
my theme is basically GPLv3 so idk if it applies to cc0
managing a theme store is a lot of effort
and BDs one already suits most use cases considering 99% of themes are mod agnostic
but i do agree with you
a channel for it would be easy
I think browsability might even be more useful than searchability in this case
theme channel exclusive to vesktop when

i love not supporting vencord discord
unless the vanilla discord keeps up with the chromium version
i’m going to make one
(i’m kidding)
what a sight to behold

same
i use that
but they didnt get pushed so i had to look inside gh desktop
no idea why it didnt work tbh
@mortal mantle I'm looking through the snippets you posted, clientcolor has wrong vars in it
I'll look into it and fix later
can you add a little readme with screenshot for each snippet?
what is this formatting
:3
* {
display: none !important;
}
Make the discord experience infinitely better
huh how not?
how many times has this joke been made 💀
At least twice
lol
😆 😂
probably * times
Add pseudo element that has a grass background and a text saying go touch grass
* {
background-image: url("https://www.thespruce.com/thmb/WHDh42dmxIiAg5YuTftvBrqLevk=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/zoysia-grass-plant-profile-4691117-hero-2c01933247654f5b8c694a49eb6fa7bc.jpg")
}
even better
fixed
saving white spaces
do you have a limited supply??
and saving semicolons on the last properties
probably would just minify everything
https://html-cleaner.com/css/ my beloved
saving bytes at all costs
insanity
most CSS comment ever
might need a fix fix fix, since the content / doesn’t show
I apologize for it but I made my own custom theme, what is the area for images and hyperlinks agian? It used to be
`.embedWrapper-1MtIDg:where(.imageWrapper-oMkQl4, .imageContent-3Av-9c) {
filter: blur(50px);
}
.embedWrapper-1MtIDg:where(.imageWrapper-oMkQl4, .imageContent-3Av-9c):hover {
filter: unset;
}
.imageWrapper-oMkQl4 {
filter: blur(50px);
}
.imageWrapper-oMkQl4:hover {
filter: unset;
}`
hell yeah its fixed
what's this mess?
CompactCord, makes discord only chat when 800px or less in width
does nothing when normal size
if anyone wants to look at my shitcode, https://github.com/Captain8771/captain8771.github.io/blob/master/discordstyles/CompactCord.css
code looks good but never seen this format before
wait what
husk
beauty
made a snippet for declutterbar that autohides it, creating a sot of immersive mode
you mean titlebar
yeah ... I'm stupid
:3
But I'm having an issue with window dragging
tl;dr the titlebar is hidden when you drag
you should be able to take the element used for dragging and maybe set it somewhere else position:fixed
ah, I know
I should do that too, I also have no dragging atm using another titlebar css
I'll add a drag space
made the server bar wider, so now the empty space on the sides is the drag space
thank yo ufor this, yo uare my hero
If any part of it is someone else's work with the GPLv3 license applied, you wouldn't be able to post that in #🎨-css-snippets under CC0, because the GPLv3 contains more limitations than CC0 (specifically, that anything made using the licensed content has to be open source)
If it's all your own work though, you're free to apply whatever licenses you want, even if they are contradictory, just means that in the hypothetical situation where someone uses your work in closed source software, they can just claim that since it's under CC0 it's legal and above board.
not a lawyer btw just a casual license enjoyer
Someone on Replugged server came after me for forking their repo, so I spent a while reading about software licenses to see what's up with that
what’s a dc taskbar?
titlebar
well SyndiShanX is, but i’m glad i could assist :3
me too lol
I just want something like this for tailwind
does this do the work?
nah what I'm thinking of is to type something like @apply shadow-xl ring-2 flex flex-col aspect-square in a normal .css file and have that expand into the proper css properties
What would I need to write to replace a color with transparency to desktop on Vesktop
as in this
sounds more like tailwind for css
nvmmm kinda got it

Nope, I'm talking more like snippets and not writing it in markup.
Anyway I did it
excuse to repost them when they break
not perfect but you can try changing bg-3 and bg-4
/* color of spacing around panels and secondary elements */
--bg-3: hsla(220, 15%, 13%, 10%);
/* main background color */
--bg-4: hsla(220, 15%, 10%, 10%);
the theme is not really built for transparency
what's with the old syntax lol
habit
also when you switch between color formats i think it will revert back to commas
kind of blatantly copied aoi here but if it means that people won't try to "update" the already updated snippets, then so be it
I like tabsv2homeicon but it doesn't work at all for me, there is no .homeIcon__00b1b
does it work for you?
no, so I'm fixing it rn
thanks, I was also trying but wasn't going so well
fixed, it should take a bit to update, so just try reloading discord in abt 3 mins
no questions allowed
uhh I have a different path, probably because I use the redesigned icons experiment
and swapping in my path into it has the same clipping issue I had before 
bruh
yeah don't worry about me but do know that it'll probably break when icon redesign is pushed
ignore the obviously broken stuff
that selector is bad isn't it in terms of perfomance?
which one?
if you are talking about [class^=content_]>[class^=container_]:last-child there isnt really an obvious performance improvement i can find that would be rehashproof
ahhh.. you want to make it rehash proof, well that make sense
where can i find themes for vencord?
fr
two clicks my man
Not enough arrows
oh sorry
fk me i thought betterdiscord wasn't compatible with vencord..
how about now
oh i didn't know you could do that
what i did is i hover and then click the top bar in the color picker
what color picker
most themes are compatible
hover over the color value
yeah..?
using vesktop, hovering a color in devtools says 'click to open color picker or shiftclick to change format', that color picker has no top bar, it does have a dropdown where you can change the format but all of them are new syntax for me
I dunno how it is on discord
oh i meant in the quickcss editor
also the powertools color picker outputs in the comma format too
hia, this has worked for me for a while but it doesn't anymore, can someone share what's wrong prettyplease?
[class^="channel-"] > div > [href="/store"], /* Nitro Button above DM List */
[class^="channel-"] > div > [href="/shop"], /* Shop below DM List */
{
display: none !important;
}
[href="/store"] is enough
replace - with _
channel_
usually the selectors are safe but discord changed it from - to _
I've seen that a bunch of times
whar
thankyouuu that worked
sounds accurate to discord
oh I see now, yeah, bad color picker, doesn't even oklch(), useless
no use
and got it into this
and it looks better and works better
and yeah I know my code is bad and I should feel bad but it works for me
This is such a minor nitpick but why does vencord order themes by file name rather than theme name if given
was probably easier to implement :D
or its just the order the themes are read in by fs
i think they aren't sorted at all, just used in the order the file system api gives them aka sorted by file name
isn't BD the same?
all the libraries are named 0MyLibrary.plugin.js
when usercss merge?
yeah it loads in that order, for display purposes though the "sort by name" option uses the plugin/theme name in the meta rather than the filename
hey @teal cave many thanks for the ClassUpdate program, was really helpful for my themes 
np :)
@teal cave make a program to replace all classes with attr selectors
that would be amazing
I feel like this would have unintended side effects with all the container_ classes
does vesktop support :has()? :))
I sure hope so
99% confidence it does, with 1% reserved for "haven't used vesktop in a few weeks so forgor"
does normal discord support it?
It does
oh salt are u the person who made the class update website thing
of course
:has has been working since I started CSS
also did u see my settings icon complaint? Vesktop settings and patch helper have no icon
i would pr but idk what icons you'd like
can agree
the current vesktop taskbar icon?
which I think is also the vencord.dev favicon
^ see here and below for my ideas
Ye I saw, haven't gotten round to actually adding icons yet, did have a look at icons on https://fluenticons.co/ so prob will find something close to what you suggested
oh neat, thanks in advance 
ASTRO JUMPSCARE
youre looking for https://vencord.dev/assets/favicon.png
but that would look out of place imo
lol
i think desktop icon would look better probably
we could try
I'm on mobile do you have the file ready right now?
and what's the icon colour hex again?
depends on the theme also
I miss YkuKtl...
hey, does anyone have a current piece of CSS to change the Discord icon in the server list?
@vast delta are you happy now
try this:
.wrapper_d281dd[data-list-item-id="guildsnav___home"] path {
display: none !important
}
.wrapper_d281dd[data-list-item-id="guildsnav___home"]::before {
content: "";
border-radius: 50%;
position: absolute;
width: 32px;
height: 32px;
background-image: url("your image");
}
hey, how can I do this properly? Judging by how pinned messages become see through I'm guessing this isn't right
/* hover shading */
[class^="message"]:hover {
background-color: var(--background-message-hover);
}
I'm shading the messsage the mouse is upon to differentiate it. It looks fine like this, just questioning how to do better.
It works, but [class^="message"] is too general
If you want the message you're hovering over specifically, you'll need another selector
That's how it looks rn
this is what i use for it ```css
.zalgo__39311:not(
.ephemeral_c26b64,
.mentioned__58017,
.replying_d7b6ad,
.automodMessage__410f7
):hover {
background-color: var(--background-modifier-hover);
}
thanks, that makes sense.
though --background-modified-hover might look ugly depending on your theme
you can also try background-color: rgba(0, 0, 0, 0.1);
It's because a lot of stuff starts with message
I don't get that red background change you do, it doesn't happen with the default theme.
thanks
Yeah I just changed it to red to show it more clearly
this works great
who're you asking
Yes, but I changed the border radius
so it should just work fine
yeah it does
I did that to show the [class^="message"]:hover { selector
Nope
ah alright then
I use this for it (The thing about replacing your discord icon)
.childWrapper__01b9c:not(.acronym_cd4809) {
background: url("https://i.imgur.com/snswgJW.gif") center/cover no-repeat !important;
fill-opacity: 0;
}```
replacing that with whatever your image is
can someone update the classes for me? thanks 
.withTagAsButton-2_JkHX, .withTagless-Lx3LMo {
min-width: 212px!important;
max-width: 60px;
position: fixed;
margin-top: -80px;
margin-left: 5px;
border-radius: 5px;
}
.container-1CH86i button {
width: 48px;
background: var(--bg-overlay-4,var(--background-primary));
margin: 4px;
border-radius: 5px;
}
.container-1CH86i {
padding-top: 40px;
}
.withTagAsButton_cc125f, .withTagless__98b7d {
min-width: 212px!important;
max-width: 60px;
position: fixed;
margin-top: -80px;
margin-left: 5px;
border-radius: 5px;
}
.container_ca50b9 button {
width: 48px;
background: var(--bg-overlay-4,var(--background-primary));
margin: 4px;
border-radius: 5px;
}
.container_ca50b9 {
padding-top: 40px;
}```
hey that was fast, thank you!
what am i gonna do with this?
parse it in my head? transcribe it?
[== Manual Updates ==]
Some class changes are breaking and cannot be updated automatically.In this case, manual changes are required.
Search for the base class name (before
-,_or__) in dump.txt and change it manually.Ex:
.typeWindows-2-g3UY>.typeWindows__5fa63
someone understand this?
also why does https://github.com/dxxxxy/discordthemeupdater/blob/main/dump/dump.txt only seem to have the replacement part, doesn’t it need the match part for ambiguous classes like .container_…?
selecting the parent how, div? 
ah you prbly meant parametrized class
[class^=standardSidebarView_]
{ backdrop-filter: blur(30px);
position: static !important;
overflow: auto !important; }
.layer__2efaa + .layer__2efaa
{ border-radius: 10px !important;
background: oklch(.3 0 0 /.3) !important;
box-shadow: 5px 5px 25px oklch(0 0 0 /.7) !important;
border: 1px solid oklch(1 0 0 /.2);
width: 1100px !important;
height: 80vh !important;
margin: auto !important;
padding: 0 !important; }
#app-mount .baseLayer__8fda3 /*keep view under settings*/
{ opacity: 1 !important;
transform: unset !important; }
best color format
I only use the primary-hsl and brand-experiment as colors for my theme
crazy
now how to rewrite them in oklch
This might be the wrong place too post this but does anyone know what the CSS is for this button or box...
Right now is overlapping the X button on threads and i cant close them.
Iv tried to go in inspect but discord crashes every time. I go into the website with the theme on and it dont do it as it dont show up...
To fix inspect crashing discord enable the no devtools warning plugin
Fixes it on my machine
Added it and got the css name i needed before it crashed again lol
Vesktop
Using that dont help with what i need.. The css i need is the Buttons on the top which in that version and website discord dont show it 🤣
Fixed it now tho
doesn't crash on linux but takes seven billion years to load
not that it helps with styling windows titlebar and buttons
what's the error
do you have a semicolon at the end of the first line
np
:root {
--elevation-low: none;
}```
does the trick for me but might impact other shadows
the exact class is .content__1a4fe:before

didn't we already talk about this
that is gibbu's serverrings.css
vomited out by an scss
and what it does it determines hovered/selected servers by the height of the pill indicator on the left
for whatever reason
and the code sucks af
hi im new at css how do i make this so that it doesn't change the animation and transition durations for the sidebar:
* {
animation-duration: 0.1s;
transition-duration: 0.1s;
}
you could proably do a :not(<sidebar class or whatever>)
the <sidebar class or whatever> being a selector for the sidebar :D
or go wherever you have the animation/transition set and put an !important on it
although I think a * selector would be less specific anyway and wouldn't override anything
has a specificity of 0 lol
yeah essentially that code wouldn't do anything at all in the first place
it wouldnt overwrite anything
actually if animation-duration specifically isnt used
but just animation with multiple arguments
could that not change it?
it does tho
im trying to make it not work for the sidebar because once i hover over a server it blinks
but at the cost of performance
just do what i said
how do i know the sidebar i keep looking at console
elements
gimme a sec lol
maybe :not(.wrapper_a7e7a8 .guilds__2b93a >) or something
i forget css too quickly T-T
or you could do .base__3e6af * to just select everything but the serverbar
:not([aria-label="Servers sidebar"] >) will probably last longer
which would be faster?
I dunno both are bad technically but in practice it's gonna be negligible
well yeah, the * made me cringe lmao
spotify has EVIL css
ah yes mMbQLUix1nN_Fu45JpF8 thats a good class name
they have loads of very nice data test ids, like [data-testid="now-playing-widget"]
flexbox
.tabBar__35f81 {
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
row-gap: 8px;
column-gap: 8px;
margin-bottom: 16px
}
.userProfileModalInner__7c87d .top__592a7 .item__48dda {
border: none;
background: color-mix(in srgb, var(--profile-body-background-color) 40%, transparent);
padding: 2px 0;
width: 31%;
border-radius: 4px;
text-align: center
}
i hacked something up with flexbox and never looked at it again
hope that this could help
.thing {
display: flex;
flex-wrap: wrap;
gap: 0.25rem;
> * {
min-width: calc(50% - 0.125rem);
}
}
not sure if this is what you meant, but thanks for fixing my problem
that’s sass
Not actual css3 unfortunately
I thought it was already implemented
clueless
https://caniuse.com/css-nesting it's real 
discord not support yet though (maybe vesktop?)
It would have a &
i think it is implemented by vesktop
lemme try it actually
I would guess discord has to update its electron version
misinformation
yeah, waiting for that to also get other cool new stuff like color-mix
based firefox as usual
linters still are annoying about nesting in vanilla css
it doesnt change anything but its shown in devtools
when ran()?
ran?
Sorry, i an of outdated info
That’s cool didn’t know it has support now
that sounds like a horrid idea, I love it
WHAT????
randomly bouncing around the screen would be fun
can't wait to spend a whole day fiddling with it while on the clock
ran() would just be a random integer from 1 - 10000, use calc to make it useful in your application
itd be so cool
random float from 0-1
performance
That would be a huge improvement over what I'm currently using for random numbers in discord, taking the last char of the latest message ID 
thats the stupidest thing ive ever seen and i like it
are there other cool css features i need to know about?
can't think of much that's cooler than already mentioned
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_container_queries Container queries, kinda cool
Container queries enable you to apply styles to an element based on the size of the element's container. If, for example, a container has less space available in the surrounding context, you can hide certain elements or use smaller fonts.
Container queries are an alternative to media queries, which apply styles to elements based on viewport si...
kinda looking fowards to display: flex inline and other <outer> <inner> combos for display ig
i am looking forward to usercss but ill have to wait another 1298459812985 years for this
not a linter issue
it's just that monaco css rules are super outdated
it's nearly in BD so hopefully soon here also 👀?
monaco is what again?



