Make text better

This commit is contained in:
Indiana Jone (Indi) 2025-03-28 22:49:32 -04:00
parent b936fea891
commit ff7255655b

View file

@ -2,19 +2,20 @@
* @name NSFWtag
* @author ryan.0324, krystalskullofficial
* @description A tag for 'NSFW' channels so they are easier to see/notice. Also recolors the small triangle too be red,
* @version 8.0.0
* @version 8.5.0
* @authorId 929208515883569182
* @website https://krstlskll69.github.io/
* @source https://github.com/KrstlSkll69/vc-snippets?tab=readme-ov-file#1st-nsfw-channel-tag-
*/
:root{
--Tag-Text: "NSFW";
}
/*--- Channel list 'NSFW' Label ---*/
[class*=linkTop_]:has([class*=iconContainer_] [d^="M18.09 1.63"]) > [class*=children_]::after {
content: "NSFW";
content: var(--Tag-Text);
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);
@ -28,7 +29,7 @@
}
/*--- 'NSFW' Chat Label ---*/
[class*=iconWrapper_]:has([d^="M18.09 1.63"]) ~ [class*=titleWrapper_] h1::after {
content: "NSFW";
content: var(--Tag-Text);
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);
@ -43,7 +44,7 @@
/*--- 'NSFW' Message bar icon label ---*/
[class*=autocompleteRowIcon__]:has([d^="M18.09 1.63c.4-.7 1.43-.7"]) ~ [class*=autocompleteRowContentPrimary__] ::after {
content: "NSFW";
content: var(--Tag-Text);
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);
@ -56,9 +57,9 @@
margin-left: 4px;
}
/*--- Stupid Ahh channel serach icon label ---*/
/*--- Stupid Ahh channel search icon label ---*/
[class*=searchResultChannelIcon__]:has([d^="M18.09 1.63c.4-.7 1.43-.7"]) ~ [class*=searchResultChannelCategory__]::after {
content: "NSFW";
content: var(--Tag-Text);
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);