From 1b779edb9470b79d3fb1987b45d054101484e101 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 21 May 2024 17:44:07 -0400 Subject: [PATCH] added a bunch of snippets --- Snippets/DirectMessagesIconGrid.css | 46 +++++++++++++++++++++++++++++ Snippets/Make❎Red.css | 12 ++++++++ Snippets/MinimalAuthorisedApps.css | 11 +++++++ Snippets/NSFWRecolor.css | 14 +++++++++ Snippets/NoNewShopBadge.css | 4 +++ Snippets/PrivateChannelRecolor.css | 17 +++++++++++ Snippets/QuickSwitchV2.css | 30 +++++++++++++++++++ Snippets/SlidingThreads.css | 9 ++++++ 8 files changed, 143 insertions(+) create mode 100644 Snippets/DirectMessagesIconGrid.css create mode 100644 Snippets/Make❎Red.css create mode 100644 Snippets/MinimalAuthorisedApps.css create mode 100644 Snippets/NSFWRecolor.css create mode 100644 Snippets/NoNewShopBadge.css create mode 100644 Snippets/PrivateChannelRecolor.css create mode 100644 Snippets/QuickSwitchV2.css create mode 100644 Snippets/SlidingThreads.css diff --git a/Snippets/DirectMessagesIconGrid.css b/Snippets/DirectMessagesIconGrid.css new file mode 100644 index 0000000..d585eae --- /dev/null +++ b/Snippets/DirectMessagesIconGrid.css @@ -0,0 +1,46 @@ +/* Credit to vending_machine (343383572805058560) on the Vencord discord for this snippet */ +[class^=privateChannels_] [class^=content_] { + display: grid; + height: unset !important; + grid-template-columns: 1fr 1fr; + + &> * { + overflow: hidden; + grid-column: 1 / 3; + } +} + +[class^=channel_]:has( + [href="/channels/@me"], + [href="/library"], + [href="/shop"], + [href="/store"], + [href="/family-center"], + [href="/message-requests"] +) { + grid-column: auto; + + [class*="link_"] { + gap: 0; + justify-content: center; + position: relative; + + &> :not([class*="avatarWithText_"]) { + position: absolute; + left: 5.5em; + } + } + + [class*="avatar_"] { + margin: 0; + width: unset; + } + + [class*="avatarWithText_"] { + flex-grow: unset; + } + + [class*="content_"] { + display: none; + } +} diff --git a/Snippets/Make❎Red.css b/Snippets/Make❎Red.css new file mode 100644 index 0000000..d4491f5 --- /dev/null +++ b/Snippets/Make❎Red.css @@ -0,0 +1,12 @@ +/* Credit to sqaaakoi (259558259491340288) on the Vencord discord for this snippet */ +img[src="/assets/5cdb518bb425d85a0f51.svg"], div[style="background-image: url(\"/assets/eb34899f42bbb8c0cf9c.png\"); background-position: -1344px -1248px; background-size: 2016px 1872px; height: 48px; width: 48px;"] { + --red-negative_squared_cross_mark: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNiAzNiI+PHBhdGggZmlsbD0iI0REMkU0NCIgZD0iTTM2IDMyYzAgMi4yMDktMS43OTEgNC00IDRINGMtMi4yMDkgMC00LTEuNzkxLTQtNFY0YzAtMi4yMDkgMS43OTEtNCA0LTRoMjhjMi4yMDkgMCA0IDEuNzkxIDQgNHYyOHoiLz48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMjEuNTI5IDE4LjAwNmw4LjIzOC04LjIzOGMuOTc3LS45NzYuOTc3LTIuNTU5IDAtMy41MzUtLjk3Ny0uOTc3LTIuNTU5LS45NzctMy41MzUgMGwtOC4yMzggOC4yMzgtOC4yMzgtOC4yMzhjLS45NzYtLjk3Ny0yLjU2LS45NzctMy41MzUgMC0uOTc3Ljk3Ni0uOTc3IDIuNTU5IDAgMy41MzVsOC4yMzggOC4yMzgtOC4yNTggOC4yNThjLS45NzcuOTc3LS45NzcgMi41NTkgMCAzLjUzNS40ODguNDg4IDEuMTI4LjczMiAxLjc2OC43MzJzMS4yOC0uMjQ0IDEuNzY4LS43MzJsOC4yNTgtOC4yNTkgOC4yMzggOC4yMzhjLjQ4OC40ODggMS4xMjguNzMyIDEuNzY4LjczMnMxLjI3OS0uMjQ0IDEuNzY4LS43MzJjLjk3Ny0uOTc3Ljk3Ny0yLjU1OSAwLTMuNTM1bC04LjI0LTguMjM3eiIvPjwvc3ZnPg=='); +} +img[src="/assets/5cdb518bb425d85a0f51.svg"] { + content: var(--red-negative_squared_cross_mark); +} +div[style="background-image: url(\"/assets/eb34899f42bbb8c0cf9c.png\"); background-position: -1344px -1248px; background-size: 2016px 1872px; height: 48px; width: 48px;"] { + background-image: var(--red-negative_squared_cross_mark) !important; + background-position: unset !important; + background-size: unset !important; +} diff --git a/Snippets/MinimalAuthorisedApps.css b/Snippets/MinimalAuthorisedApps.css new file mode 100644 index 0000000..e56fbe0 --- /dev/null +++ b/Snippets/MinimalAuthorisedApps.css @@ -0,0 +1,11 @@ +/* Credit to saltssaumure (134142022092062720) on the Vencord discord for this snippet */ +.authedApp__71a52 { + max-height: 32px; + box-sizing: content-box; + overflow: hidden; + transition: max-height 1s +} + +.authedApp__71a52:hover { + max-height: 100vh +} diff --git a/Snippets/NSFWRecolor.css b/Snippets/NSFWRecolor.css new file mode 100644 index 0000000..8968528 --- /dev/null +++ b/Snippets/NSFWRecolor.css @@ -0,0 +1,14 @@ +/** +* @name NSFW recolor +* @author krystalskullofficial +* @version 2.0 +* @description recolors the icon for 'NFSW' channels so they are easier to see/notice +*/ + + +/*---'NSFW' Icon Recolor---*/ + +.icon__67ab4:has(path[d^="M18.09 1.63"]) path[d^="M18.09 1.63"] { + fill: var(--text-danger) !important; + border: 1px solid rebeccapurple !important; + } diff --git a/Snippets/NoNewShopBadge.css b/Snippets/NoNewShopBadge.css new file mode 100644 index 0000000..9856235 --- /dev/null +++ b/Snippets/NoNewShopBadge.css @@ -0,0 +1,4 @@ +/* Credit to mensh123 (736188952742199316) on the Vencord discord for this snippet */ +.textBadge__45d79{ + display: none; + } diff --git a/Snippets/PrivateChannelRecolor.css b/Snippets/PrivateChannelRecolor.css new file mode 100644 index 0000000..a85b05d --- /dev/null +++ b/Snippets/PrivateChannelRecolor.css @@ -0,0 +1,17 @@ +/** +* @name Private Channel recolor +* @author krystalskullofficial +* @version 3.0 +* @description recolors the icon for Private channels so they are easier to see/notice +*/ + +/*---Lock Icon Recolor---*/ +.icon__67ab4:has(path[d^="M16 4h.5v"]) path[d^="M16 4h.5v"] { + fill: #fffaa0 !important; + border: 1px solid rebeccapurple !important; } + +/*---for stages(since they use a differnt lock for some reason)----*/ +.icon__67ab4:has(path[d^="M16.5 18H16a1"]) path[d^="M16.5 18H16a1"] { + fill : #fffaa0 !important; + border: 1px solid rebeccapurple !important; +} diff --git a/Snippets/QuickSwitchV2.css b/Snippets/QuickSwitchV2.css new file mode 100644 index 0000000..d2ae611 --- /dev/null +++ b/Snippets/QuickSwitchV2.css @@ -0,0 +1,30 @@ +/* Credit to dablulite (582170007505731594) on the Vencord discord for this snippet */ +.layer_c14d31:has(.quickswitcher_b5bb0a) { + justify-content: start; +} +.quickswitcher_b5bb0a { + background: none; + padding: 0; +} +.quickswitcher_b5bb0a .scroller_d4b86c { + margin: 0; + border-radius: 0 0 8px 8px; + scrollbar-width: none; + padding: 8px !important; +} +.quickswitcher_b5bb0a .input__2a648 { + height: 50px; +} +.quickswitcher_b5bb0a .input__2a648[value=""] { + border-radius: 8px; +} +.quickswitcher_b5bb0a .input__2a648:not([value=""]) { + border-radius: 8px 8px 0 0; +} +.quickswitcher_b5bb0a .input__2a648[value=""] + .scroller_d4b86c, +.quickswitcher_b5bb0a .protip__84833 { + display: none; +} +.backdrop__1a911:has(+ .layer_c14d31 .quickswitcher_b5bb0a) { + opacity: 0; +} diff --git a/Snippets/SlidingThreads.css b/Snippets/SlidingThreads.css new file mode 100644 index 0000000..c048531 --- /dev/null +++ b/Snippets/SlidingThreads.css @@ -0,0 +1,9 @@ +/* Credit to LuSaffi (797721161504653332) on the Vencord discord for this snippet */ +#channels [class^=container_]:not([class*=containerWithMargin]) + { max-height: 0; + overflow: hidden; + transition: max-height 4s ease; } + +#channels [class^=containerDefault_]:hover + [class^=container_], +#channels [class^=container_]:hover + { max-height: 100%; }