text-danger was removed
This commit is contained in:
parent
a296025551
commit
448ea1110d
18 changed files with 23 additions and 23 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -31,5 +31,5 @@
|
|||
}
|
||||
|
||||
.vc-plugins-setting-error {
|
||||
color: var(--text-danger);
|
||||
color: var(--text-feedback-critical);
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@
|
|||
}
|
||||
|
||||
.vc-github-repos-error {
|
||||
color: var(--text-danger);
|
||||
color: var(--text-feedback-critical);
|
||||
}
|
||||
|
||||
.vc-github-repos-link {
|
||||
|
|
|
|||
|
|
@ -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>);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@
|
|||
}
|
||||
|
||||
.vc-customRPC-settings-error {
|
||||
color: var(--text-danger);
|
||||
color: var(--text-feedback-critical);
|
||||
}
|
||||
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -50,5 +50,5 @@
|
|||
}
|
||||
|
||||
.vc-vmsg-error {
|
||||
color: var(--text-danger);
|
||||
}
|
||||
color: var(--text-feedback-critical);
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue