#🎨-theme-development

1 messages Β· Page 55 of 1

crimson skiff
#

i dont think edit time can be shown?

lunar flicker
#

u can e

echo frost
#

just use the copyfilecontents plugin

echo frost
crimson skiff
echo frost
#

ig you could use this so it'll select all of it on a single click
probably better to just use the CopyFileContents plugin though
(this current selector makes it apply to all code blocks btw)

.hljs {
  user-select: all;
}
#

vp copyfilecontents

cloud joltBOT
burnt lake
snow monolith
#

why is it 1px less wide????

#

I love sizing

#

oh the user container has a -1px left margin???

#

why 😭

vestal field
#

probably because

#

the border

#

discord doesn't like to use box sizing border box fsr

smoky belfry
#

remove all of them and you get sensible numbers

snow monolith
#

the weird thing is

#

they do use border box

burnt lake
#

cut and does not include "read all" and no border.

burnt sky
#

@chilly knoll decided to try it with the aria label and i finally hidden the dm wallpaper button

[aria-label="Set DM Wallpaper"] {
  display: none !important;
}```

i need to start looking at those labels more often
echo frost
#

wait what why did I have 2 ghost pings here

lunar flicker
#

Does anyone know how do I fix the issue caused by the below css snippets?

/* edited text */
[class*="timestamp_"]:not([class*="timestampInline_"],
[class*="timestampVisibleOnHover_"]) time::after {
    content: ' (' attr(aria-label) ')';
    color: var(--text-muted);
    font-size: 0.625rem;
    font-weight: 400;
    line-height: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-transform: capitalize;
}

[class*="edited"]:not(.message-translate-indicator) {
    display: none;
}

.containerDefault__29444 {
  > div {
    padding-left: 0.5em;

    > div {
      display: flex !important;
      place-content: start !important;
      flex-direction: row-reverse !important;
    }
  }
}
echo frost
#

you can disable ReplyTimestamp

#

do you want the replytimestamp to have the today at, or do you just want it to be unchanged by the css

lunar flicker
#
[class*="replyTimestamp_"] {
    display: none !important;
} ```
echo frost
#

?

echo frost
#

which one

lunar flicker
#

I have another snippet specifically for that

#

1 sec

echo frost
#

?

echo frost
lunar flicker
echo frost
#

that's not what i asked, but that does help

lunar flicker
#

sry for misunderstandings

echo frost
#

Replace it all with this
it's a slightly edited version of #🎨-css-snippets message

/* "(edited)" text timestamps */
span[class*="timestamp_"]:where(:not(.vc-reply-timestamp)) time::before {
  content: '(' attr(aria-label) ')';
  font-size: 0.625rem;
  font-weight: 400;
}

/* message header timestamps */
span[class*="timestampInline_"] time::before {
  content: attr(aria-label);
  font-size: 0.75rem;
  font-weight: 500;
}

/* header-less multi-line hover timestamps */
span[class*="timestampVisibleOnHover_"] time::before {
  display: none;
}

/* hide the old timestamps */
span[class*="timestampInline_"] {
  font-size: 0rem !important;
}
span[class*="edited_"] {
  position: relative;
  right: 95px;
  color: transparent;
}
lunar flicker
#

Thanks

wispy swan
#

Hey there. I was using this for complete transparency in discord but it just disables the close, maximize and minimize button. Like I can't click on them. Any idea?

.visual-refresh .theme-dark {
    --background-primary: transparent;
    --background-secondary: transparent;
    --background-secondary-alt: transparent;
    --background-tertiary: transparent;
    --bg-base-primary: transparent;
    --bg-base-secondary: transparent;
    --bg-base-tertiary: transparent;
    --background-mod-subtle: transparent;
    --background-mod-normal: transparent;
    --background-mod-strong: transparent;
    --background-base-low: transparent;
    --background-base-lower: transparent;
    --background-base-lowest: transparent;
    --autocomplete-bg: rgb(58 58 65 / 70%); backdrop-filter: blur(20px);
    }```
burnt lake
echo frost
#

sticky does work

#

this is working

burnt lake
echo frost
#

yeah because i didn't do the read all button

#

but it should be almost the exact same to do

#
.vc-ranb-button {
  position: sticky;
  top: 54px;
  z-index: 1000;
  background-color: var(--app-background-frame);
  padding-bottom: 10px;
  margin-bottom: -10px;
  border-radius: 0;
}
#

add that for the read all button

burnt lake
# echo frost ```css .vc-ranb-button { position: sticky; top: 54px; z-index: 1000; bac...

finall .css for this element + button "read all"

/* Always visible Read All plugin button + Discord DM logo */

.vc-ranb-button {
    position: sticky;
    top: 54px;
    z-index: 1000;
    background-color: #000000; /* Black background */
    padding-bottom: 10px;
    margin-bottom: -10px;
    border-radius: 0;
}
.tutorialContainer__1f388 {
    background-color: #000000 !important; /* Override background for the section with the logo */
}

/* End visibility of DM logo + Read All */
echo frost
#

i already made it for the read all

#

and is that ai

#

and why are you using black instead of the normal background color

burnt lake
#

The background for the button (discord logo) for the dm was missing

echo frost
#

no it wasnt

burnt lake
echo frost
#

yeah it's working in that screenshot

burnt lake
#

before

echo frost
#

you're using onyx theme?

#

--app-background-frame is working on onyx for me

burnt lake
#

not my own

echo frost
#

?

echo frost
# burnt lake not my own

tell them to try with this then

.tutorialContainer__1f388 {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--app-background-frame, red);
  padding-bottom: 10px;
  margin-bottom: -10px;
}
#

if it's not working, it should be red with that css i just sent

#

?

onyx mesa
onyx mesa
# burnt sky mind tossing me that
/* Toolbar fix */
.trailing_c38106 {
    gap: var(--space-4);
}
.trailing_c38106::before {
    border-left: 1px solid var(--border-subtle);
    content: "";
    display: block;
    height: calc(var(--custom-app-top-bar-height) - var(--space-12));
    margin-right: var(--space-4);
}
.toolbar__9293f {
    gap: var(--space-4) !important;
    margin-right: -16px;
}
#

idk if it's gonna work properly for you, cuz i made it based on my set up

serene grove
#

what class are these in? I can't seem to find it and want to shift them over so their right side is in line with the right side of chat

serene grove
#

ty

#

how do you find that? for future reference, I was just hacking my way through my theme

onyx mesa
#

idk i just selected the button in the dev tools and just went up the class from there

serene grove
#

ahh thanks

#

devtools isn't opening for me even though I have them enabled very_mad

clear siren
#

ctrl+shift+i?

serene grove
#

yeah doesn't open it for me

clear siren
#

could be another program intercepting the keybind, common culprit is amd

serene grove
#

oh god I didn't even consider that

#

appreciate it

burnt sky
#

@onyx mesa perfect thank you

exotic lance
#

Updated:

