#🎨-theme-development

1 messages · Page 7 of 1

edgy sentinel
#

no

#

you just need to make sure ur filters are still specific enough

glossy aurora
#

they add a bit of lag but are necessary if the class you want to check for isn't at the start of the element's list

edgy sentinel
#

they add a bit of lag
source?

glacial barn
#

ok, thanks, I just didn't want to bother checking if the numbers/letters after the class changed or not ('cause on some elements they do, and on some other they don't), but I'll maybe look into changing them when I'm finished with the css I'm doing

gilded cloak
grand surge
edgy sentinel
#

whenever discord adds new classes or updates the existing css, the affected classes will change

gilded cloak
edgy sentinel
#

now look how many operations per ms

#

you're telling me it matters whether you can do 5 million or 3 million

gilded cloak
#

true

edgy sentinel
#

it doesn't make a big difference which of the two you use

#

what matters more is writing very inefficient selectors

#

like overusing wildcards or element selectors

#

using too specific selectors

#

overusing has

#

etc

#

first write theme then if u notice it's laggy fix the lag

#

don't try to fix lag ahead of time

#

premature eja- uhh optimisation

gilded cloak
#

which do you think is faster:

trying to target a very exact path

main section article:has(> div > div > div:first-child > div > div > div > div > div:first-child > svg > g > path[d^="M4.75 3.79l4.603"])

letting it figure it out itself

article:has(path[d^="M4.75 3.79l4.603"])

This is css to target retweets in twitter

#

it gets VERY laggy very fast with either of them

edgy sentinel
#

really?

#

anyway the latter

#

css goes from left to right so your more specific selector actually makes it worse

#

the latter shouldn't cause any issues

gilded cloak
#

I think the main reason its laggy is because its hiding so many retweets that it has to keep asking for more to show

#

that gray block is all the divider lines between tweets I hid

toxic remnant
#

[Question] Hey, so i have this css thing to make the sidebar expandable

/* Sidebar grip point */
:root {
--sidebar-initial-width: 240px;
} 
.sidebar-1tnWFu {
resize: horizontal; 
width: var(--sidebar-initial-width);
}
.sidebar-1tnWFu .channel-2QD9_O {
max-width: unset;
}```
And it messes up the server banner [it seems to not span the entire width of the sidebar but rather have static width no matter the width of the sidebar] which i tried to fix with this thing:
```css
.bannerImage-3KhIJ6, .bannerImage-ubW8K-, .bannerImg-2PzH6z {
width: 100%;
}``` (part of the code snippet above actually came with the grip thingy but i modified it to make it work, but it didn't work in the end)
Can someone tell me what i'm doing wrong? I really like the grip point thingy but it bothers me everytime i see the messed up server banner
PS: pls ping if you have any solution
slim pond
mortal mantle
vast delta
dark dragon
#

Over a decade

mortal mantle
#

edited message

teal cave
wraith finch
#

is there any css to disable the stupid profile decorations

#

i hate those

toxic yew
#
[class*="bannerSVGWrapper-"] mask :not(circle):not(rect) {
    display: none;
}```
wraith finch
#

Thank yuo

rugged echo
mystic oyster
#

is there css code that fix that

mortal mantle
#

Fix what

mystic oyster
#

settings dosent appear

#

does the css takes time to load for these ppl that just started vencord?

#

cuz i just started and css dosent appear

mortal mantle
#

go to settings and open the quickcss file

#

css should load immediately after starting vencord

mystic oyster
#

u got anyfix for settings dosent appear

mortal mantle
#

Check your theme

vast delta
mortal mantle
#

huh

vast delta
#

they literally can't access settings because the button is gone haha

mortal mantle
#

right ...

vast delta
#

I'll trigger the bot for you

mortal mantle
vast delta
#

it's 1:22 go to bed

mortal mantle
#

No it's 6:22 silly

slim pond
#

mini spotify player in discord

mortal mantle
#

Finally Spotify controls mod is revived

slim pond
#

it even does the hover thing

#

same with the activity

mortal mantle
#

You should revive Spotify wave

rugged echo
#

--spotify
this time its not a 200 line code

mortal mantle
#

my Spotify code has reduced to below 100 line

#

to make it look consistent with other elements

rugged echo
#

I remember it had a lot of lines, or maybe it was other of the like 4 versions of it

mortal mantle
#

it used to be 500 or something

slim pond
#

mine is currently at 150

#

and I just got it to 137

mortal mantle
#

Around 200-210 lines for me if the style for the entire user panel is accounted for

#

including VC controls

slim pond
#

mine is a simple restyle so I didn't expect it to have too many lines

mortal mantle
#

I can't be bothered to restyle them all over again

#

So I will leave them at their current state

haughty totem
#

@gilded cloak re https://dev.to/f53/my-style-strategy-1loh >

