#Status based Activity Status Icon
1 messages · Page 1 of 1 (latest)
maybe
ok it does still work like that
fixed ok?
peak
screenshot?
weird
works for me
can you open devtools and show me what the 'd' attribute looks like
If you wanted this to be language-proof, you could use masks instead of aria-labels
same over here
are y'all using different languages?
thats wonky
yea
will have to see how to use masks
should just be looking for rect[mask="url(#svg-mask-status-**STATUS**)"]
not working in german
affects only english language and memberlist only, doesnt seem to work on dm list
you can change the aria labels to the German translation
i was refering to this message
how do you even apply this? is there an import url? or where does this code stuff even paste into?
you paste it into your quickcss
broken with the new ui refresh
dang 😭 hopefully a fix is thrown out soon :3
soon™️
Update for visual refresh. (last updated: <t:1744635240:R>)
/* status based activity icon */
[class^=memberInner]:has(> div > [aria-label*="Online"]) [class^=subText] svg>path[fill="#40a258"] {
fill: #43b581;
}
[class^=memberInner]:has(> div > [aria-label*="Idle"]) [class^=subText] svg>path[fill="#40a258"] {
fill: #f0b232;
}
[class^=memberInner]:has(> div > [aria-label*="Do Not Disturb"]) [class^=subText] svg>path[fill="#40a258"] {
fill: #f23f43;
}
[class^=memberInner]:has(> div > [aria-label*=Streaming]) [class^=subText] svg>path[fill="#40a258"] {
fill: #643da7;
}
hmm maybe not working for me
It works. Are you using Discord in english or a diff. language?
works. Thanks!
ok nvm now working!
any way to get this to work in the DM list?
not working in the friends list
not bothering to fix it
it is since this thing is made to sync the activity icons color with the status color
seems to be broken again
fixed it myself. here's the updated css but in german so u gotta replace the german stuff with ur own language 🇩🇪
/* status based activity icon */
[class^=memberInner]:has(> div > [aria-label*="Online"]) [class^=subText] svg>path[fill="#43a25a"] {
fill: #43b581;
}
[class^=memberInner]:has(> div > [aria-label*="Abwesend"]) [class^=subText] svg>path[fill="#43a25a"] {
fill: #f0b232;
}
[class^=memberInner]:has(> div > [aria-label*="Bitte nicht stören"]) [class^=subText] svg>path[fill="#43a25a"] {
fill: #f23f43;
}
[class^=memberInner]:has(> div > [aria-label*=Streamt]) [class^=subText] svg>path[fill="#43a25a"] {
fill: #643da7;
}
still doesn't work for me
this code does the trick, thanks!
Is there a new version?
hi this dont work for me, need some help
cant bother to fix, make it yourself
damn
exactly what i said
i cannot bother fixing it
so if you want it, make it yourself
it still works wdym
^
I fixed it a couple months ago
@glad fern
em not working
works fine for me. U changed the strings to your locale?
no
smh
i use quick css
reading instructions challenge = impossible
u need to change the strings in there to your language
i didnt bother to change it to english bc I dont give a fuck
u dunno what a string is?
tks
Np bro
I changed it to Korean and am using it well >.0
I have a question but does the icon appear purple when streaming?
yes
I have the impression
how did you get the activity status icons?
Okay, thank you for your answer!!
What icon are you talking about because I'm not familiar with English?!
on right of my account
beside status
It's in an unofficial plugin betteractiv
ah
now works with dms list, friends list and the +1/+2 when you have more than 1 activity. i thinks dont have enough friends online to really check anything
/* ============================================
Status based Activity Status Icon
============================================ */
/* ======================
ONLINE
====================== */
[class^=memberInner_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Online"]) svg path[fill="#43a25a"] {
fill: #43b581 !important; /* or any color or #43a25a if you wanna match discord status */
}
[class^=memberInner_]:has([aria-label*="Online"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Online"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Online"]) [class*="activityCounter_"] {
color: #43b581 !important; /* or #43a25a */
}
/* ======================
IDLE
====================== */
[class^=memberInner_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"] {
fill: #f0b232 !important; /* or #ca9654 */
}
[class^=memberInner_]:has([aria-label*="Idle"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Idle"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) [class*="activityCounter_"] {
color: #f0b232 !important; /* or #ca9654 */
}
/* ======================
DO NOT DISTURB
====================== */
[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"] {
fill: #f23f43 !important; /* or #d83a42 */
}
[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"] {
color: #f23f43 !important; /* or #d83a42 */
}
/* ======================
STREAMING
====================== */
[class^=memberInner_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"] {
fill: #643da7 !important; /* or #9147ff */
}
[class^=memberInner_]:has([aria-label*="Streaming"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Streaming"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) [class*="activityCounter_"] {
color: #643da7 !important; /* or #9147ff */
}
/* ============================================
End Status based Activity Status Icon
============================================ */
if you want the colors to match w status:
online: #43a25a
idle: #ca9654
dnd: #d83a42
streaming: #9147ff
streaming is purple
but i dont know the color exactly
hmm leaving the color alone for now i dont think streaming is working? just tested by try streaming in my personal server 🤔 but toasts fix also show it as green instead of purple there so its probably a different streaming thing?
oh wait purple and streaming. its twitch isnt it. well i cant really test if it works then but it probably does
eh nvm just saw a twitch streamer in this server. it works fine and the color to match discords status is #9147ff
saw another thing that slightly bother me so this is a version that doesnt change the color of "+1/+2" if its not next to the status icon
/* ============================================
Status based Activity Status Icon
============================================ */
/* ======================
ONLINE
====================== */
[class^=memberInner_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Online"]) svg path[fill="#43a25a"] {
fill: #43b581 !important; /* or any color or #43a25a if you wanna match discord status */
}
[class^=memberInner_]:has([aria-label*="Online"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Online"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Online"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
color: #43b581 !important; /* or #43a25a */
}
/* ======================
IDLE
====================== */
[class^=memberInner_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"] {
fill: #f0b232 !important; /* or #ca9654 */
}
[class^=memberInner_]:has([aria-label*="Idle"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Idle"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
color: #f0b232 !important; /* or #ca9654 */
}
/* ======================
DO NOT DISTURB
====================== */
[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"] {
fill: #f23f43 !important; /* or #d83a42 */
}
[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
color: #f23f43 !important; /* or #d83a42 */
}
/* ======================
STREAMING
====================== */
[class^=memberInner_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"] {
fill: #643da7 !important; /* or #9147ff */
}
[class^=memberInner_]:has([aria-label*="Streaming"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Streaming"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
color: #643da7 !important; /* or #9147ff */
}
/* ============================================
End Status based Activity Status Icon
============================================ */
does this work?
sry didnt see this sooner but yeah. its the version im currently using
For do not disturb i used #D13746 and for idle i used #C69756, if anyone wants a different color. Maybe they're more accurate.
update timeee. this one doesnt have an online part bc im using discords colors (add it yourself if you want to change things, shouldnt be too hard) also should fix that bug when someone is streaming to you or in a same server and their status icons turn purple despite not streaming on twitch
/*Idle*/
[class*="memberInner"]:has(
> [class*="avatar"] [aria-label*="Idle"]
) svg path[fill="#43a25a"] {
fill: #ca9654 !important;
}
[class*="memberInner"]:has(
> [class*="avatar"] [aria-label*="Idle"]
) [class*="activityCounter"][style*="var(--status-positive)"] {
color: #ca9654 !important;
}
/*DND*/
[class*="memberInner"]:has(
> [class*="avatar"] [aria-label*="Do Not Disturb"]
) svg path[fill="#43a25a"] {
fill: #d83A42 !important;
}
[class*="memberInner"]:has(
> [class*="avatar"] [aria-label*="Do Not Disturb"]
) [class*="activityCounter"][style*="var(--status-positive)"] {
color: #d83A42 !important;
}
/*Streaming*/
[class*="memberInner"]:has(
> [class*="avatar"] [aria-label*="Streaming"]
) svg path[fill="#43a25a"] {
fill: #643da7 !important;
}
[class*="memberInner"]:has(
> [class*="avatar"] [aria-label*="Streaming"]
) [class*="activityCounter"][style*="var(--status-positive)"] {
color: #643da7 !important;
}
dont have any friends online so i cant check and update dms list and friends list yet
alr this should work for all the lists now
:root {
--idle-color: #ffc04e;
--dnd-color: #da3e44;
--streaming-color: #9147ff;
}
/*Idle*/
[class*="memberInner"]:has([class*="avatar"] [aria-label*="Idle"]) svg path[fill="#45a366"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Idle"]) svg path[fill="#45a366"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Idle"]) svg path[fill="#45a366"] {
fill: var(--idle-color) !important;
}
[class*="memberInner"]:has([class*="avatar"] [aria-label*="Idle"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Idle"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Idle"]) [class*="activityCounter"][style*="var(--status-positive)"] {
color: var(--idle-color) !important;
}
/*DND*/
[class*="memberInner"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) svg path[fill="#45a366"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) svg path[fill="#45a366"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Do Not Disturb"]) svg path[fill="#45a366"] {
fill: var(--dnd-color) !important;
}
[class*="memberInner"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Do Not Disturb"]) [class*="activityCounter"][style*="var(--status-positive)"] {
color: var(--dnd-color) !important;
}
/*Streaming*/
[class*="memberInner"]:has([class*="avatar"] [aria-label*="Streaming"]) svg path[fill="#45a366"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Streaming"]) svg path[fill="#45a366"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Streaming"]) svg path[fill="#45a366"] {
fill: var(--streaming-color) !important;
}
[class*="memberInner"]:has([class*="avatar"] [aria-label*="Streaming"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Streaming"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Streaming"]) [class*="activityCounter"][style*="var(--status-positive)"] {
color: var(--streaming-color) !important;
}
or just use
@import url(https://raw.githubusercontent.com/its-mik/VC-stuff/refs/heads/main/StatusBasedActivity.css);
if you dont wanna change anything