From fbb68a963828a1dfbe46b2b83083ce47ec758e16 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:41:27 -0400 Subject: [PATCH] revert some ui changes --- package.json | 2 +- src/components/FormSwitch.css | 8 ------ src/components/FormSwitch.tsx | 28 +++++++++---------- .../tabs/plugins/components/styles.css | 2 +- .../settings/tabs/vencord/index.tsx | 27 +++++++++--------- 5 files changed, 29 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index b9f6c107c..e0adc841c 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "typescript-transform-paths": "^3.5.6", "zip-local": "^0.3.5" }, - "packageManager": "pnpm@11.21.0", + "packageManager": "pnpm@11.22.0", "engines": { "node": ">=22" } diff --git a/src/components/FormSwitch.css b/src/components/FormSwitch.css index cabe72492..527b74f34 100644 --- a/src/components/FormSwitch.css +++ b/src/components/FormSwitch.css @@ -32,11 +32,3 @@ flex-shrink: 0; padding-top: 2px; } - -.vc-form-switch-border { - margin-top: 20px; -} - -.vc-form-switch-description { - color: var(--text-subtle); -} diff --git a/src/components/FormSwitch.tsx b/src/components/FormSwitch.tsx index ed436c3d4..f7023e339 100644 --- a/src/components/FormSwitch.tsx +++ b/src/components/FormSwitch.tsx @@ -9,7 +9,7 @@ import "./FormSwitch.css"; import { classes } from "@utils/misc"; import type { PropsWithChildren, ReactNode } from "react"; -import { Divider } from "./Divider"; +import { Flex } from "./Flex"; import { Span } from "./Span"; import { Switch } from "./Switch"; @@ -26,24 +26,22 @@ export interface FormSwitchProps { export function FormSwitch({ onChange, title, value, description, disabled, className, hideBorder }: FormSwitchProps) { return ( -