we can use CSS nesting with a preprocessor like Scss
:
that is available natively since a few months ago: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting
(just until Chrome gets with the program, you have to do

html {
  & body {```
in it instead of 
```css
html {
  body {```


)
DEV Community

The conventional way people write CSS is hard to read, maintain, and keep consistent. ...

The CSS Nesting module allows you to write your stylesheets so that they are easier to read, more modular, and more maintainable. As you are not constantly repeating selectors, the file size can also be reduced.

gilded cloak
haughty totem
#

oh, in what way?

gilded cloak
#

Last I checked, Firefox doesn't support the & selector for it

haughty totem
#

oi

gilded cloak
#

And Firefox mobile did not support it at all

haughty totem
#

oh:/

gilded cloak
#

I had a note about it existing in normal css, but cut it to be brief

#

I am kind of shocked people read my blog

#

That blog in particular was more written as documentation for my coworkers because I was tired of reading their css

robust totem
gilded cloak
#

It's finally in nightly?

robust totem
#

it could be in stable by now, not sure

#

oh yep it's in stable too

gilded cloak
#

Neat

#

I will still be using and recommending Scss because of mixins and for loops

vast delta
#

wait how exactly does the & selector work?

haughty totem
#

basically it inserts the parent selector / ancestor selectors

#

a {
b: c;
&:not(d) {
e: f;}}

=

a {b:c}
a:not(d){e:f}

#

sorry lazy typist

remote willow
#

We live. We love. We lie. (based on @\hadeandragon's snippet) ⚠️ Flashing lights

@keyframes smurf-cat {from{filter:opacity(0)}to{filter:opacity(100)}}
body{animation:infinite alternate smurf-cat 0.5s;background: url("https://i.ytimg.com/vi/seaHqIMTECo/maxresdefault.jpg");background-size: cover;}```
mortal mantle
#

wtf is a opacity 100

still mango
#

oops wrong channel moment
also can't post in #🎨-css-snippets so

[class*=avatarDecoration-]
{ display: none }
[class*=avatarDecorationHint-] > foreignObject {
  width: 80px;
  height: 80px;
  mask: url(#svg-mask-avatar-status-round-80);
}
[class*=avatarDecorationHint-] {
  top: -80px;
  left: 0px;
  position: relative;
}
[class*="bannerSVGWrapper-"] > mask > image
{ display: none; }
#

hides awful things

vast delta
vast delta
robust totem
vast delta
#

so no reason to use them

robust totem
#

it's just nicer with less repetition

#

like I have a theme that gets applied to one specific thread channel with [data-list-id^="forum-channel-list-......"] > [role="list"] > li {}
and I don't need to worry whether a generic .header or .message class also messes up something else in another part of the app

edgy sentinel
#

it also allows you to use less classes

.message-header {
  display: flex;

  img {
    border-radius: 50%;
  }

  p {
  }
}
dark dragon
#

They're talking about specifically the ampersand combinator rather than nesting I think

mortal mantle
#

I will try putting my quickcss through a scss converter to see what it does

#

as expected it broke the layout

graceful burrow
teal cave
#

Apart from the usual pseudo selectors (&:hover, &:active, etc), there's also this scenario where & becomes useful:

// Some unavoidably long selector
.u2q34u3:has(.wef2sdfsd7f8[src=*="237847293489892"]) > .82342jk34h2b.2j34234 {
  .theme-light & {
    background-image: url(light.png);
  }
  .theme-dark & {
    background-image: url(dark.png);
}```
vast delta
#

you know how i usually fix that issue? not supporting light mode trolley

balmy torrent
#

mean

oak plover
#

i support it but at like a very very

#

very slow pace

haughty totem
mortal mantle
graceful burrow
mortal mantle
#

Not that I currently know of

teal cave
#

tell discord to upgrade electron version trolley

#

(it will take them the next decade to do it)

mortal mantle
#

Most sane discord theme

teal cave
#

I would make it but I am already backlogged on like 4 themes agony

#

cursed shit that I am attempting rn, single colour with drop shadows only, this is for an audience of nobody

cedar cairn
#

my eyes are bleeding

hallow comet
#

you want eye bleed i could post my theme lol

teal cave
hallow comet
#

my discord crashed when i went to post my gif of my theme

cedar cairn
teal cave
mortal mantle
#

and make it blink/flash on transition

teal cave
#

should be doable, just wonder how the performance will be for that animation

lavish coyote
#

yo how would this look with my linux rice

also is this public
i would be happy to test

#

pretty tired using dtm-08

looks like dog with this

zenith nova
lavish coyote
#

damn

#

anyone else doing this but in the theme of discord and not wlm / msn

#

?

#

kinda like that 2005 mockup

zenith nova
#

Nevermind

lavish coyote
#

ive seen those
dont work sadly

#

man discord why did you have to go with electron

#

you could have choosed anything but electron for the desktop app

oak plover
#

Or just better classes

zenith nova
#

At least it's very themable with Vencord or any other client, otherwise it could be either easier or harder to change its look

zenith nova
mortal mantle
#

real

lavish coyote
#

i would use vencord if it didnt have a custom border

mortal mantle
#

custom border?

lavish coyote
#

yeah it has a custom window border

oak plover
#

Did you get vesktop or whatever it is

lavish coyote
#

tf is vesktop

oak plover
#

Idk what it’s called

safe python
#

send a screenshot

lavish coyote
#

i would use ripcord if the voice chat worked and screen sharing and video worked

lavish coyote
#

i like the linux version of electron not knowing what to do to the window because it doesnt know what linux is and it defaults to the theme engine my xorg session is using

#

gtk

#

makes it more customizable

safe python
#

oh you mean the top bar?

lavish coyote
#

yes

safe python
#

that can be turned off from vencord settings

lavish coyote
#

eh still the voice chat quality isnt great

#

stuff like stereo microphones are broken and shit because its literally the web browser version and not discord

cedar cairn
#

stereo microphones also do not work in real discord

#

anything saying otherwise is placebo

lavish coyote
#

yes but with plugins it does

also screensharing is broken for me on vencord

half crystal
#

any way to remove the channels sidebar menu? i dont know enough about css to do it

lavish coyote
cedar cairn
#

no they don't, things are mono serverside

mortal mantle
#

it isnt broken anymore on vesktop

lavish coyote
mortal mantle
#

and the phrase stereo microphone itself is forbidden here

cedar cairn
#

you're hearing things

lavish coyote
#

like dumbass loud micers and shit on racist homophobe servers

lavish coyote
#

seriously

#

i mean theres an entire server dedicated to stereo microphones on discord

mortal mantle
#

first, read the server rules

lavish coyote
#

ok

#

just a bit confused on why thats a rule

mortal mantle
#

because far too many people asked for a feature that would never be able to be implemented

lavish coyote
#

ok

#

anyways i have no use for this server as i dont use vencord so bye i guess

#

i came here for a theme

mortal mantle
#

i wonder which one of these two would be a better choice for setting a global border radius (performance-wise)

vast delta
#

actually probably the second one

zenith nova
#

No that's Linux

#

Xfce Luna theme

#

With a custom start menu too

balmy torrent
#

yeah it's pretty convincing

zenith nova
#

That one

#

Looks so good

half crystal
#

Snippet Submission:
Hide the Channel List on Certain servers (made because my personal server only has one channel.)

.sidebar-1tnWFu:has(.container-1NXEtd[aria-label="SERVERNAME (server)"]) {
    width: 0px!important;
}
teal cave
#

This also gets rid of the user panel

#

Don't like that

half crystal
teal cave
#

Switching to another server just to access the user panel seems quite inconvenient, I'd rather use the hover-to-expand channel list than this

teal cave
#

Ctrl+, opens settings, user panel has other functions other than just opening the regular settings menu

#

simply put I have the feeling that if this snippet is posted, it will get husked

half crystal
teal cave
mortal mantle
half crystal
haughty totem
balmy torrent
#

❤️ lovely

mortal mantle
#

I wonder if it would explode my computer

#

Shiggy mod?????

balmy torrent
#

ye

mortal mantle
#

damn

haughty totem
teal cave
#

none theme with left drop-shadow

rugged echo
#

what the fuck how I am supposed to read anything

grand surge
#

horror

rugged echo
#

its probably worse on dark mode

vast delta
#

.theme-light {
  display: none !important;
}```

everyone copy this into every single import you have. thank you.
mortal mantle
#

lol

#

I'm rewriting my primary-hsl colors and temporarily removing light theme support until I have found a better solution

#

using actual discord values

#

Jokes on you I'm using light mode

alpine cove
#

piss mode

teal cave
#

If your piss has a red them you need to see a doctor

vast delta
#

if your piss doesn't ever have red you should be concerned that you're dead

haughty totem
#

i think i’ve never pissed red in my 39 years. (am not concerned i’m dead)

vast delta
#

me neither but I had no way to make salt look weird there

little agate
#

what

haughty totem
vast delta
#

@vast delta said this though

haughty totem
#

let’s just say it was an average client modder moment

mortal mantle
#

@vast delta rate my new color scheme

#

hsl-free

vast delta
#

i almost love you

#

use hex instead of rgb

#

its way shorter and looks cooler to work with

#

#000000 and #FFFFFF would be like drop in replacements

mortal mantle
#

discord does NOT like my variables

#

horror

edgy sentinel
#

#fff instead of #ffffff

mortal mantle
#

real

vast delta
edgy sentinel
#

color mix is so cursed

mortal mantle
#

it's so good

half crystal
#

Snippet Submission:

*very smol hover-to-open for channels and servers with customization :)*

Server:

@import url("https://blade04208.github.io/css/stacked/server.css");
:root {
    --guild-mini: 24px;
    --guild-max: 72px; /* normal server list size */ }

Channel:

@import url("https://blade04208.github.io/css/stacked/channel.css");
:root {
    --channel-mini: 36px;
    --channel-max: 240px; /* normal channel list size */}
rugged echo
#

looks so cursed for some reason

mortal mantle
#

There'd better be an arrow indicator of some sort so people would know where to hover

haughty totem
#

what are our current snippets for taming the message input field icons?
Cc: @mortal mantle @vast delta@dark dragon

edgy sentinel
#

taming?

haughty totem
#

i’ll likely take a crack at it

edgy sentinel
haughty totem
#

thanks! That’s a good baseline and just went into my quickcss;
but i hope to get something going with flex-direction: column;
not sure it’ll work out tho

come to think of it, prbly not actually, cause i think i’ve tried that before and given up

dark dragon
#

I think Aoi's just using a burger menu now, I'm not sure if they posted their snippet for that one anywhere though

mortal mantle
#

will appear on hover

vast delta
#

damn that looks good, who made it :3

mortal mantle
#

you

#

but i modded it heavily

#

wip to change all the color variables back to normal

#

this fortunately looks okay enough to not require any changes

grand surge
#

hey can anyone tell me the css selector for the channel loading thing

lusty hinge
#

is there a css snippet to remove the leftmost icon?

mortal mantle
#
button[aria-label="Noise Suppression powered by RNNoise"] {
display: none
}
edgy sentinel
balmy torrent
vast delta
vast delta
mortal mantle
#

Most braindead way

#

No effort required

haughty totem
#

also nicely self-documenting

vast delta
#

also nicely prone to breaking on other languages

haughty totem
#

ah well that’s a winning point

mortal mantle
toxic yew
mortal mantle
#

^

balmy torrent
#

borgir

mortal mantle
#

Soon available in Deutsch and Suomi

haughty totem
#

that’s not even

vast delta
#

I'm gonna translate vencord to Spanish (I can barely make simple sentences)

haughty totem
#

¡arriba!

balmy torrent
#

spainish!

rugged echo
#

that would be so weird, I haven't seen any client mod translated to other languages

cedar cairn
#

i will translate vencord to toki pona

#

or eeeeeee

rugged echo
#

make it so it uses wierd UK slangs or something trolley

dark dragon
mortal mantle
#

Cumcord sounds so wrong

edgy sentinel
#

maybe we could add translations to vencord

#

thinking about it it wouldn't be that hard

#

it would make vencord more seamless

mortal mantle
haughty totem
#

langcord

rugged echo
rugged echo
dark dragon
rugged echo
#

well idk whats that, I guess its not too hard to use

haughty totem
rugged echo
#

all sw?

haughty totem
#

software

torpid void
#

anyone know a css snippet that allows you to change the differnet fonts discord uses?

little agate
torpid void
#

ty

gentle mountain
#

Is it possible to make streams play through a separate output

vast delta
#

not with css

gentle mountain
#

SAD

lusty current
#

how would i remove this at the top bar?

rugged echo
#
.wordmarkWindows-2dq6rw svg {
    display: none;
}

probably works

haughty totem
#

seems like you’re missing a :hover on the block w the svg

true mica
#

someone please make css to hide this atrocious tab

haughty totem
#

i will make you css to double its size and make it blink

true mica
#

!ban

edgy sentinel
true mica
#

busy

haughty totem
true mica
#

will probably do in a month

haughty totem
#

gladly

true mica
#

/shop instead

proper arch
#

I see this right after figuring out how to remove it myself with no css experience

#

I was proud of myself for a second :')

haughty totem
#

i’m proud of you too, pumpkin

vast delta
#

russian comments husk

runic radish
#

Can I dump a mini-theme here? trolley

runic radish
#

Caught in 4k asking a dumb question (messagelogger user w)

#

||I'm sorry||

mortal mantle
glad wadi
#

how to fix these black bars

#

also these stutters

#

my theme css is just random shit from this and github lol

vast delta
vast delta
glad wadi
#

sorry but

#

i REALLY dont understand anything

#

yknow i know css but i started this yesterday

#

pls speak noob to me

#

most of code is importing from github do i need to download, fix and use or its about their code order

toxic yew
#

use inspect element and see what cause it

vale quest
toxic yew
#

idk

vast delta
#

is transparency broken? or is it just me not figuring out how it works?

summer crater
vast delta
summer crater
#

But yea if it's pointer-events disabled you can't select it with devtools

vast delta
#
.form-3gdLxP:before, .children-3xh0VB:after```
#

must be that

summer crater
#

Yeah that's possible

#

Just display none it

vast delta
#

form is the chatbar and children is the top bar

#

yeaaahh boy more things to hide

#
.containerWrapper-1kh54c {
  display: none;
}```
#

much less exciting as i thought

gilded cloak
vast delta
#

wait does that mean if they change those random letters everything breaks?

gilded cloak
#

Yeah

vast delta
#

and also they can do that?

#

guhhhhhhhhhhhhhhhhh

gilded cloak
#

Yeah

vast delta
#

i did not know that

glossy aurora
#

usually you can just write something like [class^=containerWrapper]

#

or *= if that class isn't the first in the element's class list

safe python
#

pretty sure that bit is never changed until they go back and change it's content

#

which is like never

gilded cloak
#

One time it happened to every class in the entire app

#

Since then I always just use safe selectors

slim pond
#

are you for real discord

#

near perfect color coverage ruined by discord's shitty code

#

they have about 30 primaries and whites available to them yet they still chose to hardcode the colors

rugged echo
slim pond
#

discord is inconsistent

#

seriously, they can't make their themes work properly

rugged echo
#

nitro theme moment

slim pond
#

pov you pay for "features"

#

I call this a spit in the face

#

and a waste of money

slim pond
#

really now

#

this is --background-primary

#

so why not set it to that

slim pond
solid ore
#
[class^=channel-] > div > [href="/shop"]
{ 
  display: none;
}```
edgy sentinel
#

read the channel topic

solid ore
#

oh mb ty

#

but i dont have perms to post their anyway

glossy aurora
#

dont post low effort snippets (single display: none for example)

steel scroll
#

that's why I wanted to theme by somehow modifying the css source code directory

leaden isle
#

im proud of myself for figuring that out :P

glacial citrus
#

hello, is there a way with css to change the direction something scrolls in
eg making a vertical list scroll horisontally or vice versa

edgy sentinel
#

transform: rotate(90deg)

gilded cloak
slim pond
#

on the other hand, I could leave it as-is, just to remind myself that discord doesn't know how to write css

#

and anyone else that uses the official colorway imports

slim pond
#

or hidden auto

#

ah yes chat-xxxx > chat-xxxx

slim pond
#

pov you update a website

#

the new UI:

#

the old remaining UI

slim pond
#

#DiscordSucksAtCSS

mortal mantle
#

I know, I know ...

solid ore
rugged echo
vast delta
#

i'd like to intervene for a moment

#
.scrollbarGhost-dCZKgZ {}
.scrollbarDefault-2w-Dyz {}
.scrollbarGhostHairline-2LpzZ9 {}

official discord approved lines

rugged echo
#

an empty selector? why

vast delta
#

ven explained it well a few weeks ago, i think it was because they use a script to build their css file in which instead of removing obsolete objects, they just nuke their selectors in them so it doesn't matter anyways

#

though, they could also just keep the selectors and it wouldnt break, so im pretty sure that is also common throughout the entire file

rugged echo
#

oh, so they forgot or don't care to remove those

vast delta
#

pretty sure this object doesnt exist anymore

.iconWrapperActive-LhB4mn {}

.iconWrapperActive-LhB4mn:hover {
    opacity: 1
}

.iconWrapperActive-LhB4mn:active {
    -webkit-transform: translateY(1px);
    transform: translateY(1px)
}```
vast delta
vast delta
rugged echo
#

I don't even know what is that, but I guess if it doesn't exist its not going to affect anything anyways

vast delta
#

exactly

#

guh idk anymore

haughty totem
vast delta
#

well we aren't gonna do everything for you villain (unless you pay me)

rugged echo
#

wdym folder and hover colors?

haughty totem
#

what’s unclear about that?

#

green folder

#

blue on hover

torpid void
#

oxocarbon theme

gritty ore
#

Anyone know how to fix the alignment?

slim pond
#

get colorpicked

mortal mantle
#

lmao

torpid void
slim pond
#

I literally just colorpicked the theme and threw it into the colorway creator

torpid void
#

Lol

#

Which one? I made the theme manually?

slim pond
torpid void
#

Link?

slim pond
#

it's a custom plugin

#

but I'm working on porting it to all clients

torpid void
#

Can you send the code or nah?

slim pond
torpid void
#

Thanks

#

Do you know if I could just just move the discorsColorways folder into my userplugins folder or is there other things that make it work?

haughty totem
slim pond
#

just replace:

authors: [Devs.DaBluLite, Devs.ImLvna]

with:

authors: [{name: "DaBluLite",id: 582170007505731594n}, Devs.ImLvna]

in index.tsx

#

then you can just move the plugin folder in your userplugins folder

torpid void
#

ok

#

thanks

torpid void
sinful marsh
#

i would like to make the background of this Spotify Player plugin transparent w/ a .css snippet but idk how to target it specifically w/ .css; through .html it looks like this

haughty totem
sinful marsh
#

I'm not sure what that means but all i did was take the little checkmark on this and then clicked it

#

is that okay?

haughty totem
#

yup that’s perfect

#

try putting

:not(#prioritize#this#rule) #vc-spotify-player {
  background: none;
}```
in your QuickCSS
sinful marsh
#

thank you so much!

haughty totem
#

edited

#

yw

sinful marsh
#

while im here btw is "none" the same thing as "transparent"

haughty totem
#

yeah i think so

#

you can try putting transparent – if it works, ig it will be more self-explanatory 🙂

haughty totem
#

is it not self-explanatory 😭

#

in my personal code i use #ö#ö

#

it’s a hack, for a weaker !important (or stronger in combination with it)

sinful marsh
#

interesting tyty

haughty totem
# haughty totem is it not self-explanatory 😭

i suppose it is unduly confusing.
(in this case an alternative would be #vc-spotify-player#vc-spotify-player but prbly still not worth the confusion.)
Prbly best if i just use !important in published snippets like a normal person.

advice appreciated

grand surge
#

i tried recreating this effect in css for the spoiler content but idk how to so if some cool person could that would be amazing

#

pretty sure it needs js

haughty totem
#

i reckon one could do that with some <filter> magic
in css i mean

#

actually no, i think if you want to replicate that exactly, you don’t even need a filter, as the static does not acually seem to take into account the text – i think it just fades to/from a premade static animation

#

if you want to generate the static via css instead of loading a premade gif: https://stackoverflow.com/questions/70208639/how-to-improve-an-animated-tv-static-effect-using-a-pure-css-gradient has some code for that, which is surprisingly short, but it doesn’t nearly look as cool as your example with its fireflies vibe^^

grand surge
grand surge
dark dragon
haughty totem
#
  1. don’t want to limit to dark theme
  2. want to trump rule priority. (Just using the same selectors might still trump, from having a later position, but i don’t want to have to test that and rely on the position not possibly changing)

we could do :has :is(.theme-dark, .theme-light) #vc-spotify-player – that would solve both problems. (Is it less terrifying?)
(✔ one of the two main themes always applies even with Nitro color themes)

#

:has(x, y) is OR.
a, b, c trumps e f (if i’m not mistaken)

vast delta
#

do #app-mount I think it has a higher selector priority

#

if not, try doing the parent object>#vc... I'm pretty sure it works as well

summer crater
#

reading that you call html elements "objects" breaks my mind lol

vast delta
#

at least I'm not calling them things

#

ALSO THEY ARE OBJECTS

#

like, why not call them objects

#

"html elements" is such a stupid name, what other elements are there to need to specify they are from html? don't say pseudoelements

summer crater
#

I'm probably just too much used that everybody calls them html elements / just "elements"

summer crater
vast delta
haughty totem
vast delta
#

you can prevent being annoying by not saying anything

#

of course I know it's gonna break my id thing, I just don't care

haughty totem
#

gotcha, sorry

vast delta
#

oh it's fine it was a joke

trim tendon
#

is there a way to fix the missing soundboard icon in fullscreen mode using css?

rugged echo
#

I didn't know that happened, discord issue lol

dark dragon
haughty totem
#

ik, but an element selector (html) has lower priority than a class selector (.theme-dark) so w that selector the new rule would be overridden by the old one

but :is() is an important correction there, my :has() was wrong – thanks! (i assume, given this special case that we’re selecting the :root element <html> there)

leaden light
#

This is an old css I customed back in the days (I took the idea from a Visual Studio discord theme). When i was using BD it was lagging... on vencord seem to be ok.

.idle-1brB89 {
  animation: bounce-animation 1.7s ease 0s 1 normal forwards, live-border-animation 10s linear infinite; */
}   

@keyframes bounce-animation {
  0% {
      animation-timing-function: ease-in;
      opacity: 1;
      transform: translateY(-45px);
  }

  24% {
      opacity: 1;
  }

  40% {
      animation-timing-function: ease-in;
      transform: translateY(-24px);
  }

  65% {
      animation-timing-function: ease-in;
      transform: translateY(-12px);
  }

  82% {
      animation-timing-function: ease-in;
      transform: translateY(-6px);
  }

  93% {
      animation-timing-function: ease-in;
      transform: translateY(-4px);
  }

  25%,
  55%,
  75%,
  87% {
      animation-timing-function: ease-out;
      transform: translateY(0px);
  }

  100% {
      animation-timing-function: ease-out;
      opacity: 1;
      transform: translateY(0px);
  }
}

@keyframes live-border-animation {
  0% {
      border: 3px solid red
  }
  20% { 
      border: 3px solid yellow;
  }
  40% {
      border: 3px solid green;
  }
  60% {
      border: 3px solid blue;
  }
  80% {
      border: 3px solid purple;
  }
  99.999999999999999% {
      border: 3px solid red;
  }
}```
teal cave
#

skully

leaden light
#

Rainbow Wave on User ID

.customStatus-1UAQAK,
.hovered-20u3oh,
.title-338goq {
  background-image: linear-gradient(to left, rgb(51, 255, 0), rgb(255, 230, 0), red, rgb(234, 0, 255), rgb(0, 140, 255), rgb(51, 255, 0));
  animation: gradient-border 3s linear infinite;
  background-size: 400% 100%;
  color: transparent !important;
  -webkit-background-clip: text;
  position: relative;
  z-index: 1;
}

@keyframes gradient-border {
  0%, 200% {
      background-position: 0 0;
  }

  99.999999999999999% {
      background-position: 130% 0;
  }
}

.scrolling-1Cdwk- {
  overflow: auto;
}

.outer-s4sY2_, .tileSizer-3VCNFs {
  margin: auto;
  display: flex;
}```
#

Some themes makes member's list a bit difficult to read. Using black colours with dark theme makes imposible to read the user name... This helps a bit....

.container-2o3qEW .content-2a4AW9 {
    background-color: rgb(67, 67, 80);
}


.member-2gU6Ar {
  background-color: rgb(67, 67, 80);
}
#

When using dark themes, sometimes user's name is difficult to read on channel messages. This adds an oval background on user name

.username-h_Y3Us {
  font-weight: 700;
  font-size: 13px;
  /* background-color: var(--color-brand); */
  background-color: rgb(242, 242, 242);
  color: black;
  border: 3px solid rgb(4, 101, 163);
  border-radius: 15px;
  padding: 0px 13px 1px 13px;
}
#

I'm using this 99.9999% of the time... this makes the channel list a bit wider... useful with big channel names.

  width: 320px;
}

.bannerImg-2PzH6z {
  width: 135%;
}```
half crystal
#

i regret to say that profile effects is now real and live and we need to figure out what its layer is and how to wipe it off the face of the earth

haughty totem
#

no love for the pizzazz

#

funny username^^

half crystal
haughty totem
#

qhar

real quarry
#

the sooner we have a css snipper hiding profile effects the sooner we can accomplish world peace

#

actually

#

at this point we should just have a plugin to hide discord's profile and render profiles our own way

#

less css headaches that way

oak plover
#

default profile customization pisses me off cause it's like "oh with nitro you can get a profile theme and an image banner"

#

except then you get nitro and you lose the ability to have a color banner and you don't get the option to not have a profile theme

midnight stone
#

I am having some issues

#

I'm setting the height of this div to zero

#

It just changes its vertical position instead of actually clipping the element

#

Any clues?

#

Perhaps it's because of position: absolute It's not

oak plover
#

probably overflow

midnight stone
#

Oh

#

It helped a lot, however it still shows a bit of the element

edgy sentinel
#

why does that look like my website

midnight stone
#

does it

edgy sentinel
#

it does

midnight stone
#

LMAO TRUE

edgy sentinel
midnight stone
#

sjiaushopi9dsauhbgsaulyikdsavb

edgy sentinel
#

our minds are shrimply connected

midnight stone
#

yop

#

full screenshot

#

i need to remove that repeating "english" section

edgy sentinel
#

make the text centered vertically content

dark dragon
edgy sentinel
#

are you doing the menu with js or smth like the details element

#

i did it with 0 js so it works without js enabled but it made it a lot more complicated

midnight stone
#

but i did it with zero js

#

code looks pretty nice with tailwind tbf

#

i'm just using "hover" on the parent element and showing the child

#

I think I'm better off also using details because it'd work with clicks

edgy sentinel
cedar cairn
edgy sentinel
#

doesn't

cedar cairn
#

considering you cant really hover over something there

edgy sentinel
#

i used details but it was really hard to get to look right cause you need to connect the summary and the body

#

and juggle with position absolute

cedar cairn
#

i simply will never translate our website

edgy sentinel
# edgy sentinel i used details but it was really hard to get to look right cause you need to con...
div {
        position: relative;
        width: 10em;
        margin-left: 0.5em;
    }

    details {
        position: absolute;
        top: 50%;
        z-index: 1000;
        padding: 0.5em;
    }

    details {
        transform: translateY(-50%);
    }

    details[open] {
        transform: translateY(-29%);
        background: var(--surface2);
        border-radius: 6px;
    }

    details:not([open]) summary :global(.check) {
        display: none;
    }

    details[open] summary :global(.dropdown) {
        display: none;
    }

    summary {
        list-style: none;
        height: 24px;
    }
#

do you love the magic number translateY

edgy sentinel
#

idk why exactly 29% but it works

dark dragon
#

It's not exact, but it's close enough. 27.4px(50% of its original height + the 8 pixels of padding on top) is it I think, that'd make it so the first option isn't slightly longer than the other, there's got to be a better way to do it though

midnight stone
#

I just implemented it with summary now

#

I didn't need any transforms

#

it just works

edgy sentinel
#

woah

balmy torrent
#

it just blends with the rest of the profile

oak plover
#

That’s literally not a banner

balmy torrent
#

why would you want the ugly thing

#

also you can upload a solid colour

oak plover
#

Doesn’t count I’ve done that already

#

And I’m not saying i personally want it I’m saying why does it get removed in the first place

runic radish
haughty totem
midnight grail
#

anyone got css to hide all these at the top?

#

but i think it broke

grand surge
#

open devtools, select the element and

.element {
    display: none;
}
safe python
midnight grail
grand surge
midnight grail
grand surge
#

ah

midnight grail
#

ended up using this

.toolbar-3_r2xA > [aria-label="Threads"],
.toolbar-3_r2xA > [aria-label="Pinned Messages"],
.toolbar-3_r2xA > [aria-label="Notification Settings"] {
  display: none;
}

cuz for some reason they all have different classes

#

couldn't figure out Inbox tho

#

just doing aria-label="Inbox" wasn't enough

midnight grail
haughty totem
cedar cairn
#

@midnight grail hai

midnight grail
#

hai!

#

how are you drake

cedar cairn
#

alr

haughty totem
#

/petpet painted your feline white o,o

cedar cairn
#

how have you been

haughty totem
#

no that was my light mode lol

midnight grail
#

busy with work now

haughty totem
#

rather the question is why your pfp cat is black despite my light mode

midnight grail
haughty totem
#

that would explain it

midnight grail
haughty totem
#

cat erasure

cedar cairn
#

v fair

midnight grail
midnight grail
cedar cairn
#

debatable

midnight grail
#

i noticed we never went spooky

haughty totem
midnight grail
#

i noticed plugins have readmes now

#

so that's cool & new

#

i know Ven wanted that a while ago

haughty totem
edgy sentinel
#

i hate mobile

vast delta
#

bigger vencord.dev preview

vast delta
#

someone talked about the hashes in css changing sometimes, would this be "safe" code? css /*The windows buttons themselves*/ [class^=winButton] { height: 47px; } /*Hide the bar containing windows buttons without hiding the buttons*/ [class^=typeWindows-] { height: 0 } /*Remove Discords Branding*/ [class^=wordmarkWindows] { display: none; } /*Move the icons in the titlebar to the left to make space for window buttons*/ [class^=title-] { right: 80px; } /*Move entire window up to the screen because for some reason i have to*/ [class^=layers-] { top: -4px; }

#

its a remake of my winbar snippet

paper cloud
#

hello chat

how do i remove the stupid "shop" in the DM panel?
thanks

vast delta
#

"please do not spam" guhhhh

#

here get the raw link yourself

#

then just import it

#

yup i dont see no shop anymore

paper cloud
#

aight thx

#

MODS PIN THIS

vast delta
#

chill

#

its not too important

paper cloud
#

done

#

thx ;3

#

erm, still there

vast delta
#

hm, its not my thing

#

what exactly are you talking about?

paper cloud
haughty totem
haughty totem
haughty totem
haughty totem
edgy sentinel
#

it still doesn't make sense

#

you're bringing up some random css concept that has nothing to do with the problem

haughty totem
#

hm, i’ll think it through a bit more and get back to you

edgy sentinel
#

there's nothing to think through

#

i just need to add text wrap

haughty totem
#

you want to wrap within a single word? That’s hella ugg

#

with clamp you can decrease font size instead, as necessary depending on available screen space

vast delta
#

i just wanna prevent having to replace every single object ( trolley ) when they decide to rehash

haughty totem
#

👍
(altho if they add a class on one element, plausibly they do it on many others as well)
altho then you could still fix it up pretty quickly with a search-replace s/^=/*=/

in case you prefer ^= over *= for performance: i doubt a difference is noticeable

vast delta
#

ehh, its the feeling of being more efficient that counts lol

haughty totem
#

hahaha i feel ya

haughty totem
# haughty totem hm, i’ll think it through a bit more and get back to you

@edgy sentinel so apparently as of now there’s unfortunately no way to fit a text to a given space by font size, without using magic numbers or js: https://css-tricks.com/fitting-text-to-a-container/

clamp() is kind of the default way of doing it; more convoluted but arguably better is an <svg> hack https://css-tricks.com/fitting-text-to-a-container/#aa-just-use-svg which btw @eager heart ended up using to solve a similar problem: #🧊-off-topic-iceman-only message

There are a number of ways to go about putting some text in a container and having it size itself to fill that container. There are different technologies we

vast delta
#

you can use class, class to apply one set of properties twice

pine zenith
#

One message removed from a suspended account.

#

One message removed from a suspended account.

vast delta
#

reasonable

solid ore
paper cloud
#

🖤

balmy torrent
#

i guess discord hides to option blurtroll

dark dragon
#

On nitro profiles that banner is set by your primary profile colour

balmy torrent
#

on this profile it's not though

runic radish
haughty totem
#

congrat

haughty totem
#

(i hope)

mortal mantle
#

I have reached unimaginable levels of unholy

mortal mantle
#

because I am crazy

vast delta
mortal mantle
#

how else could I do it

vast delta
#

idk

#

just dont

mortal mantle
#

changing accent color is cool

#

because blurple looks pretty ugly

#

also

#

maybe i should replace that discord logo with a shiggy

vast delta
#

do it

silent wadi
#

and share snippet 🤲

slim pond
#

yes

#

please

rugged echo
#

what the fuck is this? it disappears when I disable quick css

#

oh I see what causes it, but I have no idea why

vast delta
#

send the code

rugged echo
rugged echo
vestal field
#

grrrrr discord css class change

slim pond
#

holy shit this looks good

mortal mantle
#

is that Mica

slim pond
#

no

#

this, plus a colorway

mortal mantle
#

Hmm

haughty totem
#

i’m not a theme person but looks snazz i admit

vestal field
#

nice, sorta looks like softx

rugged echo
#

not really a fan of those colors tbh

crystal apex
#

discord update changed stuff and broke this snippet, I tried fixing it myself but it wasn't perfect, can anybody fix this for me?

/*User Panel*/
.withTagAsButton-OsgQ9L, .withTagless-10ooWt{
    min-width: 212px!important;
    max-width: 60px;
    position: fixed;
    margin-top: -80px;
    margin-left: 5px;
    border-radius: 5px;
}
.container-YkUktl button {
    width: 48px;
    background: var(--bg-overlay-4,var(--background-primary));
    margin: 4px;
    border-radius: 5px;
}
.container-YkUktl{
    padding-top: 40px; 
}```
toxic yew
rugged echo
#

damn now most stuff is gonna be broken

crystal apex
crystal apex
#

most themes I have are a little broken now too

haughty totem
#

ain’t we all

haughty totem
#

var(--bg-overlay-4,var(--background-primary));
var() can’t take multiple params, can it?

cedar cairn
#

it serves as a fallback

haughty totem
#

ohh cool ty!

slim pond
#

who's ready to replace hundreds of classes cuz discord rehashed them? I sure am

vast delta
#

discord rehashed?

#

wait did it happen now?

mortal mantle
#

yes

#

everything gone

vast delta
#

oof

#

wait NOIO

#

NOT YKUKTL

mortal mantle
#

i hate this

vast delta
#

make a rehash proof rewrite

mortal mantle
#

yeah the next version of modular is not gonna be released any time soon

vast delta
#

shiggycordv2 is dead now haha

mortal mantle
#

no more radial status woohoo

#

less burden

vast delta
#

FUCK NO OKAY IM FIXING THAT ONE

#

@mortal mantle use ^=

#

my beloved container YkUktl is now container-1CH86i

mortal mantle
#

too many to convert ....

#

but first

#

I will have to remove the ability to customize border radius

#

I don't think anybody will want it

#

It's really taxing on performance

mortal mantle
#

@vast delta

#

get me a higher quality version of this shiggy

vast delta
#

uh

#

uh

#

i think thats the highest i have

glad urchin
mortal mantle
#
.tipTitle-3FYEQp {
text-transform: none;
font-size: 0px;
font-weight: 800
}
.tipTitle-3FYEQp::after {
content: "Loading Vesktop ...";
font-size: 18px
}
.ready-3BZNWT {
scale: 0;
}
.content-3AIQZv::after {
content: url(https://media.discordapp.net/attachments/865879807988465730/1163899591331160214/uW47ir94.gif?ex=654140f6&is=652ecbf6&hm=33c6c8859b775c68f31b016fc89b871bbcf841642cfc4898a2be9970c80b5892&=&width=292&height=292);
position: relative;
display: inline-block;
top: -500px;
zoom: 0.5;
}
#

improve on it if you feel the need

rugged echo
#

shiggycord is real WHAT

#

its a bit off to the top left but its pretty cool

#

maybe because I am not using vesktop or because of the window size

vast delta
#

rehash proof

#

changed the link to a better one

mortal mantle
#

but shiggy doesnt show anymore

vast delta
#

it does for me

#

wtf it showed up for me when making it

#

oooohh cuz im stupid

#

fixed

#

wrong link

mortal mantle
#

i think most of the class errors are now fixed

#

i shall close vesktoip

vast delta
#
/*Change the loading text*/
[class^=tipTitle] {
--load-text: "uwu";
}
/*Nukes the "did you know..." text*/
[class^=tipTitle] {
text-transform: none;
font-size: 0px;
font-weight: 800
}
/*Replaces it with a custom message*/
[class^=tipTitle]:after {
content: var(--load-text, "Loading Vesktop...");
font-size: 18px
}
/*Nukes the default animation*/
[class^=ready] {
scale: 0;
}
/*Replaces the default gif with a shiggy*/
[class^=container]>[class^=content]:after {
content: url(https://raw.githubusercontent.com/UserPFP/img/main/Avatars/shiggy.gif);
position: relative;
display: inline-block;
top: -500px;
zoom: 0.5;
}```
#

added comments and a variable to change the text when using it as an import

#

oh i forgor the important

#

uploading this to my shiggycordv3 thing

haughty totem
vast delta
#

it didnt actually rehash many classes i already saw

haughty totem
vast delta
#

does anyone know a way to detect if the discord window is maximized or not in css? i think it might be complicated but eh maybe

slim pond
#

I could be overstating the numbers tho

vast delta
#

:(

haughty totem
haughty totem
brazen tiger
#

i saw a 150k css diff

haughty totem
#

halp

brazen tiger
#

but it happens frequently and idk if it was hashes or just random shit

haughty totem
#

maybe not worth digging it up then. Sounds like the renames may not be straightforward to extract anyway

brazen tiger
haughty totem
#

hold on

haughty totem
vast delta
#

radialstatus rehashed [holy shit thats a great name for my shiggycord update] almost done

/*Adds the offline border to everyone and fixes some not being normal afterwards for some reason*/
[class^=contents]>[class^=avatar]:first-child, /*Chat*/
[class^=avatar]>[class^=wrapper], /*Memberlist and UserPopout*/
[class^=header]>div>[class^=wrapper] /*Profiles*/
{
border: var(--rs-offline-color) var(--rs-small-thickness) var(--rs-border-style);
aspect-ratio: 1;
}
/*Changes the border colour to Online if Online*/
[class^=contents]:has([fill="var(--green-360"])>[class^=avatar]:first-child, 
[class^=avatar]>[class^=wrapper]:has([fill="#23a55a"]),
[class^=header]>div>[class^=wrapper]:has([fill="#23a55a"]) {
border-color: var(--rs-online-color) !important;
}
/*Changes the border colour to Idle if Idle*/
[class^=contents]:has([fill="var(--yellow-300"])>[class^=avatar]:first-child, 
[class^=avatar]>[class^=wrapper]:has([fill="#f0b232"]),
[class^=header]>div>[class^=wrapper]:has([fill="#f0b232"]) {
border-color: var(--rs-idle-color) !important;
}
/*Changes the border colour to DND if DND*/
[class^=contents]:has([fill="var(--red-400"])>[class^=avatar]:first-child, 
[class^=avatar]>[class^=wrapper]:has([fill="#f23f43"]),
[class^=header]>div>[class^=wrapper]:has([fill="#f23f43"]) {
border-color: var(--rs-dnd-color) !important;
}
/*Changes the border colour to BOT if BOT*/
[class^=contents]:has([data-tag^="bot"])>img[class^=avatar]:first-child, 
[class^=memberInner]:has([data-tag^="bot"])>[class^=avatar]>[class^=wrapper], 
[class^=userPopoutInner]:has([data-tag^="bot"])>[class^=clickable]>[class^=avatar]>[class^=wrapper],
[class^=userProfileModalInner]:has([data-tag^="bot"])>[class^=topSection]>header>[class^=header]>div>[class^=wrapper] {
border-color: var(--rs-bot-color) !important;
}```
haughty totem
#

thanks mvp! :3

vast delta
#

oh if someone wants it i still have the prehash stock css to run a comparison program to see which hashes changed

#

sounds weird but you know what i mean

haughty totem
brazen tiger
haughty totem
brazen tiger
#

the old one isnt there

haughty totem
#

ah rippers

vast delta
#

or is it not? im confused now

haughty totem
#

well if it is that’s apparently not it after all^^

vast delta
#

this should be the exact copy

haughty totem
#

thanks ill check it out

vast delta
#

might be missing one or two rules because i dont update it permanently

brazen tiger
#

old hashes

vast delta
#

oh yeah they are

#

well i have it unminified (its fucking 300k lines or something

mortal mantle
#

here go thru as many children as you like

#app-mount > div.appAsidePanelWrapper-ev4hlp > div.notAppAsidePanel-3yzkgB > div.app-3xd6d0 > div > div.layers-OrUESM.layers-1YQhyW > div > div > nav > ul > div.scroller-3X7KbA.none-1rXy4P.scrollerBase-1Pkza4 > div.tutorialContainer-1pL9QS > div > div.listItemWrapper-3d87LP > div > svg > foreignObject > div > div > img {
    background-image: url(urlhere);
    opacity: 0;
}
#

I wonder what this will be

vast delta
#

lol

rugged echo
#

what is that?

#

oh its old code

haughty totem
#

old vs new

vast delta
#

any ideas what i could add to radialstatus?

grand surge
vast delta
#

:(

grand surge
#

make it animated

vast delta
#

me sad

grand surge
#

pulse

vast delta
grand surge
#

neon

vast delta
#

oh god no

#

that would destroy performance

grand surge
vast delta
#

actually it should already be a thing if you use keyframes

grand surge
#

yeah

#

glowing/neon would be nice

vast delta
#

glowing is a boxshadow thing

#

im using border because performance

#

ill make a boxshadow version afterwards

grand surge
#

oooo

vast delta
#

yeah animations work perfectly fine

#

hm can i make animations overwrite !important?

#

it does work but it doesnt overwrite the old one lol

#

nevermind i just removed !important because it would only be important if someone had two different statuses at the same time

grand surge
#

make it a plugin

#

with the options

vast delta
#

i will make it a usercss theme so i dont need a plugin :)

#

everyone vote for usercss

grand surge
#

grrr

vast delta
#

what grr? it would behave exactly like a plugin but you would only have to download the theme and put it in the folder

grand surge
#

what colour what that be

#

blue?

vast delta
#

ill filter out the phone

vast delta
#

yeah when im done i will

grand surge
#

yayayaya

vast delta
#

i got the logic in my head but its hard to implement haha

vast delta
#

LMAO

haughty totem
silent wadi
edgy sentinel
#

easiy

vast delta
#

use keyframes

silent wadi
#

okai

vast delta
#

i think i dont understand the question entirely

grand surge
#

makeshiggy rotate clockwise

vast delta
#

yeah someone else can do that i am currently killing my brain

#

bruh vencord nuked itself with this message mid cssing

grand surge
#

horror

#

did it save

vast delta
#

yes its all fine

#

i lost about a second of progress husk

grand surge
#

HOW COUKD IT

grand surge
vast delta
#

wait can i not nest :has?

grand surge
haughty totem
vast delta
#

for example div:has(svg:has(div)) wouldnt work?

haughty totem
#

but now give up you have no chance

vast delta
#

grrrrrrrrrrrrrr im gonna cry

haughty totem
#

dont crai. Instead realize that there is never a reason to nest hasen

#

div:has(svg:has(div)) == div:has(svg div)

vast delta
#

i think i found a logic reason to do so but i wont post about it until i have it working because i dont want someone to immediately solve it and make me feel like all my time has been wasted

haughty totem
#

you prefer to waste more time first? ( ͡° ͜ʖ ͡°)

vast delta
#

i just found a : selector that does a part of what i have been trying to do

#

im gonna krill myself

haughty totem
#

actually no, i think i was overconfidently wrong

#

a:has(b:has(c) + d)
40yo and still haven’t learned to think twice before making bold claims smh

haughty totem
edgy sentinel
#

sorry i accidently deleted ur message

haughty totem
#

np lol

edgy sentinel
#

MessageClickActions incident....

haughty totem
#

thanks for the reminder, i kinda forgor about it, should start using this tho, very use!

vast delta
#

i

#

think

#

i

#

fucking

#

got

#

it

haughty totem
#

drop it like it’s hot

vast delta
#

well i think i got the logic right

#

i now gotta get it working in the actually application ive been doing this for

#

aaaaaaaaaaand it doesnt work

#

are there other selectors i cant nest?

#

wait nevermind my mistake

haughty totem
#

you can’t do ::after::after

#

sadly

vast delta
#

well of course yeah

haughty totem
#

no it shouldn’t be like this 😭

vast delta
#

look at this mf of a logic selector :has(svg:is(:only-child,:not([height="17"])):last-of-type:is([fill="var(--green-360"]))

#
[class^=member]:has(svg:is(:only-child,:not([height="17"])):last-of-type:is([fill="var(--green-360"]))>[class^=avatar-]>[class^=wrapper] {
    border-color: #23a55a;
}```
haughty totem
#

that’s a whopper

#

multi parameter :is() nested in :has() isForChefsKissisForChefsKiss
i think you went overboard with the second is() tho: x:is([fill="var(--green-360"]) == x[fill="var(--green-360"] no?

vast delta
#

idfc

#

i spent so much time on that thing

haughty totem
#

oof course you don’t

vast delta
#

if its working im not changing it

haughty totem
#

missing a ) behind 360 tho

vast delta
#

oh thats intended

haughty totem
#

i assume

#

o

#

discord things ig

vast delta
#

test

#

tester

vast delta
#

my mistake

haughty totem
#

but here’s the tester

#

[class^=avatar-]
does that work without quotes?
with the (trailing) dash

vast delta
#

the trailing dash is part of the class yeah

#

its to distinguish ^=avatar-{hash} from ^=avatarHoverTarget

haughty totem
edgy sentinel
#

i made this typo ages ago

haughty totem
#

ohh i thought that’s discord’s

edgy sentinel
#

no its vencord platform indicators silly

vast delta
#

ive actually left out some code that would be applied on every avatar but i feel like those selectors alone are 100 times worse than those properties would be

#

enjoy this creation...

#

i think i have beaten aoi now when it comes to radialstatus

grand surge
vast delta
#

its done

#

import the raw file

vast delta
#

faye you can copy code, you dont have to write it out again

eager night
#

im just formatting it

#

i swear

vast delta
#

stop sending weird stuff send your code silly

eager night
#

replaces home icon with image :3c

.childWrapper-1j_1ub{
background: url("insertimageurl");
background-size: contain;
visibility: hidden;
}

.wrapper-3kah-n{
background: url("insertimageurl");
background-size: contain;
}```
#

sry i had caffeine shakes

#

was struggling to take screenshot

#

ignore the fact that the top has css but is also hidden

vast delta
#

not bad not bad

eager night
#

thanks i make eyesore websites

edgy sentinel
#

hop on formatting

#

u can post it

eager night
#

yay :3c

#

hold aurn

vast delta
#

ima just future proof this important thing rq

eager night
#

is insertimageurl clear enough for people or will someone somehow fuck that up

vast delta
#

nope its not clear enough

eager night
#

i'm gonna put a placeholder image in it hold aurn

grand surge
#

needs to be red with arrows and circles

eager night
#

what about a mr beast thumbnail

vast delta
#

i usually like to do css :root { --homeicon-image: url(PUT YOUR IMAGE LINK HERE OR IT WONT WORK IF YOU DONT DO THIS YOU WILL BE LAUGHED AT); }

eager night
#

okay hot thank u