From ff7255655ba094ebe6f18d6f652575a031e9b484 Mon Sep 17 00:00:00 2001 From: Krystal <150982280+KrstlSkll69@users.noreply.github.com> Date: Fri, 28 Mar 2025 22:49:32 -0400 Subject: [PATCH] Make text better --- NSFWtag.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/NSFWtag.css b/NSFWtag.css index 5f16d75..79a9a9c 100644 --- a/NSFWtag.css +++ b/NSFWtag.css @@ -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);