[class*=isExpanded__] [class*=folderGroupBackground__]{
    background: var(--background-mod-subtle) /* Og bg when opened */
}
[class^=folderPreviewWrapper__]{
    background-color: color-mix(in srgb,var(--custom-folder-color),transparent 60%); /* Color of the bg */

    [class*=folderPreview__] [class*=folderPreviewGuildIcon__] {
    opacity: 0;
    }
    [class^=folderPreview__]::after,[class^=expandedFolderIconWrapper__]::after{
    content: "";
    position: absolute;
    transform: scale(0.9) /* Changes icon size easier */;
    width: 24px;
    height: 24px;
    top: 60px;
    left: 12px;
    background-color: var(--custom-folder-color,var(--bg-brand)) /* Color of the folders */;
    clip-path: path("M2 5a3 3 0 0 1 3-3h3.93a2 2 0 0 1 1.66.9L12 5h7a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5Z");
    transition: opacity 0.2s ease;
    }
}```
burnt sky
exotic lance
#

Eh i dont really like the blur personally but i only made this when the simple folders plugin broke shrug didnt know you had one

burnt sky
#

also pretty sure the folders plugin has been fixed

exotic lance
#

Yeah i know, buttttt css is fun

#

Sparkle sparkle

burnt sky
# exotic lance Yeah i know, buttttt css is fun

yeah this here is what i have you can change the opacity on line 18 to 0 to have a plain folder with no blur and it will show you still whats inside the folder on hover

/* Plain Folder Icon Size Pastel */
.expandedFolderIconWrapper__48112::after,
.folderPreview__48112::after {
  content: "";
  background-color: #fff;
  width: 24px;
  height: 24px;
  top: 60px;
  right: 12px;
  position: absolute;
  clip-path: path("M20 7H12L10.553 5.106C10.214 4.428 9.521 4 8.764 4H3C2.447 4 2 4.447 2 5V19C2 20.104 2.895 21 4 21H20C21.104 21 22 20.104 22 19V9C22 7.896 21.104 7 20 7Z");
  transition: opacity 0.2s ease;
}
.folderPreview__48112:hover::after {
  opacity: 0;
}
.folderPreview__48112 > .folderPreviewGuildIcon__48112 {
  opacity: 0.5;
  filter: blur(2px);
  transition: opacity 0.2s ease, filter 0.2s ease !important;
}
.folderPreview__48112:hover > .folderPreviewGuildIcon__48112 {
  opacity: 1;
  filter: blur(0px);
}
.theme-dark .hiddenVisually__27f77[aria-expanded="false"] {
  background-color: #000000;
}
.theme-light .hiddenVisually__27f77[aria-expanded="false"] {
  background-color: #777777;
}```
vestal field
#

or did u add that spacing yourself

serene grove
vestal field
vestal field
serene grove
#

have a decent handful of snippets so I'll just keep using them to put things back where they should be (imo)

runic ore
vestal field
serene grove
fiery hawk
supple lodge
fiery hawk
#

OH OKAY

#

like i click the pfp?

supple lodge
#

yes, but you need to select someone that have it

#

maybe works in the shop too, I don't know

fiery hawk
#

i sitll don't get how to select it

#

I'm really sorry

#

which action log?

supple lodge
#

in devtools ctrl+shift+i

fiery hawk
#

OH OKAY

fiery hawk
#

but

#

i'm still a bit confused

#

i can't find <li id-"

supple lodge
#

use this (top left) and hover on the pfp and click

fiery hawk
#

I still can't find it

supple lodge
#

inside of this

fiery hawk
manic flume
fathom perch
#

Hey, does anyone know how you would make the gradient role colors (new discord feature) always move in chat not matter if you are hovering or not?

#

I tried a few things but the way they have it seems a bit funky so it never "worked" in a sense?

plain kelp
#

Why is that a thing

fathom perch
#

couldnt tell you

#

but I couldnt find a variable for it either

plain kelp
#

There's probably a :hover somewhere, or perhaps discord being discord and they add a class on hover

fathom perch
#

upon hover the inspect changes for the message

#

i can record that too

toxic yew
#
    animation: gradientUsernameAnimation_e5de78 1.5s linear infinite;
}```
fathom perch
#

i was using animategradient in my testing so that was probs why

#

but yeah that works

#

😭

#

thanks

icy crest
icy crest
#

I actually found some1 that made a plugin about it ForceRoleColors

#

BUT, it doesn't work on my machine πŸ’”

manic flume
#

The mail icon and dev tools icon are on top of each other, how can this be moved?

toxic yew
#

either change padding of the css you used to put those thing down there, or hide that useless bug button

tidal heron
crimson skiff
tidal heron
crimson skiff
#

what the url that you are using?

tidal heron
# crimson skiff what the url that you are using?
@import url('https://discordstyles.github.io/RadialStatus/RadialStatus.css');

:root {
  /*
    * Spacing
    */
  --rs-small-spacing: 2px; /* Gap between avatar and status for members list/dms | MUST end in px */
  --rs-medium-spacing: 3px; /* Gap between avatar and status for User popout | MUST end in px */
  --rs-large-spacing: 4px; /* Gap between avatar and status for User profiles | MUST end in px */
  /*
    * Widths
    */
  --rs-small-width: 2px; /* Thickness of status border for members list/dms | MUST end in px */
  --rs-medium-width: 3px; /* Thickness of status border for User popout | MUST end in px */
  --rs-large-width: 4px; /* Thickness of status border for User profile | MUST end in px */
  /*
    * Shape
    */
  --rs-avatar-shape: 50%; /* 50% for round - 0% for square */
  /*
    * Colours
    */
  --rs-online-color: #43b581; /* Colour for online status */
  --rs-idle-color: #faa61a; /* Colour for idle status */
  --rs-dnd-color: #f04747; /* Colour for dnd status */
  --rs-offline-color: #636b75; /* Colour for offline status */
  --rs-streaming-color: #643da7; /* Colour for streaming status */
  --rs-invisible-color: #747f8d; /* Colour for invisible status - Note: this will only show for your own invisibility */
  --rs-self-speaking-color: #57d39b; /* Colour for speaking ring in the bottom left while in a voice chat/call */
  --rs-phone-color: var(--rs-online-color); /* Colour of the ring & phone icon  */
  /*
    * Others
    */
  --rs-phone-visible: none; /* Visibility of the phone icon next to a users avatar. | block = visible | none = hidden */
}```
#

technically im using this

#

even using that still broken

tidal heron
#

mine didnt have that

#

that fixes it

crimson skiff
#

forgot that i had that snippet

tidal heron
crimson skiff
#

ok :/

tidal heron
#

ty

stray prism
#

Is there any CSS to make these buttons larger? If you hover over them, you can see the clickable area is almost twice as large as the actual icon, I'd like the icon to fill that whole space if possible. I took a look through #🎨-css-snippets ⁠ but didn't find anything like that. πŸ˜”

pure cairn
#

I guess with transform: scale(x) or scale: x on the svg

azure night
#

lalinux

burnt sky
#

@stray prism here

/* Bigger Buttons */
.visual-refresh .button__74017,.buttonContents_e6e74f:not([class*="enabled__67645"]) {
    transform: scale(1.25) !important;
}
.visual-refresh .spriteContainer__04eed {
   transform: scale(1.1) !important;
}
.attachButtonPlus__0923f {
  transform: scale(1.25) !important;
}
.folderIconWrapper__48112 {
  transform: scale(1.50) !important;
}```
smoky belfry
#

best way to train for discord theming is this
https://csshell.com/
if you complete everything, you can basically deal with any bs discord throw at you

#

note : having MDN and w3school next to you will likely be helpful

clear siren
#

πŸ€”

pure cairn
#

Sounds interesting

smoky belfry
#

also additional challenge, try to do it in the least amount of properties

#

at least one step can be done with no property at all

warped folio
#

how can I hide these mentions?
looking for a css code
I'd also like to hide these nitro stuff in the profile editing

native topaz
#

tbh, someone good with plugins should try to port ublock's element zapper

hollow lily
warped folio
#

what about the nitro?

onyx mesa
tidal heron
onyx mesa
tidal heron
onyx mesa
tidal heron
#

fair

jolly flame
#

I'm using this, so only on the browser it doesn't show. It removes it on the desktop app too, why? This didn't happen before till today.

@import url('https://raw.githubusercontent.com/surgedevs/visual-refresh-compact-title-bar/refs/heads/main/browser.css');
brave moss
#

what's the best way to inspect element the hover labels on the top bar

tidal heron
#

thats how i usually do it at least

#

but im not sure what buttons ur talking about

brave moss
#

I'm aware but it only exists if the mouse cursor is over the icons at the top

tidal heron
# brave moss

appears u can click ctrl shift c instead of having to click on the button itself

smoky belfry
native topaz
#

not much need for much else from uBo right? unless you use the filter lists to block ads in embeds (instead of aguard plugin) or phishing links

smoky belfry
#

i mean blocking youtube, potentially could also be used to do the sussy site prevention

#

tbh ubo would be overkill

austere cloak
#

Hi can someone helps me with my css not working with new member display (I think its due to the TAG introduce)

I think its my css :

/* TransitionSSS */
.username__5d473 {
    width: fit-content;
}
[class^="memberInner"]:not(:hover) [class^="username"] {
transform: translateX(0);
transition: all 1.2s linear;
}
[class^="memberInner"]:hover [class^="username"] {
transform: translateX(calc(80% * -3.8));
transition: all 4.7s linear;
overflow: visible;
}
/* set respective widths */
.username__5d473 {
    width: fit-content;
}
.roleName_a930f1 {
    width: 100%
}
/* main stuff */
.memberInner__5d473:not(:hover) .name__91a9d,
.roleNameContainer_a930f1:not(:hover) .roleName_a930f1 {
    transform: translateX(0);
    /* time to get back to original position */
    transition: all 1.2s linear;
}
.memberInner__5d473:hover .name__91a9d,
.roleNameContainer_a930f1:hover .roleName_a930f1 {
    transform: translateX(-100%);
    overflow: visible;
    /* time to scroll through */
    transition: all 4.7s linear;
}```
#

