#Oops I forgot images
1 messages · Page 1 of 1 (latest)
Oops I forgot images
after:
before:
(completely unusable, ik)
Version that only changes color and will work even if the color of the role changes in the future
-# (except in replies and mentions since there's no role id there)
:root {
--regular-role-color: 128, 163, 255;
}
[class^=roleIcon_][src*="/1026504932959977532/"] {
content: url('https://cdn.discordapp.com/emojis/1251341798656315402.webp?size=80&quality=lossless');
[class^=username_]:has(+span &) {
color: rgb(var(--regular-role-color)) !important;
}
}
[id^=message-reply-context] [class^=username_][style="color: rgb(11, 218, 81);"] {
color: rgb(var(--regular-role-color)) !important;
}
[class^=role_][data-list-item-id$="_1026504932959977532"] [class^=roleCircle_] {
background-color: rgb(var(--regular-role-color)) !important;
}
:is([class^=roleMention_],
[data-slate-node=element]>[class^=wrapper_])[style^="color: rgb(11, 218, 81);"] {
color: rgb(var(--regular-role-color)) !important;
background-color: rgba(var(--regular-role-color), 0.1) !important;
&:hover {
background-color: rgba(var(--regular-role-color), 0.3) !important;
}
}```
Oops I forgot images
you do realize that the color is randomly generated daily
you could select the roleicon that has "regular" in it to force username color but then you also force them on people that have custom role color but regular roleicon
I used to force regulars to green https://github.com/nvhhr/discordcss/blob/main/snippets/recute.theme.css but no good way of doing that anymore (at least not with just css)
venbot is doing the randomizing of regular color https://codeberg.org/vee/bot/src/branch/main/src/modules/regularCotd.ts
oh yeah i forgot i could potentially use the aria label
?
the snippet mostly uses the color to select it
you're weird
hi. i may be blind or there isn't a channel but id like to request a snippet. is it possible to make the soundboard picker resizable? i have a ton of servers/favorited sounds and the soundboard picker is tiny
hey hey
did you know
the role icon has the role id in src
yes but people have the icon but might have another role color
ohh
simple (bad) solution would be to PR role id attr in name to ThemeAttributes
but i doubt they'd accept that by itself
would need to pr some other additional themeattributes along with it
or have github repo with up-to-date regular role color
manually update every day
there's a lot I'd change or add to themeattributes if I knew js/ts