text-danger was removed

This commit is contained in:
thororen1234 2025-12-06 17:49:06 -05:00
parent a296025551
commit 448ea1110d
No known key found for this signature in database
18 changed files with 23 additions and 23 deletions

View file

@ -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 {

View file

@ -82,7 +82,7 @@ function Validator({ link, onValidate }: { link: string; onValidate: (valid: boo
: "Valid!";
return <Paragraph style={{
color: pending ? "var(--text-muted)" : err ? "var(--text-danger)" : "var(--status-positive)"
color: pending ? "var(--text-muted)" : err ? "var(--text-feedback-critical)" : "var(--status-positive)"
}}>{text}</Paragraph>;
}

View file

@ -78,7 +78,7 @@ export function FullPatchInput({ setFind, setParsedFind, setMatch, setReplacemen
onChange={setPatch}
onBlur={update}
/>
{error !== "" && <Paragraph style={{ color: "var(--text-danger)" }}>{error}</Paragraph>}
{error !== "" && <Paragraph style={{ color: "var(--text-feedback-critical)" }}>{error}</Paragraph>}
</>
);
}

View file

@ -142,7 +142,7 @@ export function PatchPreview({ module, match, replacement, setReplacementError }
)}
{compileResult && (
<Paragraph style={{ color: compileResult[0] ? "var(--status-positive)" : "var(--text-danger)" }}>
<Paragraph style={{ color: compileResult[0] ? "var(--status-positive)" : "var(--text-feedback-critical)" }}>
{compileResult[1]}
</Paragraph>
)}

View file

@ -31,5 +31,5 @@
}
.vc-plugins-setting-error {
color: var(--text-danger);
color: var(--text-feedback-critical);
}

View file

@ -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;
}

View file

@ -120,7 +120,7 @@ function KeybindInput({ label, description, settingKey, enabledKey }: KeybindInp
{description}
</Text>
{!isEnabled && (
<Text variant="text-xs/normal" style={{ color: "var(--text-danger)" }}>
<Text variant="text-xs/normal" style={{ color: "var(--text-feedback-critical)" }}>
This shortcut is currently disabled
</Text>
)}

View file

@ -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;

View file

@ -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;

View file

@ -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;
}
}

View file

@ -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 {

View file

@ -53,7 +53,7 @@ const ProfilePopoutComponent = ErrorBoundary.wrap(
},
{
noop: true,
fallback: () => <BaseText size="xs" weight="semibold" className="vc-github-repos-error" style={{ color: "var(--text-danger)" }}>
fallback: () => <BaseText size="xs" weight="semibold" className="vc-github-repos-error" style={{ color: "var(--text-feedback-critical)" }}>
Error, Failed to render GithubRepos
</BaseText>
}

View file

@ -216,7 +216,7 @@
}
.vc-github-repos-error {
color: var(--text-danger);
color: var(--text-feedback-critical);
}
.vc-github-repos-link {

View file

@ -69,7 +69,7 @@ export function SelectComponent({ option, onChange, onError, className }: IDivEl
isSelected={v => v === state}
serialize={v => String(v)}
/>
{error && <Paragraph style={{ color: "var(--text-danger)" }}>{error}</Paragraph>}
{error && <Paragraph style={{ color: "var(--text-feedback-critical)" }}>{error}</Paragraph>}
</div>);
}

View file

@ -57,8 +57,8 @@ const settings = definePluginSettings({
onChange={handleChange}
placeholder={"Enter a number"}
/>
{shouldShowWarning && <Paragraph style={{ color: "var(--text-danger)" }}>Warning! Setting the number to a lower value will reset the log!</Paragraph>}
{errorMessage && <Paragraph style={{ color: "var(--text-danger)" }}>{errorMessage}</Paragraph>}
{shouldShowWarning && <Paragraph style={{ color: "var(--text-feedback-critical)" }}>Warning! Setting the number to a lower value will reset the log!</Paragraph>}
{errorMessage && <Paragraph style={{ color: "var(--text-feedback-critical)" }}>{errorMessage}</Paragraph>}
</section>
);
}

View file

@ -27,5 +27,5 @@
}
.vc-customRPC-settings-error {
color: var(--text-danger);
color: var(--text-feedback-critical);
}

View file

@ -95,7 +95,7 @@ function renderFindError(find: string) {
return null;
} catch (e) {
return (
<span style={{ color: "var(--text-danger)" }}>
<span style={{ color: "var(--text-feedback-critical)" }}>
{String(e)}
</span>
);

View file

@ -50,5 +50,5 @@
}
.vc-vmsg-error {
color: var(--text-danger);
}
color: var(--text-feedback-critical);
}