css I have idk if its related :

svg[class^="favoriteIcon_"] path {
  d: path("M16.44 3.10156C14.63 3.10156 13.01 3.98156 12 5.33156C10.99 3.98156 9.37 3.10156 7.56 3.10156C4.49 3.10156 2 5.60156 2 8.69156C2 9.88156 2.19 10.9816 2.52 12.0016C4.1 17.0016 8.97 19.9916 11.38 20.8116C11.72 20.9316 12.28 20.9316 12.62 20.8116C15.03 19.9916 19.9 17.0016 21.48 12.0016C21.81 10.9816 22 9.88156 22 8.69156C22 5.60156 19.51 3.10156 16.44 3.10156Z");
  transform: scale(1.1) translate(-1.5px, -1px);
  transition: all 0.2s ease-in-out;
}
[class^="wrapper_"][class*="selected_"][data-list-item-id="guildsnav___favorites"] svg[class^="favoriteIcon_"] path { fill: #F62B30; }
[class^="wrapper_"][class*="selected_"][data-list-item-id="guildsnav___favorites"] [class^="childWrapper_"] { background: var(--background-primary) !important; }
[class^="wrapper_"][class*="selected_"][data-list-item-id="guildsnav___favorites"] [class^="childWrapper_"]::after {
  content: "";
  width: 20px;
  height: 20px;
  opacity: 0.4;
  filter: blur(10px);
  position: absolute;
  background-color: #F62B30;
}

:root {
    --favorites-name: 'Favorites';
    --favorites-banner: url(https://i.imgur.com/BRckiwS.jpg);
    --favorites-guild-icon: none;

    /* category icons */
    /* Duplicate each group for additional categories (Up to 10), then replace both numbers. */
    --category-1: '';
    --c1: url(XXXXXX.png);
    
    --category-2: '';
    --c2: url(XXXXX.png);

    --category-3: '';
    --c3: url(XXX.png);

    --category-4: '';
    --c4: url(X.png);
}
.favoriteIcon__91c06 {
    min-height: initial;
    min-width: initial;
} 
.favoriteIcon__91c06 path {
    display: block
}```
Anyone know if its an issue from my css or discord ? (on people I ignore I get a hearts such (as favorite) (cf image 1/2under)
Pic1 its one I have in fav
Pic 2 its one I have ignore/blocked
austere cloak
#

Ping me in reply plz

rich badger
#

what might i be doing wrong here? i added a .svg link for the icon but it didn't work

smoky fog
onyx mesa
# brave moss

you can use .disabledPointerEvents_da8173 { pointer-events: all !important; } so you could hover over them
also you can use setTimeout(() => {debugger;}, 2000) it will pause discord after 2 seconds, it helps a lot with these type of elements

rich badger
#

yeah

#

it does

#

i tried to upload the file for which the link i'd shared to this service to then use that for the dms icon and realised that that is exactly what you'd done :')

#

Thanks a lot though!!

#

do you know why the link i shared wasn't working?

#

when i open it on a browser, the icon does show up

hexed imp
#

svgrepo might not allow third party loading of their content (hotlinking)

#

Hotlinking can use A LOT of bandwidth, so unless you're trying to make an image host service, generally a good idea to restrict it

rich badger
#

ooh

#

roger

rich badger
#

like, significantly

hexed imp
#

Hotlinking doesn't have anything to do with YOUR bandwidth or loading.

rich badger
#

thanks for answering me!

clear siren
#

I'm going all in on the glass again, on linux this time :3

echo frost
#

just mark the pings as read?

#

This should work for the nitro thing though

.floatingNitroUpsell__39749 {
  display: none;
}
half crystal
warped folio
granite iris
#

blur it a bit

warped folio
# echo frost This should work for the nitro thing though ```css .floatingNitroUpsell__39749 {...

also ty for the nitro thing I tried this one earlier but idk the difference

div[class*="upsellContainer__0b69f upsellContainerShadow__0b69f upsellContainerFloating__0b69f floatingNitroUpsell__39749"] {
    display: none;
}
div[class*="container__8279f"] {
    display: none;
}
div[class*="premiumBackground__65c15 background__65c15"] {
    display: none;
}
div[class*="premiumFeatureBorder__65c15 featureBorder__65c15 tryItOutSection__9d295"] {
    display: none;
}
granite iris
#
@import url("https://jAba65.github.io/Discord%20Theme/jAba.css");
:root {
    --app-bg: url(https://i.giphy.com/PLJeLzh6gfL2LhUIW0.webp);
    --blur-bg: 80px;
    --brightness-bg: 0.35;
}```

Why does [this theme](https://vsthemes.org/en/skins/discord/68455-animated-glass.html) not work?
warped folio
#

well I can see now that yours only removes one of them

echo frost
echo frost
warped folio
echo frost
hollow lily
#

You specifically wanted the floating nitro upsell hidden

#

So that’s what you got

warped folio
warped folio
#

this should do it

.upsellContainer__0b69f {
    display: none;
}
.container__8279f {
    display: none;
}
.premiumBackground__65c15 {
    display: none;
}
.premiumFeatureBorder__65c15 {
    display: none;
}
clear siren
clear siren
muted knoll
#

did discord get rid of some symbols cuz they don't work anymore on my channel names atleast on PC, but on mobile they show fine XD

half crystal
muted knoll
#

no like these

#

on PC they just look squares

#

(also settings icons by someone broke too lmfao)

half crystal
muted knoll
#

yes I disabled all themes n plugins

half crystal
muted knoll
#

I'm not :(

onyx mesa
#

they are squares due to the font not supporting those unicodes

muted knoll
#

damn u discord for ruinin things

#

they worked fine earlier b4 update

#

but yeah ik, mby discord just removed compatibility or somth

chilly quail
#

because it likely was falling back to the font defined higher up in the root

#

with you either overwrote or it was changed

muted knoll
crimson skiff
#

if discord's window cannot be resized while transparent, how are yall able to use discord with tiling managers?

half crystal
crimson skiff
#

komorebi just doesnt see discord as an app for some reason

clear siren
#

fun fact, I have this enabled and I can still resize window on kde

plain kelp
#

On my box discord has absolutely no say in whether it wants to be resized or not

brave moss
#

unfortunately it doesn't seem there is any way to stylise them individually because there's nothing unique about each of the tooltips except for content and position which changes with window size

#

how do I use JavaScript with vencord cus I think that's the only way

crimson skiff
brave moss
#

I wrote this to animate new messages but it does it twice with my own messages. I thought it was fine at first but it's getting annoying. not sure how to fix it, I believe it has something to do with discord showing a local version first then replacing it with the server side version of the message. any advice?

.messageListItem__5126c {
  opacity: 0;
  transform: translateY(10px);
  animation: slideFadeIn 0.3s ease-out forwards;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
echo frost
#

test

brave moss
#

exactly what I was saying to myself when trying to fix it

echo frost
#

test x3

crimson skiff
brave moss
#

I thought maybe I could display:none the local version but exists for a split second and seems to not have any unique so I'd need to take a different approach

echo frost
#

i think this fixes

#

i think this fixes (i actually have the css uncommented now)

#
.messageListItem__5126c:not(:has(.isSending_c19a55)) {
  opacity: 0;
  transform: translateY(10px);
  animation: slideFadeIn 0.3s ease-out forwards;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#

idk if there's any way to avoid using :has()

brave moss
#

I'll test it

#

and yeah if you have to you have to I guess

echo frost
brave moss
#

test

#

test

#

I don't think that makes a difference but finding that is progress. thank you for your help

brave moss
#

I'll try restarting on the slight chance that does something

#

test

#

oh wait it actually does work it just displays the local one without an animation

#

well that's definitely less annoying

#

thanks once again

#

test

brave moss
echo frost
#

just used f8break

#

while it was still sending

crimson skiff
brave moss
#

ok thank you

full pebble
#

is there any easy way to disable this gradient in usernames?

#

actually wait i think i can d this

#

okay its fucked apparently its as background image and user data has no primary color data

#

everything i can find on internet is on how to get it instead on how to remove it

full pebble
#
/* remove gradient glow on in chat (messages and replies)*/
span:has(.twoColorGradient_e5de78) .username__703b9::before,
span:has(.twoColorGradient_e5de78) .username__703b9::after,
span:has(.twoColorGradient_e5de78) .username_c19a55::before,
span:has(.twoColorGradient_e5de78) .username_c19a55::after,
div:has(.repliedMessageClickableSpine_c19a55) .convenienceGradient_e5de78::before,
div:has(.repliedMessageClickableSpine_c19a55) .convenienceGradient_e5de78::after {
    display: none !important;
    content: none !important;
}
/* remove gradient glow on user list */
span:has(.usernameGradient_e5de78) .nameGlow__703b9 {
    display: none !important;
}

this code removes gradient username glow effect both in chat and user list

#

i dont think theres option to fully remove gradient since discord doesnt have fallback color for usernames

#

and you cant really extract color from already existing objects different property

mental stirrup
full pebble
#

i would love to average all gradient colors into one but i dont think its possible

spare mural
#

what is up with this

spare mural
#

averaging them out doesnt make sense

full pebble
#

oh

#

okay lemme fix then

full pebble
spare mural
full pebble
#

yeah

#

so it wont affect users without gradients

#

to not fuck up things

full pebble
mental stirrup
spare mural
#

your snippet can just be done like this

#
.threeColorGradient_e5de78,
.twoColorGradient_e5de78 {
  color: var(--custom-gradient-color-1);
  background: none;
  -webkit-text-fill-color: initial;

  &::after {
    display: none;
  }
}
full pebble
#

also .nameGlow__703b9

spare mural
#

before vs after

full pebble
#

its background behind user list

#

i dont know css very well i took it briefly for like a year in school sob_puddle

mental stirrup
full pebble
#

ok so

#
/* remove gradient glow in chat and user list */
.threeColorGradient_e5de78,
.twoColorGradient_e5de78 {
    color: color-mix(in lab, var(--custom-gradient-color-1), var(--custom-gradient-color-2));
    background: none;
    -webkit-text-fill-color: initial;

    &::after {
        display: none;
    }
}

.nameGlow__703b9 {
    display: none;
}
spare mural
# mental stirrup

that looks different from regular text mostly because background clip behaves differently than just normal text (you will see gradient names still be a bit more bold)

full pebble
#

this works for me

spare mural
# full pebble also `.nameGlow__703b9`
.threeColorGradient_e5de78,
.twoColorGradient_e5de78 {
  color: var(--custom-gradient-color-1);
  background: none;
  -webkit-text-fill-color: initial;

  &::after,
  &.nameGlow__703b9 {
    display: none;
  }
}
full pebble
#

how does & work?

spare mural
#

& refers to the parent selector

#

there the parent selector would be .threeColorGradient_e5de78 and .twoColorGradient_e5de78

full pebble
#

ok i think i get it

spare mural
#

I keep all my snippets contained within a single root selector so people know exactly where one snippet ends and another one starts

full pebble
#

i kept the fres' color mix tho, from what i see it looks more natural

#
.threeColorGradient_e5de78,
.twoColorGradient_e5de78 {
    color: color-mix(in lab, var(--custom-gradient-color-1), var(--custom-gradient-color-2));
    background: none;
    -webkit-text-fill-color: initial;

    &::after,
    &.nameGlow__703b9 {
        display: none;
    }
}
spare mural
#

shrug

#

Color 1 is the base color of the role I’m going from that

full pebble
#

can i submit it as mine anyway

mental stirrup
spare mural
#

If you credit me and maintain it (as in fix it when it breaks) sure

full pebble
mental stirrup
spare mural
mental stirrup
full pebble
#

ah

full pebble
spare mural
#

its just updating the class names when they break once per decade

full pebble
#

yeah it just takes me some time usually max couple days

spare mural
#

(it would take 5 minutes)

full pebble
#

i dont always have free time thats what i meant

#

i couldve used class[*=] but ill just fix it in future if it breaks well

full pebble
#

im still learning okay

#

wanted to contribute

onyx mesa
#

why does the channel list even has a scrollbar

brave moss
#

why wouldn't it

onyx mesa
#

i just feel like the channel list is never that long to need a scrollbar

crimson skiff
#

can just hide it btw

half crystal
onyx mesa
brave moss
#

I don't get the whole name glow thing

#

where is it?

#

never seen it

onyx mesa
#

it's not available in all servers only some, it also requires boost levels

lofty moat
#
        --brand-360: var(--accent-2);
        --brand-500: var(--accent-2);
        --blurple-50: var(--accent-2);```
#

whats the color alias or whatever its called for the seekbar's circle thingy

#

midnight theme is seemingly outdated, no clue how to get this manually

lofty moat
#

found it, --brand-560.

burnt lake
#

anyone tried to solve the problem with the area: minimize, close, full screen.
that at the edge you see the cursor changing to resize the discord window?
and instead of minimizing the discord you resize it?

warped folio
#

anyone knows how to put a scroll bar on long accounts
similar to the way it is in the user panel profile preview

#

ty in advance

#

I also tried to remove the message bar in the profile preview

div[class*="container_a99829 channelTextArea__74017 inlineContainer__74017"] {
    display: none;
}
warped folio
hasty dagger
#

how do u remove the server member list nameplate thing?

burnt sky
smoky fog
#

ahh is it? ty

burnt sky
#

tf who pinged me

exotic lance
#

Literally how πŸ’”

no css conflicts, its in root?? I do not get it bro

vestal field
#

will override root

crimson skiff
burnt sky
# full pebble does it really?

yeah for 2 weeks i was trying to figure out why then when i started clearing shit out 1 by one that snippet was the main cause

full pebble
#

ill try to remake it

#

oh

#

now i get it my discord is laggy too but not because of this

echo frost
#

nvm still not working

full pebble
echo frost
#

wait it's still not working on computer?

#

was the message deleted?

#

what's the css

#

kind of thought it was this one, but it's a different link

#

but it most definitely is laggy

full pebble
#

i thought this was issue with my code but discord by default has this inconsistency.. awful.

full pebble
burnt sky
#

yeah was quite annoying lol

echo frost
#

yeah idk how they managed to make that

.dm__972a0>div>[style^="background: linear-gradient(90deg"],
.nameplated__91a9d>[style] {
  display: none;
}
#

here's not husk css

full pebble
#

oh you did it faster

#

i was almost done

burnt sky
#

yep no lag with that one

full pebble
#

yeah now discord is definietely less laggy

#

how can onne even create monstrocity like this uncanny

echo frost
#

because it's not the link of the screenshot i sent

burnt sky
#

wonder if discord doing stupid shit

echo frost
#

maybe they deleted their message

burnt sky
#

if that was the case the message link would popup a dialog saying you don't have access to this

echo frost
#

it's not doing that with this ^

burnt sky
#

hm weird

echo frost
#

pretty sure it was deleted

#

because on computer, it's not just taking me to the bottom of the channel like it was on mobile

#

it's taking me to a message without highlighting that message. so I assume it's taking me to the closest message

burnt sky
#

probably yeah

echo frost
plain kelp
pure cairn
#

How much > is too much?

#

Because I used quite a lot of them for a couple selectors in a snippet

#

(I would assume overusing it will also affect performance)

full pebble
#

it shouldnt really since its only going "downwards"

plain kelp
#

> selectors are cheap, they check only one element

pure cairn
#

is this "fine", then?

full pebble
#

is there even point in using > there?

#

like inside the brackets

#

first one at least

pure cairn
#

dunno, that's why I was asking

#

they are direct children of the parent element in any case

full pebble
plain kelp
#

If you don't write > it becomes the much slower space selector

onyx mesa
#

i'd say it looks cooler with >

#

keep it

plain kelp
#

Most of the class names are unique though, no need to mention their whole ancestry

onyx mesa
#

i'll add one parent class at most if it uses the same class name

plain kelp
#

It's not like their lineage is particularly impressive, they're dirty commoners the whole lot of them

pure cairn
#

that made me chuckle ngl

#

my general line of thought was
if css is processed RTL, then the more specific my selector, the faster it should be

#

but then again, too long = slower to process?

plain kelp
#

Adding an extra parent that in practice always matches is a waste of several cpu cycles

pure cairn
#

noted

#

so, knowing if a class is unique enough is just a game of trial and error, I guess?

#

for class names and not attribute selectors, of course

plain kelp
#

Though on the other hand, it's possible that the perf hit is small enough that it's worth the extra readability by the nesting

onyx mesa
full pebble
#

i mean in discord optimization kinda matters

plain kelp
#

Yes, space is slower than >

pure cairn
#

When are custom themes processed at client startup?

#

Just so I know if it's worth spending my time and effort editing the startup screen at all

#

Also because I don't know how to pause the client at restart to grab the class names I need

#

I tried with a console command but I'm pretty sure I messed it up and didn't work

onyx mesa
#

i don't think it lets you use the console until discord is fully loaded

pure cairn
#

That's cool, how the hell do I get these classes

onyx mesa
#

you might be able to grab them quickly while it's loading

pure cairn
#

Issue is, it loads too quickly

#

And I don't know how deep in the tree it is

onyx mesa
#

doesn't seem to be that deep, it's under "app_a3002d"

pure cairn
#

Might've been able to with my older laptop, since it was way slower kek

onyx mesa
#

i might be able to get them

#

hold on

pure cairn
#

I'm looking for the ones with a background

#

Since my plan is to make it transparent

onyx mesa
#

you mean when the discord logo is spinning and all?

pure cairn
#

Yes

#

Iirc the spinning icon class is something along the lines of ready_

#

If it hasn't changed, that is

full pebble
#

int** typa shit

onyx mesa
#

of the loading screen

#
<div class="container_a2f514 fixClipping_efbae7" data-fade="true" style="--connecting-container-fade-duration: 200ms; --connecting-content-fade-duration: 150ms;">
  <div class="content_a2f514">
    <video autoplay class="spinner_a2f514 ready_a2f514" playsinline data-testid="app-spinner">
      <source src="/assets/7ba7fcf2c4710bb7.webm" type="video/webm">
      <source src="/assets/7c5b005481eed9fc.mp4" type="video/mp4">
      <img alt="" src="/assets/209a4acf5023c4c3.png">
    </video>

    <div class="text_a2f514">
      <div class="tipTitle_a2f514">Did you know</div>
      <div class="tip_a2f514">
        You can type / to view bot commands and other built-in commands
      </div>
      <div class="body_a2f514 contentBase_a2f514"></div>
    </div>
  </div>
#

this is like the main part of it

pure cairn
#

Thank you very much

onyx mesa
#
  <div class="problems_a2f514">
    <div class="problemsText_a2f514">Connection problems? Let us know!</div>
    <div>
      <a class="anchor_edefb8 anchorUnderlineOnHover_edefb8 twitterLink_a2f514 links_a2f514" 
         href="https://twitter.com/discord_support" 
         rel="noreferrer noopener" 
         target="_blank">
        <svg class="icon_a2f514" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24">
          <path fill="currentColor" d="redacted"></path>
        </svg>
        Tweet Us
      </a>
      
      <a class="anchor_edefb8 anchorUnderlineOnHover_edefb8 statusLink_a2f514 links_a2f514" 
         href="https://discordstatus.com" 
         rel="noreferrer noopener" 
         target="_blank">
        <svg class="icon_a2f514" aria-hidden="true" role="img" width="14" height="14" viewBox="0 0 14 14">
          <path fill="currentColor" d="redacted"></path>
        </svg>
        Server Status
      </a>
    </div>
  </div>
</div>
#

there's this too for the text at the very bottom

#

but it's not showing up for me

pure cairn
#

Because there are no connection issues rn?

onyx mesa
#

i guess

pure cairn
#

Try unplugging your internet and restart discord, it will probably show up

onyx mesa
#

yeah it only shows up when there's connection issues

pure cairn
#

Time to play around with it ig

#

nope, it wasn't .container_a2f514

#

could you send the whole html element? it's probably a few divs above that one

onyx mesa
#

the container class should be the main one

#

for the loading screen

pure cairn
#

well, it didn't do anything

onyx mesa
#
.container_a2f514 {
    background-color: red !important;
}
#

i did this and it did change the background color

pure cairn
#

I was probably missing the !important

#

ok it works, kind of

#

what the hell is this lmao

#

why does that even load before anything else

onyx mesa
#

oh it's the chat overlay thingy

#

when it's loading

#

im guessing this screen is just used to hide everything load up

pure cairn
#

smh

#

well, I give up on the idea of having a transparent loading screen ig

pure cairn
#

if I were to choose, is header.title_f75fb0 faster than just .title_f75fb0, considering the class name is unique?

exotic lance
#

The only reason i seperated it was bc root didnt work πŸ’”

exotic lance
# vestal field variables are often set in .visual-refresh or .theme-dark or stuff like that

Didnt work, plus i dont wanna overwrite root, i just specified it bc it didnt work in root πŸ₯€

Idk its just weird, none of my css overwrites this and its not the only one that bg-brand doesnt seem to be working in... just kinda confused -- only thing that COULD be conflicting with it, although doubtful, is probably my force dark theme plugin ? But like I said, I kinda doubt that,,,

onyx mesa
#
.container_eff079 :not(.textArea_eff079) {
    transform: translateX(-1px) !important;
}

why is the textArea class still moving

#

when i telling it, not to move it

plain kelp
#

You are telling every single element that is inside a .container_eff079, except the text area (but including its children) to move

onyx mesa
#

ok how do i make the textArea and it's children to not move

plain kelp
#

Define not move

#

What makes it move

onyx mesa
#

im trynna move everything inside ".container_eff079" except ".textArea_eff079"

plain kelp
#

So, ```css
.container_eff079 { transform: translateX(-1em); }
.textArea_eff079 { transform: translateX(1em); }

onyx mesa
#

i mean yeah but i thought i could use :not() for it

plain kelp
#

Sure, if you want to match every element except .textArea

full pebble
pure cairn
#

works on my machine

#

Β―_(ツ)_/Β―

warped folio
#

how can I hide the separator in here
I only want to hide 1 separator not all of them

you can see that menu by right clicking a message

onyx mesa
#
.scroller_c1e9c4 > .separator_c1e9c4:nth-of-type(1) {
    display: none !important;
}
#

would be something like this, just change the nth number until the separator that you want disappears

warped folio
#

I tried to use it before bec I saw it in a snippet but I didn't know how to use it

#

Imma copy paste this for now

#

it works tysm

full pebble
#

i had css class in school for like a year but i didnt really pay attention in pseudoclasses

#

i can see effects now

brave moss
#

learning doesn't have to stop at school

#

whenever you got time on your hands you can learn it at home

#

I tend to learn languages by just doing it and then turning to stackoverflow, github and chatgpt for help

full pebble
#

yeah i learned majority of C during my summer break

#

almost no going out just doing cs50

#

(i forgot 80% of it)

marble monolith
#

attempting to make a css thing that hides the GIF and sticker buttons in the chatbar, and I've figured out how to hide them but I need to also fet rid of the awkward empty space, any tips?

here's my current css:

[aria-label="Open GIF picker"],
[aria-label="Open sticker picker"] {
  display: none;
}```

and here's what it looks like:
#

I'm still fairly new to putting my own css stuff together but this task doesn't seem too complicated

brave moss
#

thats strange

#

doesn't happen for me

#

oh wait it was cus of my theme

#

hold on lemme do some stuff

brave moss
hazy tinsel
brave moss
#

ok yeah good call

#

use that instead

#

should be more future proofed too cus class names are subject to change

#

wait no that still leaves empty space

brave moss
#

glad it helped

marble monolith
#

the second one doesn't for some reason though

#

not super concerned about the performance though so this is fine, thanks for the help

brave moss
#

yeah it becomes more a problem when you have like tons and tons of css

#

my discord is stylised af so I gotta be pretty conservative with what I do with it going forward

marble monolith
#

yeah fair

crimson skiff
brave moss
# marble monolith yeah fair

just as a little tip when you notice an issue like that it's usually a good idea to move up to its parent and target that

brave moss
#

I have a good amount of css that only works in my context

echo frost
#

I just found out you don't have to url encoded data uri svgs
you can just use utf8

brave moss
#

wyd

#

like have the data in the css itself?

echo frost
#

oh oops i forgot to send it

echo frost
# brave moss like have the data in the css itself?
/* url encoded */
filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='dark-reader-filter' color-interpolation-filters='srgb'%3E%3CfeColorMatrix type='matrix' values='0.333 -0.667 -0.667 0.000 1.000 -0.667 0.333 -0.667 0.000 1.000 -0.667 -0.667 0.333 0.000 1.000 0.000 0.000 0.000 1.000 0.000'%3E%3C/feColorMatrix%3E%3C/filter%3E%3C/svg%3E#dark-reader-filter");
/* utf8 */
  filter: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="dark-reader-filter" color-interpolation-filters="srgb"> <feColorMatrix type="matrix" values="0.333 -0.667 -0.667 0.000 1.000 -0.667 0.333 -0.667 0.000 1.000 -0.667 -0.667 0.333 0.000 1.000 0.000 0.000 0.000 1.000 0.000"></feColorMatrix></filter></svg>#dark-reader-filter');
brave moss
#

oh

#

that's really cool

echo frost
#

i found it out while doing the filter (also you need the id of the filter at the end, i was stumped on that for a while), but usually i use normal svgs with content when doing that

brave moss
#

yeah I was only aware of doing d: path()

echo frost
#

like this

  --censored-server-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='120' fill='%2326232b'/%3E%3Ctext xmlns='http://www.w3.org/2000/svg' x='50%25' y='50%25' fill='%23dbdee1' dominant-baseline='middle' text-anchor='middle' style='font-size: 48px'%3E-%3C/text%3E%3C/svg%3E");
#

and then I can replace any image with that if I want to censor it

#

but i can switch that over to utf8 to be easier to use

brave moss
#

aren't you able to do all of this with properties anyway

echo frost
#

like d: path()?

brave moss
#

I mean like

echo frost
#

that only works for replacing the path of an existing svg

brave moss
#

you're assigning stuff like height, width and color

echo frost
#

this you can add anywhere with a pseudo element or replace a bitmap image

echo frost
brave moss
#

you can do that with separate properties

echo frost
#

you mean like .class { width: 10px; }?

#

not with custom svgs like that

#

they can't even use discord's variables

echo frost
brave moss
#

you're able put the svg data itself in path()

echo frost
#

yeah, but that only works if you're replacing the path of an svg

brave moss
#

oh yeah

echo frost
#

you can't do that on a pseudo element for example

brave moss
#

I see what you mean now

echo frost
#

or an img that's a png or something

brave moss
#

I worked around it by display: none'ing the svg then setting the background image of the parent to the other thing I wanted

#

might have to redo that so it isn't jank

echo frost
echo frost
#

the theme you sent even has that

brave moss
#

so you can flat out replace the svg with a png if you like?

echo frost
#

yeah

brave moss
#

that's cool

#

I'll definitely have to redo it

#

then I don't have svgs sitting there in ram doing nothing

echo frost
#

but you could replace it with an svg that contains a png

brave moss
#

idk why bro is targeting the original data as the tag tho

oak plover
#

because it's easier to store the image in the file rather than have a link embedded somewhere else and hoping it displays properly

brave moss
echo frost
echo frost
#

a data uri just prevents you from having to store the image on github or something and use the url to that

brave moss
#

[d^="M15.293 1."] {...

oak plover
#

most of those are because the updated icons only use 1 color and not 2

echo frost
brave moss
#

mhm

#

it just gets a bit long and unreadable

#

discord also only needs to change a single pixel and it's broken

#

that said tho it can happen with anything you select

#

is discord known for making changes which break css and scripts?

oak plover
#

sometimes

echo frost
#

not a single pixel, a single point in the path

#

but if they do that, they probably changed the entire icon

brave moss
#

yeah that's true

#

maybe changing class/id name is more likely

echo frost
brave moss
#

hence I try not to rely on it too much

echo frost
#

but classes are easy to fix

#

there's a class updater

brave moss
#

hey that's my pfp!

echo frost
#

yeah

#

and you could replace the cdn.discordapp url with a data uri png

brave moss
#

that's really cool stuff

#

this how I'm doing it in future

echo frost
#

like is in that theme

#

but for a png, it'll use a lot of characters

oak plover
#

^

#

way more since it's rasterized so it has to write every pixel

brave moss
echo frost
#

with svgs?

#

or pngs

brave moss
#

mhm

#

idk

echo frost
#

which one

#

data uris do the same thing as using an externally hosted url

brave moss
#
.recentsIcon_c99c29 svg {
  display: none;
}

.recentsIcon_c99c29 .button__85643 {
  background-image: url('https://i.ibb.co/Z1YVgrvR/mentions.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

for reverting inbox icon to the old mentions icon

#

I grabbed it from the old discord apk πŸ‘€

#

it only really works with my theme tho cus of the scaling and colour

echo frost
#

you should probably use svgs

#

they're less data and higher quality

brave moss
#

yeah

echo frost
#

and then you don't have to convert the svg to a png

brave moss
#

I plan to rewrite it

#

and the mobile app had it as an svg originally

echo frost
#

and for that, you can just modify the d

brave moss
#

I converted it

icy crest
burnt sky
icy crest
fierce knot
#

I need help modifying this snippet to work a little better with my theme based off ClearVison -- the glow around the text box doesn't extend behind the typing indicator

#

here's the snippet as it appears in my quickcss:

    --custom-channel-textarea-text-area-height: 48px;
    .form_f75fb0 {
        margin: 0 8px 6.5px 8px;
        padding: 0;
        --chatbar-border-color: var(--border-faint);
    }

    .channelTextArea_f75fb0 {
        margin: 0;
        border-color: var(--chatbar-border-color);
        transition: none;
    }
    .base_b88801 {
        top: -25px;
        left: 0;
        right: 0;
        background: var(--bg-overlay-4, var(--channeltextarea-background));
        padding: 0 8px;
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        border: 1px solid var(--chatbar-border-color);
        border-bottom: none;
        transition: none;
    }
    .clipContainer__841c8 {
        top: -25px;
        left: 0;
        right: 0;
        background-color: var(--chat-background-default);
        padding: 0 0px;
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        border-bottom: none;
        transition: none;
    }
    .clipContainer__841c8:has(.container__841c8) {
        .replyBar__841c8, .threadSuggestionBar__841c8 {
            background: var(--bg-overlay-4, var(--channeltextarea-background));
        }
    }
    
    .stackedBars__74017,
    .threadSuggestionBar__841c8 {
        border-color: var(--chatbar-border-color) !important;
        
    }
    .form_f75fb0:has(.base_b88801) {
        .channelTextArea_f75fb0 {
            border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        }
    }
    .form_f75fb0:has(.channelTextArea__74017:focus-within) {
        --chatbar-border-color: var(--border-subtle);
    }
    .scrollerSpacer__36d07 {
        height: calc(20px + 8px);
    }
    .scroller__36d07::-webkit-scrollbar-track {
        margin-bottom: calc(21px + 8px);
    }
    .bottomBar__0f481 {
        margin-bottom: 25px;
    }
}```
fierce knot
edgy sentinel
#

@proud token this message is kinda confusing to many users on BD/Vencord who don't understand that it comes from their theme and instead think it refers to the mod itself, could you please improve it

#

a better message would be

ClearVision v6 (the theme you are using) is discontinued. Please remove it and download ClearVision v7 from https://betterdiscord.app/theme/ClearVision

onyx mesa
#

anyone else having these weird ractangles next to image/gif embeds

clear siren
#

never seen that before

onyx mesa
#

changed this from 0.1 opacity to 0.11

    --background-message-hover: rgba(0, 0, 0, 0.11);
#

and it disappeared

chilly knoll
#

πŸ’€

clear siren
burnt lake
# pure cairn Whar

On the edges of the discord window even in full screen mode, cursor swaps to resize the window

pure cairn
#

that looks like a theme issue

#

it doesn't do that on mine

echo frost
pure cairn
#

also that

echo frost
#

it's changing to that cursor because you can resize the window

onyx mesa
clear siren
#

I will never not point out legacy color syntax

echo frost
#

also has devtools felt really laggy to anyone else lately?

plain kelp
#

Extremely

#

More so in firefox than chrome, but chrome is slow too

echo frost
#

oh wait it is

#
[aria-label="Hide Member List"] {
  anchor-name: --button-yes;
}
.vc-toolbox-btn {
  position: absolute;
  position-anchor: --button-yes;
  top: anchor(top);
  left: calc(anchor(right));
  bottom: anchor(bottom);
}
#

i think they might need to be sibling elements though

#

i tried to move the inbox button but couldn't get that to work

pure cairn
burnt lake
pure cairn
#

nvm it was the class name

echo frost
#

ah

#

was going to say didn't think you needed anchor to do that

pure cairn
#

my photographic memory flopped this time

clear siren
clear siren
smoky belfry
brazen quartz
#

one use for position-anchor is turning text buttons into icon buttons with tooltips

pure cairn
#

Oh wow

burnt lake
#

Does anyone know how to add and customize afterwards (black bar added) to make it not transparent?

onyx mesa
#

im trynna remove the background from these buttons, mostly the gaps between them

#

but it's just not working out

thorny iris
#

how can i make in css a theme that changes the settings icon to something else

naive delta
#

@upper isle I'm trying out your dracula theme, and for some reason when I use it my inbox button disappears. Note that my environment is setup to not show the title bar (for example, I don't see Minimize/Maximize either, by choice). Maybe your theme is forcing the inbox button to the same area, that is not displayed by my gtk theme? Without using your theme, Discord/Vesktop correctly moves the inbox button next to the search bar

upper isle
echo frost
#

it looks like they might be using the css that gets rid of the titlebar thing

vestal field
#

must be some snippet

upper isle
#

no i can reproduce the issue on my hyprland setup

#

im not sure why the inbox button dissapears

onyx mesa
#

this kinda looks ugly

pure cairn
#

It's very busy

crimson skiff
onyx mesa
pure cairn
#

I would start hiding the mute/deafen buttons and have them slide from the right settings one, with the spinning cogwheel to match the movement

#

That already frees up a bit of space and lets the bottom area breathe

#

Increase the "Voice Connected" element padding/margin and move the krisp/disconnect buttons up

#

Then widen the cam/screenshare/activity/soundboard buttons

onyx mesa
#

that would just look like the default

hexed imp
# onyx mesa this kinda looks ugly

I would hide this whole line behind the phone icon hover, and move the phone icon up to the same line as Voice Connected, letting the hover effect cover up the text when expanded. Gets rid of almost all the icons unless they're needed. Makes it more compact & visually simple.

#

I'm not entirely sure if that whole line has one div it can be manipulated with tho, Discord is such shit for css

crimson skiff
#

i managed to make the two buttons take up the height of the vc status instead of taking too much space

onyx mesa
#

also wtf happened here

crimson skiff
crimson skiff
onyx mesa
onyx mesa
crimson skiff
#
/* move the call buttons */
.visual-refresh #app-mount [class*="voiceButtonsContainer"] {
  flex-direction: column;
  margin-left: 0;
  margin-right: var(--gap);
  > button {
    margin: 0;
    width: fit-content;
    height: fit-content;
  }
}
/* let the user area buttons breathe */
[class^="panels"] > [class^="container"] {
  height: unset !important;
  align-items: unset !important;
  padding: 6px 8px !important;
  flex-direction: column-reverse !important;
  gap: 2px !important;
}
[class^="avatarWrapper"] {
  margin-right: unset !important;
  margin-left: unset !important;
  padding-left: 4px !important;
}
[class^="container"] > [class*="buttons"] {
  justify-content: space-evenly !important;
}
```i got the user area button thing from somewhere in [#🎨-css-snippets](/guild/1015060230222131221/channel/1028106818368589824/), dont remember, cant bother to find
#

this is how they look like with the snippets, but issue is that the hover state is squashed in the x axis for vc buttons, not sure how to make it look better

onyx mesa
pure cairn
#

Whoops

#

That seemed quite familiar to be honest

muted knoll
#

for the panel

half crystal
#

this is probably the worst way i could have compacted the toolbar

oak plover
#

I mean it’s not all that bad

#

Could just use a bit more styling to clean it up

harsh flicker
near bear
#

Sorry if this is the wrong place to ask but.. how do I get rid of this box being huge like this and the hover highlight? I tried searching but... discord is bad with that https://i.imgur.com/lNUJomN.png

pure cairn
#

Enable the F8break plugin, restart discord, open devtools, click on the chat again and hover the element, press F8, use the element picker to get its class

#

You probably want to reduce its padding/margins, as for the hover highlight, there's a small button with :hov on it, click it and select the :hover state to force it

#

Again, using the right element and class

#

And in case this was too mumbo jumbo for you, give me a moment
I'll do something when I get back to my pc

near bear
#

I see. It was "fixed" in a theme but this latest update said seeya to it.

pure cairn
#
.popoverReactionHoverBar_f84418 {
  &:hover {
    box-Shadow: var(--shadow-low) !important;
  }

  .hoverBarButton_f84418 {
    padding: 0;
  }
}```
#

huh, the highlight is still there

#

is the size fine?

near bear
#

size?

pure cairn
#

you said it was huge

near bear
#

Oh, sorry been a day. Umm, idk. I can't place it but it feels like its bigger but maybe thats also the highlight bit messing with me

pure cairn
#

actually, what do you mean by "highlight" ?

#

the fact that the icons pop out a bit or the changing colors?

#

if it's the latter, this should work fine

.visual-refresh .popoverReactionHoverBar_f84418 {
  &:hover {
    background: var(--background-surface-highest);
    border: 1px solid var(--border-faint);
    box-shadow: var(--shadow-low);
  }

  .hoverBarButton_f84418 {
    padding: 0;
  }
}```
near bear
pure cairn
#

oh

#

so you meant the message highlight, not the buttons

#

aight, gotcha

#

give me a sec

near bear
#

little of a little of b, my bad. But yes

pure cairn
#

what theme are you using?

near bear
#

Uhh "Ash"

pure cairn
#

well that's weird, I don't have the message highlight with the Ash theme enabled

#

and it's not due to css snippets or other themes on my end

near bear
#

Interesting.. I just double checked by temp disabling all mine and I still have it so same..

pure cairn
#

funny

#

currently hovering on your message

#

what could be causing this

#

have you also disabled your quickcss, just to be sure

near bear
#

Yea, did both

pure cairn
#

idk tbh, try with this

.cozy_c19a55.wrapper_c19a55:hover {
  background-color: transparent;
}```
#

very basic, I don't even know if it'll target the right element

near bear
#

no D:

near bear
#

nope

pure cairn
#

well, according to what I've seen in your screenshot, it should've worked

#

since it includes not only the message but the avatar and username as well

near bear
#

Searching on here I found a "--background-message-hover: var(--message-hover);" but idk how relevant or even how to use it since css is not my thing

pure cairn
#

it is

#

lol

#

where did you get that from?

near bear
crimson skiff
pure cairn
near bear
#

frig

pure cairn
pure cairn
#

because I don't have it and my themes are disabled

crimson skiff
#

I'll need to check

pure cairn
#

thanks

pure cairn
# near bear frig

you're 1000% sure you don't have other themes or snippets somewhere

#

not even online themes

near bear
#

I completely took out the snippets by copy pasting them into a txt file, and disabled both themes I have enabled (that I'm not sure do anything anymore) and 0 online ones

pure cairn
#

well, for now this should reduce the size of the buttons when you hover a message

.visual-refresh .popoverReactionHoverBar_f84418 > .hoverBarButton_f84418 {
  padding: 0;
}```
#

as for the background highlight, I genuinely have no idea since I don't even have it

near bear
#

What.the.hell. They are gone now??

#

But also lets go, that did fix them being huge

pure cairn
near bear
#

The highlight lmao

near bear
#

It was gone before I applied that so.. wadduheck

pure cairn
#

did you restart or refresh your client in between?

pure cairn
near bear
#

I did when enabling that f8, it did nothing, then again when I disabled it and that also did nothing.

pure cairn
#

idk, but if it works

#

don't fix it

near bear
#

But it was doing that even after all those

pure cairn
near bear
pure cairn
#

inb4 it comes back later or tomorrow

#

hopefully not

near bear
#

Like thats the only thing that actually tilts me with this UI. I have everything else fixed

pure cairn
#

fun

#

welp, glad it worked

#

time to eep

crimson skiff
pure cairn
#

No, what I meant was
Do the messages get highlighted as well when you hover over them on your device?

#

Because on my end, they don't
But on theirs, they do

#

With no themes or snippets enabled

crimson skiff
#

aside from a random snippet that turns every element that is hovered to a text colour of white, it doesnt get highlighted when i hover over it

pure cairn
#

Cool, so I'm not the odd one

#

Well, the highlight is gone on their end as well now
But we don't know why

crimson skiff
#

Β―_(ツ)_/Β―

#
[id*="chat-messages"]:hover {
  background: rgba(255,255,255, 0.1)
}
```this should be the simplest snippet for it
#

but not sure why that happens

pure cairn
#

Why background instead of background-color? Just asking

#

I usually go for background only if it's not a specific color/var but something like an image

#

But are there other advantages in using it instead of background-color?

crimson skiff
#

just use whatever you want

pure cairn
#

Well then

#

I'll keep following my logic

crimson skiff
#

background is a shorthand property for setting multiple things, its like transition with its transition-property, transition-duration and so on

crimson skiff
#

so background can be used for anything like images, colours, gradients etc

pure cairn
#

That actually makes sense

crimson skiff
pure cairn
#

The more you know

#

Thanks

upper isle
upper isle
#

i designed the theme with the window buttons in mind
toolbar buttons are fixed in place as are the window buttons so it would require a custom css override snippet

#

idk why the inbox button dissapears in the first place

onyx mesa
smoky belfry
#

is it just me or message edit history could benefit from a little CSS revamp ?

#

i'd imagine an horizontally scrolling bar with all the times
or smth like that
or if it's a grid, for it to be aligned or smth

mint kiln
#

because that aint mac

smoky belfry
#

if they are in a grid or a flex, just use order

mint kiln
#

idk what i did to make it work in the first place

#

i hate the top bar

smoky belfry
#

i mean unless you used AI or copied smth that exist without thinking, you should have learned enough to do what i said

#

tho the rules would let me think you don't really know exactly what you are doing

mint kiln
#

not exactly

jovial vault
#

Anyone have a code to hide the "send" button on chat bar?

brazen quartz
#

it's an option in settings > accessibility, but if you really want to: .buttons__74017 > :is(.separator_aa63ab, .container_aa63ab) { display: none !important; }

pure cairn
#

because I've never seen it lol

plain kelp
#

Click the (edited) tag {fake edit}

pure cairn
#

it does nothing

#

again, is it a messagelogger thing?

plain kelp
#

Yes

pure cairn
#

cool, that explains it

plain kelp
#

I thought having all the previous edits inline was a waste of space so I squared it away in a popup

pure cairn
#

it makes sense

onyx mesa
#

you can actually do it by just right clicking the text area

jovial vault
#

interesting

jovial vault
onyx mesa
#

might be a plugin or something

jovial vault
onyx mesa
#

maybe it's from a plugin that i have idk

onyx mesa
split vortex
#

how do u guys know what tags do what like for background images :root {
background-image: url("") !important;
background-size: cover !important;
}
i seen this was meant to change the background image but its not working

onyx mesa
#

is this for some kind of theme?

split vortex
#

nah im just messing with the css

#

im using beautifuldiscord and just tinkering with the css

#

but im curious on how u guys know the tags names is there a cheat sheet with them on it or something?

jovial vault
split vortex
#

like the .wrapper__6e9f8 for the home icon

#

like how do u know the names of the objects

onyx mesa
#

this thing

split vortex
#

oh alr the inspector

#

any shot u know why the background image isnt working?

onyx mesa
#

unsure really, haven't use beautifuldiscord myself

#

not familiar with it

split vortex
#

what would be the css you would use for that?

brave moss
full rover
#

I wonder if there's any CSS snippet that can fix the aligning on all the badges, since like for example the partner badge, verified badge, community badge, boost badge are all like slightly misaligned

burnt sky
#

@chilly knoll found a new icon for you to make something for πŸ˜‰ server tags

tidal heron
#

anyone have a better version of this

#

using the less laggy one still produces lag

burnt sky
copper flame
#

its that has selector causing the lag

tidal heron
#

ah

pure cairn
#

Gotta find the time to fix that profile popout snippet of mine

echo frost
echo frost
spring pewter
#

hello, what do i do abt background images on clearvision? every single theme i have of clearvision has a broken photo now

#

and i cant get it working

#

the wallpaper is for some reason only visible throught the user popout

tidal heron
crimson skiff
echo frost
#

wtf

#

no

onyx mesa
#

anyone elses discord gets super slow with dev tools open?

echo frost
#

devtools has been very slow for me recently, but only devtools itself. it doesn't make using discord normally significantly laggier for me

pure cairn
#

and devtools being awfully slower than usual as well

hollow spire
#

guys im so tired of updating the css can someone help me from what I get I should replace the :has() to reduce laggy chat
and the icons are still eft up after refresh
this my current css and if someone has a similar one that they are going to maintain or have can you please point me there T-T

onyx mesa
#

this is taking longer than i expected

burnt sky
pure cairn
#

I bet discord did some fuckery with classes again

onyx mesa
copper flame
#

you should just be able to import the font over everything

#

ohhh it does pfps too

copper flame
onyx mesa
copper flame
# onyx mesa idk how to do that
@import url('https://fonts.googleapis.com/css2?family=Flow+Circular&display=swap');

:root {
    --font-primary: "Flow Circular";

    --font-display: "Flow Circular";
    --font-headline: "Flow Circular";
    --font-code: "Flow Circular";
}
chilly knoll
spring hill
spring pewter
#

how do i change the background here? cant find it in the css

#

on the midnight theme

onyx mesa
spring pewter
onyx mesa
#

you can put it in your general custom css

spring pewter
#

ah okay

onyx mesa
#

you should be able to change the server list background color to whatever you want

spring pewter
#

ty

#

how do i make it transparent tho

#

?

#

the color changes, but the transparency doesnt

#

@onyx mesa

spring pewter
# onyx mesa wym?

i can change the color, but when i change transparency it doesnt make it transparent, just closer to the original discord color

#

heres one w no transparency

#

and this one w some transparency

plain kelp
#

Discord often has multiple overlapping elements with bg

thorn sonnet
#

i made a cool snippet i would like to share with the community, where should i post it?