#π¨-theme-development
1 messages Β· Page 2 of 1
I will take a look at the others
this selector seems pretty bad
.root-1CAIjD:not(:has(.imageWrapper-oMkQl4)) .templatesList-uohY49 > div ~ .container-x8Y1ix
generic selectors like div perform almost as poorly as *
use of them in compound selectors like that is dangerous
hmm
.root-1CAIjD:not(:has(.imageWrapper-oMkQl4)) .templatesList-uohY49 + .footer-3ie9JP > *
I usually use those when there are no specific selectors
another bad one, * is dangerouuuuus
I've seen one single compound * make discord incredibly laggy
(happens to the best of us, don't worry btw)
tho it had one hell of a specifi selector behind it, so I didn't think much of it
hey, do you know some ways to access these (you know on threads not fully opened), because I did that :
.layerContainer-2lfOPe>div[id^=popout_][style^="position: absolute; top: 44px; right:"]
but I don't like it and it also selects the other similar popout
oh boy do I have lots of those to fix in the snippet im making rn
css reads from right to left for some reason
yeah kinda
and we don't have a parent selector π€¦
:has
but yeah this is why .foo .bar .baz actually performs worse than .foo .baz even though it doesn't seem intuitive
check this
- .spotimbed-controls [class*="durationTimeWrapper"]>* {
+ .spotimbed-controls [class*="durationTimeWrapper"] > [class*="durationTime"] {
lag fixed
lmao my work is doing websites and I just learned about ":has", but it's quite new, and it's not on default on firefox, and I have to do apps for firefox
no, we said to them to only use firefox for the apps
(so that we didn't have to check on compatibility issues, but that's sad π)
I find it dumb that they put it a user setting, it's just like disabling it
their implementation is still kinda buggy that's why
I just deleted the BetterModals import off my css and holy is it smoooother
so #thread-context-open .label-3CEiKJ is better than #thread-context-open>.label-3CEiKJ that is better than #thread-context-open>div ?
(if I read correctly, but why is > worse? it selects less)
ok, I thought I read upper that using > is worse, but thanks!
the first two are equivalent, there is no performance difference
the last one might be laggy but it's probably fine
idk it's really inconsistent, sometimes * causes insane lag other times it's fine
ok, thanks, I read wrong then ^^
you can pretty easily visualise it
.foo .bar
```will
1. check every element for if it has a .bar class
2. if yes, check if it has a parent with .foo class
not many elements will have bar class so it checks relatively little
now imagine the same but instead of .bar you use div or *
it will now check parents of every single div or even every single element (in the case of *)
much much more work
yeah π, that's true
So a good rule of thumb would be to make the rightmost selector as specific as possible
for example I assume .foo * .bar performs just fine whereas .foo * might be laggy
.container-3XgAHv.floating-3M3WeH:nth-child(2){
min-width: 450px;
max-width: calc(100vw - 144px);
resize: horizontal;
transform: rotateY(180deg);
height: 100vh;
}
.container-3XgAHv.floating-3M3WeH>.uploadArea-2Nu_Vc,
.container-3XgAHv.floating-3M3WeH>.container-ZMc96U,
.container-3XgAHv.floating-3M3WeH>.chat-1-OBC7{
transform: rotateY(180deg);
}
I did this to be able to resize the small version of opening threads is it fine?
yeah
don't worry too much about performance anyway
keep these things in mind but don't take it too far
premature optimisation is bad, now you just know what to look for when your css does end up laggy
ok yes, thks
I am trying to change the server list count to make it smaller but it doesn't seem to work using #vc-guildcount for some reason, and looks offset, but thats probably because of my theme
wait it works if I add span, but idk what is that really
then it's likely a specificity thing
its because of the other count of friends? idk
.tabBarContainer-sCZC4w {
margin: 20px 0 0;
}
.tabBar-2hXqzU {
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
row-gap: 0.5em;
column-gap: 0.5em;
margin-bottom: 1em;
}
.userProfileModalInner-3dx9L9 .top-Ktfr_T .item-2GWPIy {
border: none;
background: color-mix(in srgb, var(--profile-body-background-color) 40%, transparent);
border-radius: var(--modular-border-radius);
padding: 0.125em 0;
width: 31%;
font-weight: 600;
text-align: center;
}
.userInfoSection-2u2hir+.userInfoSection-2u2hir, .tabBarContainer-sCZC4w, .top-Ktfr_T .themed-qqoYp3.item-2GWPIy:hover {
border: none
}
.userProfileModalInner-3dx9L9 .top-Ktfr_T .item-2GWPIy:hover {
background: color-mix(in srgb, var(--profile-body-background-color) 70%, transparent) !important;
}
.userProfileModalInner-3dx9L9 .top-Ktfr_T .selected-1sf9UK.item-2GWPIy {
background: color-mix(in srgb, var(--profile-body-background-color) 100%, transparent)
}
.tabBarItem-30Te4- {
height: fit-content;
}
I love the color-mix
antichrist
huhhh
well I already got bored of making that lmfao
inasne
I removed the transparency and blur from the profiles because they have been quite buggy and inconsistent
I should go remove all wildcard selectors from colorways
I think I only have one in the algo
for text color
NEVERMIND
fuck me sideways?
omg * selectors
let's test the code without them
made the day separators a bit better
oh
Maybe I should do the same with the New messages one
oke now we're talking
Looks great
it's a-ready
okay now expand a folder
https://cdn.discordapp.com/emojis/1095049440835928234.webp?size=48
and you wonder why your code lags
not anymore
when my code is not shit
bruh
horror
pure css?
yep

nice
the most specific I can get it
these 2 divs have no classes or other attributes
only inline css
.body-β¦β¦ div, .body-β¦.. .sliderBody-β¦..
what are you trying to achieve lol
less shitty selectors
.root-1CAIjD:not(:has(.imageWrapper-oMkQl4)) .templatesList-uohY49 + .footer-3ie9JP > .footerTitle-3Bslxi,
.root-1CAIjD:not(:has(.imageWrapper-oMkQl4)) .templatesList-uohY49 + .footer-3ie9JP > .button-ejjZWC
you can use :is to make this prettier
.root-1CAIjD:not(:has(.imageWrapper-oMkQl4)) .templatesList-uohY49 + .footer-3ie9JP > :is(.button-ejjZWC, .footerTitle-3Bslxi)
i love :is
what line was this on?
but every time you have nearly identical selectors with only one segment differing, :is is amazing

aoi, you might want to take a look at this snippet:
@import url(https://seele1306.github.io/Snippets/OnekoDM/import.css);
it's causing some issues with the server list snippet
the one I made abt an hour ago
that actually works as intended
change any border-radius: 50% to 50px
hmmm I will try later
there are only 2 50% border-radius in this snippet
change the svg one
Gotta do something better than that selector though
It looks disgusting
But that is for later
Exam prep first
π₯
me, only seeing codes without screenshots of how it would look like
I'm just changing my horrible selectors paths to better ones now
nice user popout
thinking about reposting my blurb about how browsers process css selectors from powercord to here
I think it's good to understand how selectors are processed in order to write performant ones
what exactly is, performant code?
Here's a blurb from powercord about why CSS selectors are parsed from right to left, and a bit about how it impacts performance. I'll just post screenshot for now because otherwise it's a giant wall of text - if someone wants the text version (for accessibility or otherwise) give me a ping and I can DM it
MY EYES
sure
tyty

finally something that doesnt break shit and looks clean
long

who needs channels, am I right?
or even the chat
exactly
ayo it me
ven is famous
wow more than 2 years ago
<@&1118512946595778570>umap <@&1118512937829670912>ablulite why not post just the link instead of the import css
that way people can use the online themes tab
π
omg it's the windows 7
7 UIRibbon.dll π
why did I get pinged?
the only snippet I have posted here that I did that for, because it was on a big scale, was vesktop mica
wdym
you have so many of them
one example
it's confusing that u have to put this at the top to people
so it'd be better to just post the link and have people put it in the online themes tab

no, I meant that it was the only one that I also gave the link
without the import shenanigans
well i recommend you just do the link for all of them
less confusing for people
also that brings a feedback for @halcyon anchor's pr (that i still need to help u debug sorry Adrian) to mind, make sure snippets with imports are hoisted
the link is inside the import, so ppl do what they want with it
except that they don't
they put it at the bottom of their css and get confused why it doesn't work
like you did #1135572661154615306 message
and my imports don't help either
I know but that's because I'm dumb
yes and i'm saying most people are dumb
I emmit the https: part completely
you're by far not the only one
I usually just take the css from the link and put it in my quickCSS file, or if there's a lot I put it in the themes
I am weird
I never do imports, that's why I got comfused,
but ye it's true, it's better if everyone posts the link, so dumb ppl don't get comfused, and ppl that want to can just add the link in an import
simply write css transpiler which re orders all imports to the top
also add less support π₯Έ (seriously I'll try to do it if you don't)
do not
why?
why do you need less
a) sass is better, b) we don't need it
because it's way more beautiful
beautiful how
waiting for the day, discord bring css nesting support
well I prefer so much less over sass, sass has so much more "characters" you need to use, less has the same functionnalities, but using css characters (I'm sorry if I don't explain myself properly, I'm not english)
give an example of less being better than normal css
π you like how css looks?
do you know less?
yes, give an example for your use
wtf dude, how could you say it's not better, you can do everything you do in css with it, but you organise better
like nesting
css has nesting
no
yes
no
..yes it does
you can't do
a {
span {
thing:thing;
}
}
wait it's released?!?!?!?!
yes
pure css = best css
or is it like still locked behind chrome://flags / whatever firefox's is
no
especially with this
WHEN
now
i see
just not in stable firefox yet
of course it's not
You're just looking for issues in normal css
also you kinda have to drop support for old browsers 
I can't understand how you guys prefer css, like do you use it everyday?
I find everything else inconvenient
like what?
you're wrong with your guess
too bored to compile shit
chrome's current shipped implementation is broken
of course it is
firefox waited for the spec to be stable before shipping
chrome didn't because.. lol
because its chrome

i will continue using scss nesting until then (and in the future so i can still support older browsers for the joke)
it does it for you π
also, aren't they meant to add color shading, layers and other cool shit to the css spec?
just color shading in discord themes will do crazy shit
like I can understand the scss/less debate, I prefer less but it's juste my opinion, but prefering css over π
ok for nesting, but all the other functionnalities aren't there
all other functionalities are useless
name one use case inside a discord theme for them
i love css nesting drama
also nothing is stopping you from writing less and transpiling it anyway
many theme devs use scss
yes, that's waht I said I'll do, I'll add less support in quickCSS for myself
The only thing I use in scss other than nesting is lighten and darken Β―_(γ)_/Β―
because you only code for discord?
We appreciate that there's not yet full consensus on the API syntax, but also that we've been in this state for several months and we've heard pretty clearly from web developers that as a whole they want us to ship something
chrome πΏ
Yea where else is scss useful
well.. websites....
almost as if quick css is part of a discord mod
so wouldn't need scss features not useful for modding discord
what if we make vencss with consistent cross-browser nesting and nothing else π₯π₯π₯
If you're writing a website that is big enough to need scss you're probably using tailwind and postCSS or something of the like
and already have a build step like webpack
I'm using less
that's it
quick css has no build step
when are they dropping JIT-compiled css
That exists I think my friend made an implementation of it
what
great question
Lmao
what: what harder
I mean like postcss
do you know what jit means
(i use scss in our super small website but thats mostly just for syntactically easier variables/support for browsers pre-nesting)
how the *%$& is postcss jit
what: what harder harde
yes even for small websites it's just way better to modify, because clearer
do you know what jit is
i hate that sentence
my brain hurts
It compiles the postCSS then serves the page
Wtf I didn't know that
My code could have been 10x cleaner with that
like yes but no
okay wait let me explain what i meant i meant like have SCSS with some sort of fucked up browser patch that compiles the scss into css on the fly which is THEN parsed into css
i get that but like
of course you could. just. make scss compile to the native browser styling ast/whatever but that's just boring
that is not what jit means
it is compiled just in the time that it is used idk what you mean
jit is client side
Ah
Ah
jit is a weirdly general term idk
Yea guess so
Does anyone know how to change that font size? Just font-size doesn't seem to work even with !important
something like this :
font-size: 1px;
I swear that's not what I wanted to send, but it's fun π
I currently have
.header-1Uy0p6 *{
font-size: 9pt !important;
}
Because nothing was working but it didn't change anything
Everything does get that property but the font size does not change
you have to add the ":placeholder" on the textarea selector
textarea.inputDefault-Ciwd-S.input-3O04eu.textArea-3wfxMA.scrollbarDefault-2w-Dyz.scrollbar-3vVt8d.title-1v5ZfI::placeholder {
color: red;
}
(I just copied the default one, but you don't need to put all of that)
there's maybe other ways, but this one worked
Thank youu
That place is really annoying to theme, I'll just do it later
well quickCSS is better for "quick"CSS 'cause you don't have to reload discord
I don't have to reload Discord with themes in the folder either
just a quick question: why is #π¨-css-snippets blocked by the snippet dev role now?
too many "useless" snippets
because people post the most stupid and spammy shit there
you can get the role by posting your snippet here
π
sorry for the ping, is there an updated version of this perhaps?
#π¨-css-snippets message Sorry, I had forgotten to post the working version here
alright, thanks!
idk if you want to but it would be a good mention to add DisplayServersAsChannels so people can find it if coming from bd?
I mean, it has the same functionality
I'm not saying it's the same thing, but for people that are switching to vencord and are searching for something that lets them display it in a similar way it removes one question they might have
cool cool, I really appriciate this as a theme since that plugin was very laggy on bd
I haven't pushed the changes yet
is there a way to have folder specific padding without changing the channel ones too or nah?
no
mf porting ripcord to real discord
Single display: none were quite funny at first, until they no longer are π
ripcord?
discord made in qt frontend/ui
this actually ... does not look too shabby
maybe doesnt work well with the betterfolders plugin
is it even discord at this point
no
what is wrong with you aoi
you should REALLY start spending less time on discord haha
im loving it though
vencording*
oh is that mobile?
i am confused and i will not ask more questions
expect zero theme dev over the next days
oke
good luck
you shall ask more questions
i will do twice the amount to replace at least half of you (because you are like 10 times as good)
where did you pull that information from
everything you did in the past month
what I do is just steal snippets from pros
is that so?
dablu why do you have duplicate stylings in your snippet
make dablulite's server list collapse and open. i cant believe this works, css is weird
:root {
--guild-list-width: 72px;
--guild-list-width-small: 290px;
}
.guilds-2JjMmN {
transition: width 0.3s;
}
.guilds-2JjMmN:hover {
--guild-list-width: var(--guild-list-width-small)
}
:root {
--guild-item-radius: 50px;
--guild-list-height: 40px;
--guild-list-width-small: calc(var(--guild-list-height) *6);
--guild-list-width: calc(var(--guild-list-height) + 24px);
--guild-item-spacing: calc(var(--guild-list-height) / 10);
}
fits perfectly every single time
oh we are talking about server lists?
im playing around with discordstyles horizontal serverlist snippet
im actually playing around with a lot right now
looks extremely promising
it does
the only working horizontal servers list I have ever made is in my facebook theme
what about it
ITS NOT ALIGNED? WHAT DO YOU WANT FROM ME I LITERALLY FIGURED OUT HOW TO GET YKUKTL DOWN THERE 5 MINUTES AGO
IM SORRY IM SORRY
ykuktl is the user thingy down there, ive dealt and cried about it so many times i know it from memory
i have placed my ykuktl to the top
i genuinely do not see it

that looks aligned to me
here i will zoom it in twice for you sunnie
wait ill help
the grey part below is not matching the other corners
wait thats literally how its supposed to be??
ewwwwwwwwwww
i hate discord
also im always in for a treat when i open the devtools
i certainly do not want to give up my exquisite ykuktl and hence that horizontal serverlist will have to be implemented differently once i snatched ur code
ill never give it to you
hehehehehe
im kidding ill send it once im done
oh i was looking at the alignment between the settings cog and discord icon π
yeah okay that's funny
i got an idea, but i dont know how to do it
okay this actually looks cursed
what if, the three buttons next to the avatar and name are hidden and pop out when you hover over your name and that also pushes away the server list to the right
hmm ...
wait no that isnt possible i think because they are two completely different objects, right?
width: 0 to the normal width?
they arent under the same parent
probably that, but i think you cant make the server list itself move by changing the ykuktl, though i could make it so both independently move
i might even have the code in a snippet i made some other time, let me check
wait no thats vertical haha
looks clean af
actually looks cool, though i would never use it
but they coded the member list weirdly
not only is it super laggy
but at some point it just gives up
i love css
xd
get rekt by discord
81 donors 
ven making more money than some places' minimum wage probably
definitely
ven is gonna buy discord and actually name it vencord
jason, prepare urself
ok nvm it's literally impossible in just css π oh well
ven vs jason cage fight winner gets discord
what if 81 x1 usd

It doesn't need to be a recurring donation
do this as your only thing in quickcss and tell me what you think
ignore the servers that are way to the side haha
just focus on the ykuktl
screen resolution?
whatever the default is
just a quick heads up this https://github.com/xdCoolesding/shiggycord/blob/main/Addons/wip.css#L1 won't work as raw.githubusercontent.com doesn't serve a mime type that css needs
i dont know what that means so i will just assume i dont have to
do you have a 1080 screen? i figured that might be an issue when i use px
yeah i have 1080
wait, does vencord parse those imports & fetch them manually? otherwise I don't see why you had any success with it working.
weird
it works on vencord
how
vencord hacks your computer
we simply fix the content type on stylesheet imports
it's trivial
interesting
dunno why other mods don't do the same
there is no drawback
well nobody has ever thought about this because everyone was simply just using github pages
i have no idea how to use github pages
Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.
i just did it cause i got tired of having to use github pages
since your repo name isnt in the github pages format i think you should change its name first
though that will leave some consequences
honestly, I never bothered to use electron's network apis because as far as I can remember, they have a huge impact on the client's performance
can i apply an animation on an object that is a inside a parent object? my case:
i wanna make an animation start when i hover on object A
that animation should change the properties of object b
the tree looks something like this
parent
object b
subparent
object A
is that a thing?
so for example something like
.objectA:hover>(magically start animation)
animation:
(changes a variable that changes something about object B)
I guess I worded that one wrong
When I ran some testing, I noticed that not messing with csp improved the client's startup time a lot, so I kinda avoided doing so & using those apis. ofc yeah in bigger size mods you kinda have to include it
yes
so, object b is not a child of a right
.common-parent:has(.node-a:hover, .node-a:focus) .node-b {
stuff: "yes";
}```
2009 vibes
nope
what the
i dont understand
Basically use :has as look-ahead
that still makes no sense but i think it makes a little more sense
it works perfectly, thank you!
that is incredibly useful, ill keep it in mind
Reposting this to get snippets role
/* Remove stupid 'suggested' section */
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB),
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3,
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3,
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3,
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3,
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3 + div.sectionDivider-189lqb,
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + div.sectionDivider-189lqb,
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + div.sectionDivider-189lqb,
li.containerDefault-3TQ5YN:has(.dismissWrapper-jq1mzB) + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + li.containerDefault-YUSmu3 + div.sectionDivider-189lqb {
display: none;
}
:has is basically a selector that lets you check children
.common-parent:has(.some-child)
this means, select any node whose class list contains common-parent and that has a child whose class list contains some-child
this is terrible
what is that trying to achieve?
what suggested section
hide suggested channels
reposting
from where?
you can probably compress hiding the extra separator to a single line with :nth-of-type but that's like it
discord loves insane shitcode
from here
oh
At the top of the channel section when you remove channels from the list
That's such a lengthy snippet
you can't really do it better
The channel list is just a bunch of lis with no real way to find the difference between sections
my parents didnt have that!
what just happened lol
it slowly started breaking as soon as i tried changing .sidebar-1tnWFu
first the chat disappeared, then when i tried changing channel to reload everything unloaded and then it was only a quarter of my screen. i think my vencord is cursed
oh okay, nevermind, its when i put for example .panels-3wFtMD in and dont finish it, for some reason it doesnt fix itself when i remove it though

i think i have just done basic logic, i will consider myself better than all of you now and i will always look down at you
when i hover on the little arrow on the side
ah, I've done that once before in one of my themes, mobilev2
shhhhhhhhhhhhh
Oh damn that looks crazy good
CRAZY GOOD?
MUM, IVE DONE SOMETHING WITH MY LIFE!
Yeah sure
gimme a sec
i just put it as an import on github so it might not work perfectly
put that as your only thing in your quickcss for now, i havent done anything in terms of compatibility
Damn yeah it looks solid
seems to work perfectly fine
should i hide the arrow when the list is open? probably, right?
Well so far only issue im seeing is this bit being fully fucked
Yeah sure
if you wanna use that, just turn off gameactivity and it should work
i did consider being in a call, using spotify controls and doing both at the same time though
the alignment π
Yeah only that bit is a bit broken everything else is great
what have I done
add this at the end
Oh yeah its fine when theres no game actvity
you just rudely interrupted me :P
Horror
@neon matrix add this
Ooooo yeah this one seems better
it makes the arrow disappear
sorry 
wait it only makes it disappear when you hover it, IM A GENIUS
upgrade
is there a way to disable the stupid voice chat thing
voice chat thing?
yeah
oh the little thing that pops up, yeah sure
i hate you with a passion
π
Ohh it does that to me too when i resize my discord then put it back to full size
this heides the in voice pill
yeah i cant fix the server list doing that, sorry
well i probably can actually but i really dont care that much because usually you dont change your window size all the time
it has a delay of 3 seconds so just wait a few seconds and it should all be fine
I only use whatever the default full screen size is π
HOW DID YOU NOT GET THE ERROR
what error?
how did you get it into this perfectly aligned state
while my entire user panel is shifted down
i looked at it and put in fitting numbers
but i used % and that should in theory make it work in all resolutions?
do not use %
whyyyyyyyyy
unless itβs 100% of the parent div
is % bad?
doesnβt scale well
How do you even achieve that
THIS IS EXACTLY WHAT I WOULD THINK % IS FOR
WHYYYYYYYYYY CSS
okay which units scale best?
this div has a fixed height anyway, why would you use %
what does fixed height mean?
does not change
whatever your screen res is, it'll always be the same
isnt that like... stupid?
not really
@import url(//dablulite.github.io/css-snippets/TogglesV2/import.css);
```can someone test this on vencord?
what does it do
toggles
that looks like android
I mean on vencord toggles
it is
ye it looks fine there
I just thought it would make a good snippet, just a chunk of code from mobilev2 really
the taskbar when you miss it?
those buttons can't be moved and no one wants to put them in an ugly div above the server name
do you mean those buttons i moved?
windows's are stuck on the top right
macos buttons are native
macos's on the top left
they can't be changed with css
ye you literally can't move them
the everything in question
my eyes
do NOT move them out of the top right corner
why?
there is a reason they are there
it's inconsistent with every single windows app ont eh planet
exactly
- it looks ugly
OH so you were saying i CAN but i should NEVER
it also breaks muscle memory
for the windows buttons, yes
the macos buttons CANNOT be moved
i thought you were saying that i CANT, thats why i was confused
they are not a part of the webview
don't even think about linux (they copy pasted windows)
i do not see macos as a computer
get rekt
I might remove a ton of resource demanding features off my theme
the serverlist one just lags so much π
i used bdeditor
thats why
i edit a theme
@mortal mantle
bdeditor can be used by anyone .....
means
yes
this is what i have now, ill probably fix the % thing soon but not rn
px
good ol px
works just fine
I can even reduce my display's resolution and it still looks great
be right back
question: is it possible to grab the colour from the folder and apply it to the sidebar ?
ill change it aaaaaaaaalll to px
prob not
let me guess
color
.platform-osx .wrapper-1_HaEi {
margin-top: 0 !important;
padding-top: 32px;
}
```is that your code for that?
testing purposes
MobileV2 has the same issue
and im trying to see if that fixes it
but I will add proper selectors
why are u changing it to padding?
anyway if it works fine on stock discord then that's our fault
cause it will look really weird otherwise with nitro themes, is what I suspect
but I can't test it
because I don't have a mac\
oops something is broken when using spotifycontrol or in a vc, fixing it
hm it doesnt scale no matter what i use
@slim pond for some reason, while I was fixing your server list snippet to fit into my layout, my cpu reported almost 30% usage on hovering around the server names
i deleted the snippet and it went back to below 10 or even 5 percent
It could be because .... most of the default discord css was already changed by me long ago
so I took away the name part and kept the compact design
actually looks fine
and it overwrote discord's horrible folder animation
it actually looks sick
and it doesn't make my CPU scream anymore
I'm just fighting to make this continuous server list look good
(totally my CPU issue)
this actually looks sick
arent they in the same panel?
I used to have an idea of splitting the user area so it could go at the bottom, and the music player still at the top
but I didnt believe it was possible and dropped
time for discord DOM lessons, with dablu
you see, the panels area is split in 2 semi-static elements
ur insane
wuhh
that empty wrapper is where everything that isn't the user area goes
the user area goes on the other appropriately named container
you can split the 2 areas and move them around however you like
but the interactive panels (call panel, spotify controls, etc) will always be contained by either .panels or the wrapper inside it
@mortal mantle@mortal mantle edit the js to add it completely separate from the panel :3
idk how to js π₯²
what exactly did you want t do, aoi?
oh, I see
hmm
y aoi
it depends on how the player works
if its size is fixed, it's very much possible
yep, fixed height
.vc-spotify-player its height is 125 (126 with its bottom border)
it doesnt have fixed height wdym
its height is also not consistent
it may grow or shrink depending on your settings
ah
actually
since the height can be modified, presumeably by just those 2 things, it should still be calculateable
whats the colour palette for
this
almost legit squarecord
(i changed the global border-radius variable to 0)
holy sh- it's so much smoother
can i have this
i've been using the other squared theme for a while
i want yours, without the radial status
I might actually make a modified version of the original sqared but without radial status
Sure, let me compile everything again
oof
how much does it take you to compile?
i mean, updating the end user file
(god it feels weird saying "compile" for a theme)
sorry for confusion
but it guess that's the case with sass/less
can you make theme for me like this but isn't square
@mortal mantle
why ping me twice
ohh sry
why are you using discord on 25% height
im using discord web cuz im on a chromebook
h3[class*=membersGroup][class*=container-], h2[class*=membersGroup][class*=container-] {
height: 24px;
}
px does seem to work better than vh in this case hmm
lmao
[class*=listItem-] [class*=wrapper-] > svg > foreignObject
{
mask: none !important;
border-radius: 0px;
/* border: 1px solid green; */
}
[id*=folder-items-] > div > div > div > div,
[id*=folder-items-] > div > div > div > div > svg > foreignObject
{
border-radius: 0px;
mask: none;
}```
i have this, but for some reason it only becomes square when you jhover over it
what is that for
didnt the file I sent you yesterday already have squared server icons
this?
yeah that
weird
seems to be an issue from github pages
wait no it's not
could be your other snippets
if --guild-item-radius is already 0 then the whole thing should be squared
let me check real quick
rip performannce
with only import
and now the config data below
the radius in the main file is already set to 0 as default
looks normal
which should mean the server icons are squared
yes
seems like problem solved to me
guh why does importing the main file break the theme :(
it must have been me changing all the discord default values
wait a fucking minute
nvm I'm dumb, I forgot to merge the changes from my quickcss to the github file
but still, chat bubbles break on normal discord due to lack of color-mix support
selected folder > hovered folder > unhovered folder
it's frosted glass, with a different bg
yes i use bdeditor
i dont known about coding
how do i hide the unread channels whenever the category is collapsed
as a point of view of a css dev only please.
i mean, even if the user doesn't set it to mute. these unread channel will automatically hide whenever clicking its category.
we're in css-development channel,.. there's no way I would tell the user to mute these channel just to make my css to work.. lol
thats...hiding the read channels
not unread
all channels in a category which means unread and read channels are included, i mean
its just that discord css doesn't allow me to do that because of how the channel list was structured.
<li class"category" aria-expanded="false"></li>
<li class"channel"></li>
<li class"channel"></li>
<li class"channel"></li>
<li class"category" aria-expanded="true"></li>
<li class"channel"></li>
<li class"channel"></li>
<li class"channel"></li>
<li class"channel"></li>
it's just it open and close...
discord really sucks at structuring it
no that's just how HTML is
no,. it should be parent then child
why's that?
<ul class"scroller">
<li class"channel"></li>
<li class"channel"></li>
<ul class"category" aria-expanded="false">
<li class"channel"></li>
<li class"channel"></li>
<li class"channel"></li>
</ul>
<ul class"category" aria-expanded="true">
<li class"channel"></li>
<li class"channel"></li>
</ul>
<li class"channel"></li>
</ul>
:is(body,.container-1Bj0eq) .containerDefault-YUSmu3:not(:has(.wrapper-NhbLHG.modeUnread-3Cxepe, .wrapper-NhbLHG.modeSelected-3DmyhH)) {
display: none
}
oh wait I understand what you mean now
just like this image,. unread channel still appeared even when the category is collapsed
code?
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)~.containerDefault-YUSmu3:has(.wrapper-NhbLHG.modeUnread-3Cxepe)
{
display: none;
}
I used the + selector earlier and it was horror
theren has to be a better way of doing this
but idk
nuh uh that ~ doesnt work, lemme go back to the + then
it would be better if i know how to get the elements after the category element..
if i use ~ selector but it also select all element including the category below
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3:has(.wrapper-NhbLHG.modeUnread-3Cxepe),
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3:has(.wrapper-NhbLHG.modeUnread-3Cxepe)+.containerDefault-YUSmu3:has(.wrapper-NhbLHG.modeUnread-3Cxepe),
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3:has(.wrapper-NhbLHG.modeUnread-3Cxepe)+.containerDefault-YUSmu3:has(.wrapper-NhbLHG.modeUnread-3Cxepe)+.containerDefault-YUSmu3:has(.wrapper-NhbLHG.modeUnread-3Cxepe)
{
display: none;
}
you will have to do this infinitely many times
hmm that unread selector behind is unnecessary either
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3,
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3+.containerDefault-YUSmu3,
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3+.containerDefault-YUSmu3+.containerDefault-YUSmu3,
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3+.containerDefault-YUSmu3+.containerDefault-YUSmu3+.containerDefault-YUSmu3,
.containerDefault-3TQ5YN:has(.collapsed-2KOacR)+.containerDefault-YUSmu3+.containerDefault-YUSmu3+.containerDefault-YUSmu3+.containerDefault-YUSmu3+.containerDefault-YUSmu3
{
display: none;
}
something like this
i have no clue wtf is happening here
seems to be a bug for @import url(https://seele1306.github.io/Snippets/BetterProfiles/import.css);
only happens when i have it on
I haven't bumped it up to the newest version
.userPopoutInner-nv9Y92:has(#account) > *:not(:has(#account)), .userPopoutOverlayBackground-3A0Pcz:has(#account) > *:not(#account) {
display: none;
}
.containerDefault-3TQ5YN:has(.collapsed-2KOacR) ~ .containerDefault-YUSmu3:not(.containerDefault-3TQ5YN:has(.collapsed-2KOacR) ~ .containerDefault-3TQ5YN:not(:has(.collapsed-2KOacR)) ~ .containerDefault-YUSmu3) {
display: none;
}

life saver <3
least deranged discord css snippet
i forgot how bad it can get ;w;



