From cd442932fdc62619938802c122bac7dbe1d7c384 Mon Sep 17 00:00:00 2001 From: prism Date: Sun, 7 Dec 2025 22:43:55 +0100 Subject: [PATCH] minor changes (#546) * minor changes * t --- src/components/FormSwitch.tsx | 2 +- .../settings/tabs/changelog/index.tsx | 6 ++--- .../settings/tabs/changelog/styles.css | 24 +++++++++---------- .../settings/tabs/plugins/styles.css | 4 ++-- src/components/settings/tabs/styles.css | 4 ++-- .../settings/tabs/updater/Components.tsx | 2 +- .../settings/tabs/updater/index.tsx | 2 +- .../settings/tabs/vencord/index.tsx | 8 ++++--- 8 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/components/FormSwitch.tsx b/src/components/FormSwitch.tsx index 4a37032fb..7e508ea92 100644 --- a/src/components/FormSwitch.tsx +++ b/src/components/FormSwitch.tsx @@ -31,7 +31,7 @@ export function FormSwitch({ onChange, title, value, description, disabled, clas
{title} - {description && {description}} + {description && {description}}
diff --git a/src/components/settings/tabs/changelog/index.tsx b/src/components/settings/tabs/changelog/index.tsx index 2d9ca335f..c630700e9 100644 --- a/src/components/settings/tabs/changelog/index.tsx +++ b/src/components/settings/tabs/changelog/index.tsx @@ -542,7 +542,7 @@ function ChangelogContent() { {error && ( {error} - + Make sure you have an internet connection and try again. @@ -554,7 +554,7 @@ function ChangelogContent() { This is the GitHub repository where Equicord fetches updates from. - + {repoPending ? ( repo ) : repoErr ? ( @@ -618,7 +618,7 @@ function ChangelogContent() { <> Recent Changes - + No commits available ahead of your current version. Click "Fetch from Repository" to check for new changes. diff --git a/src/components/settings/tabs/changelog/styles.css b/src/components/settings/tabs/changelog/styles.css index ce4fdcb1c..04da73d7f 100644 --- a/src/components/settings/tabs/changelog/styles.css +++ b/src/components/settings/tabs/changelog/styles.css @@ -41,12 +41,12 @@ .vc-changelog-entry-hash { font-size: 0.875em; font-family: var(--font-code); - color: var(--text-muted); + color: var(--text-subtle); } .vc-changelog-entry-author { font-size: 0.875em; - color: var(--text-muted); + color: var(--text-subtle); font-weight: 500; } @@ -57,14 +57,14 @@ } .vc-changelog-entry.required .vc-changelog-entry-hash { - color: var(--text-muted); + color: var(--text-subtle); font-weight: 600; } .vc-changelog-loading { text-align: center; padding: 2em; - color: var(--text-muted); + color: var(--text-subtle); } .vc-changelog-empty { @@ -72,7 +72,7 @@ padding: 2em; background-color: var(--background-base-lower-alt); border-radius: 8px; - color: var(--text-muted); + color: var(--text-subtle); } .vc-changelog-controls { @@ -168,7 +168,7 @@ .vc-changelog-new-plugin-tag.more { background-color: var(--background-base-lower-alt); - color: var(--text-muted); + color: var(--text-subtle); } .vc-changelog-new-plugin-tag.required { @@ -249,13 +249,13 @@ .vc-changelog-log-meta { font-size: 0.875em; - color: var(--text-muted); + color: var(--text-subtle); line-height: 1.3; } .vc-changelog-log-toggle { transition: transform 0.2s ease; - color: var(--text-muted); + color: var(--text-subtle); font-size: 0.75em; flex-shrink: 0; } @@ -356,7 +356,7 @@ } .vc-changelog-log-commits-list::-webkit-scrollbar-thumb { - background: var(--text-muted); + background: var(--text-subtle); border-radius: 3px; } @@ -389,7 +389,7 @@ .vc-changelog-history-list::-webkit-scrollbar-thumb, .vc-changelog-log-content::-webkit-scrollbar-thumb { - background: var(--text-muted); + background: var(--text-subtle); border-radius: 3px; } @@ -513,7 +513,7 @@ /* Required plugin styling */ .vc-changelog-dep-text { font-size: 0.875em; - color: var(--text-muted); + color: var(--text-subtle); margin-left: 1em; font-style: italic; } @@ -568,4 +568,4 @@ .vc-changelog-log-header:hover .vc-changelog-delete-button { opacity: 0.8; -} \ No newline at end of file +} diff --git a/src/components/settings/tabs/plugins/styles.css b/src/components/settings/tabs/plugins/styles.css index 05db9d626..026944032 100644 --- a/src/components/settings/tabs/plugins/styles.css +++ b/src/components/settings/tabs/plugins/styles.css @@ -84,7 +84,7 @@ } .vc-plugins-info-icon:not(:hover, :focus) { - color: var(--text-muted); + color: var(--text-subtle); } .vc-plugins-restart-button { @@ -298,4 +298,4 @@ .vc-plugins-ui-elements { margin-top: 16px; -} \ No newline at end of file +} diff --git a/src/components/settings/tabs/styles.css b/src/components/settings/tabs/styles.css index 24c8a22d4..8708994d9 100644 --- a/src/components/settings/tabs/styles.css +++ b/src/components/settings/tabs/styles.css @@ -61,7 +61,7 @@ } .vc-settings-theme-links::placeholder { - color: var(--text-muted) !important; + color: var(--text-subtle) !important; } .vc-settings-theme-links:focus { @@ -85,4 +85,4 @@ .vc-settings-modal-close { float: right; -} \ No newline at end of file +} diff --git a/src/components/settings/tabs/updater/Components.tsx b/src/components/settings/tabs/updater/Components.tsx index fc6f80422..81949940e 100644 --- a/src/components/settings/tabs/updater/Components.tsx +++ b/src/components/settings/tabs/updater/Components.tsx @@ -49,7 +49,7 @@ export function Changes({ updates, repo, repoPending }: CommonProps & { updates: {message} - + — {author} diff --git a/src/components/settings/tabs/updater/index.tsx b/src/components/settings/tabs/updater/index.tsx index a4abf5c9c..c964ba4ee 100644 --- a/src/components/settings/tabs/updater/index.tsx +++ b/src/components/settings/tabs/updater/index.tsx @@ -81,7 +81,7 @@ function Updater() { This is the GitHub repository where Equicord fetches updates from. - + {repoPending ? repo : err diff --git a/src/components/settings/tabs/vencord/index.tsx b/src/components/settings/tabs/vencord/index.tsx index 65b54619f..792104d4e 100644 --- a/src/components/settings/tabs/vencord/index.tsx +++ b/src/components/settings/tabs/vencord/index.tsx @@ -99,11 +99,13 @@ function EquicordSettings() { !IS_WEB && { key: "transparent", title: "Enable Window Transparency", - description: "Make the Discord window transparent. A theme that supports transparency is required or this will do nothing. Stops the window from being resizable as a side effect.", + description: "Make the Discord window transparent. A theme that supports transparency is required or this will do nothing.", restartRequired: true, warning: { - enabled: IS_WINDOWS, - message: "This will prevent you from snapping the window to screen edges.", + enabled: true, + message: IS_WINDOWS + ? "This will stop the window from being resizable and prevents you from snapping the window to screen edges." + : "This will stop the window from being resizable.", }, }, IS_DISCORD_DESKTOP && {