diff --git a/src/components/Button.css b/src/components/Button.css index b60123bb8..debf21e8a 100644 --- a/src/components/Button.css +++ b/src/components/Button.css @@ -191,7 +191,7 @@ } .vc-text-btn-danger { - color: var(--text-feedback-critical, var(--text-danger)); + color: var(--text-feedback-critical, var(--text-feedback-critical)); } .vc-text-btn-link { diff --git a/src/components/ThemeSettings/ThemesTab.tsx b/src/components/ThemeSettings/ThemesTab.tsx index 57315dfb4..b662a4e46 100644 --- a/src/components/ThemeSettings/ThemesTab.tsx +++ b/src/components/ThemeSettings/ThemesTab.tsx @@ -82,7 +82,7 @@ function Validator({ link, onValidate }: { link: string; onValidate: (valid: boo : "Valid!"; return {text}; } diff --git a/src/components/settings/tabs/patchHelper/FullPatchInput.tsx b/src/components/settings/tabs/patchHelper/FullPatchInput.tsx index 370ccf799..7599b9faf 100644 --- a/src/components/settings/tabs/patchHelper/FullPatchInput.tsx +++ b/src/components/settings/tabs/patchHelper/FullPatchInput.tsx @@ -78,7 +78,7 @@ export function FullPatchInput({ setFind, setParsedFind, setMatch, setReplacemen onChange={setPatch} onBlur={update} /> - {error !== "" && {error}} + {error !== "" && {error}} ); } diff --git a/src/components/settings/tabs/patchHelper/PatchPreview.tsx b/src/components/settings/tabs/patchHelper/PatchPreview.tsx index 69f4a44a0..00f7f0597 100644 --- a/src/components/settings/tabs/patchHelper/PatchPreview.tsx +++ b/src/components/settings/tabs/patchHelper/PatchPreview.tsx @@ -142,7 +142,7 @@ export function PatchPreview({ module, match, replacement, setReplacementError } )} {compileResult && ( - + {compileResult[1]} )} diff --git a/src/components/settings/tabs/plugins/components/styles.css b/src/components/settings/tabs/plugins/components/styles.css index 100c1d4c6..c1d55b0a8 100644 --- a/src/components/settings/tabs/plugins/components/styles.css +++ b/src/components/settings/tabs/plugins/components/styles.css @@ -31,5 +31,5 @@ } .vc-plugins-setting-error { - color: var(--text-danger); + color: var(--text-feedback-critical); } \ 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 951e82655..05db9d626 100644 --- a/src/components/settings/tabs/plugins/styles.css +++ b/src/components/settings/tabs/plugins/styles.css @@ -159,7 +159,7 @@ } .text-danger { - color: var(--text-danger) !important; + color: var(--text-feedback-critical) !important; font-size: 1.2rem; font-weight: bold; } @@ -224,7 +224,7 @@ /* Specific to disable all modal */ .warning-text { - color: var(--text-danger) !important; + color: var(--text-feedback-critical) !important; font-size: 1.2rem !important; } diff --git a/src/equicordplugins/channelTabs/components/KeybindSettings.tsx b/src/equicordplugins/channelTabs/components/KeybindSettings.tsx index ccb53ade5..4331adfcd 100644 --- a/src/equicordplugins/channelTabs/components/KeybindSettings.tsx +++ b/src/equicordplugins/channelTabs/components/KeybindSettings.tsx @@ -120,7 +120,7 @@ function KeybindInput({ label, description, settingKey, enabledKey }: KeybindInp {description} {!isEnabled && ( - + This shortcut is currently disabled )} diff --git a/src/equicordplugins/channelTabs/style.css b/src/equicordplugins/channelTabs/style.css index 9d3be766d..02fde82df 100644 --- a/src/equicordplugins/channelTabs/style.css +++ b/src/equicordplugins/channelTabs/style.css @@ -1171,7 +1171,7 @@ } .channelTabs-keybind-conflict { - color: var(--text-danger); + color: var(--text-feedback-critical); font-size: 12px; font-weight: 500; margin-top: 2px; diff --git a/src/equicordplugins/commandPalette/style.css b/src/equicordplugins/commandPalette/style.css index d71c30a2f..f69647887 100644 --- a/src/equicordplugins/commandPalette/style.css +++ b/src/equicordplugins/commandPalette/style.css @@ -769,7 +769,7 @@ } .vc-cp-keybind-conflict { - color: var(--text-danger); + color: var(--text-feedback-critical); font-size: 12px; font-weight: 500; margin-top: 2px; diff --git a/src/equicordplugins/discordDevBanner/styles.css b/src/equicordplugins/discordDevBanner/styles.css index 2c89b08b6..1f0eb4b66 100644 --- a/src/equicordplugins/discordDevBanner/styles.css +++ b/src/equicordplugins/discordDevBanner/styles.css @@ -5,7 +5,7 @@ .vc-discord-dev-banner-error { margin-top: 8px; - color: var(--text-danger); + color: var(--text-feedback-critical); } .vc-discord-dev-banner-icons { @@ -27,4 +27,4 @@ border-radius: 12px; outline: none; margin-top: 12px; -} +} \ No newline at end of file diff --git a/src/equicordplugins/gifCollections/style.css b/src/equicordplugins/gifCollections/style.css index 5dcd8cbbe..813535744 100644 --- a/src/equicordplugins/gifCollections/style.css +++ b/src/equicordplugins/gifCollections/style.css @@ -148,13 +148,13 @@ } .input-warning { - outline: 1px solid var(--text-danger); + outline: 1px solid var(--text-feedback-critical); } .warning-text { margin-top: 16px; font-size: 14px; - color: var(--text-danger); + color: var(--text-feedback-critical); } .collection-buttons { diff --git a/src/equicordplugins/githubRepos/index.tsx b/src/equicordplugins/githubRepos/index.tsx index aad63fd03..c528b97f3 100644 --- a/src/equicordplugins/githubRepos/index.tsx +++ b/src/equicordplugins/githubRepos/index.tsx @@ -53,7 +53,7 @@ const ProfilePopoutComponent = ErrorBoundary.wrap( }, { noop: true, - fallback: () => + fallback: () => Error, Failed to render GithubRepos } diff --git a/src/equicordplugins/githubRepos/styles.css b/src/equicordplugins/githubRepos/styles.css index dfa286105..214dab195 100644 --- a/src/equicordplugins/githubRepos/styles.css +++ b/src/equicordplugins/githubRepos/styles.css @@ -216,7 +216,7 @@ } .vc-github-repos-error { - color: var(--text-danger); + color: var(--text-feedback-critical); } .vc-github-repos-link { diff --git a/src/equicordplugins/iconViewer/saveModal.tsx b/src/equicordplugins/iconViewer/saveModal.tsx index 6c038ffd4..24064e3de 100644 --- a/src/equicordplugins/iconViewer/saveModal.tsx +++ b/src/equicordplugins/iconViewer/saveModal.tsx @@ -69,7 +69,7 @@ export function SelectComponent({ option, onChange, onError, className }: IDivEl isSelected={v => v === state} serialize={v => String(v)} /> - {error && {error}} + {error && {error}} ); } diff --git a/src/equicordplugins/soundBoardLogger/settings.tsx b/src/equicordplugins/soundBoardLogger/settings.tsx index 75d211c5d..7fbcff37a 100644 --- a/src/equicordplugins/soundBoardLogger/settings.tsx +++ b/src/equicordplugins/soundBoardLogger/settings.tsx @@ -57,8 +57,8 @@ const settings = definePluginSettings({ onChange={handleChange} placeholder={"Enter a number"} /> - {shouldShowWarning && Warning! Setting the number to a lower value will reset the log!} - {errorMessage && {errorMessage}} + {shouldShowWarning && Warning! Setting the number to a lower value will reset the log!} + {errorMessage && {errorMessage}} ); } diff --git a/src/plugins/customRPC/settings.css b/src/plugins/customRPC/settings.css index 766009eae..0fe9ae66f 100644 --- a/src/plugins/customRPC/settings.css +++ b/src/plugins/customRPC/settings.css @@ -27,5 +27,5 @@ } .vc-customRPC-settings-error { - color: var(--text-danger); + color: var(--text-feedback-critical); } \ No newline at end of file diff --git a/src/plugins/textReplace/index.tsx b/src/plugins/textReplace/index.tsx index 341489739..e22bcf1c8 100644 --- a/src/plugins/textReplace/index.tsx +++ b/src/plugins/textReplace/index.tsx @@ -95,7 +95,7 @@ function renderFindError(find: string) { return null; } catch (e) { return ( - + {String(e)} ); diff --git a/src/plugins/voiceMessages/styles.css b/src/plugins/voiceMessages/styles.css index cb8a7a233..9e42350e1 100644 --- a/src/plugins/voiceMessages/styles.css +++ b/src/plugins/voiceMessages/styles.css @@ -50,5 +50,5 @@ } .vc-vmsg-error { - color: var(--text-danger); -} + color: var(--text-feedback-critical); +} \ No newline at end of file