Merge branch 'dev2' into immediate-finds-modules-proxy

This commit is contained in:
Nuckyz 2024-08-17 01:32:40 -03:00
commit 6cc2f53501
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
2 changed files with 16 additions and 4 deletions

View file

@ -25,10 +25,9 @@ import { openPluginModal } from "@components/PluginSettings/PluginModal";
import type { UserThemeHeader } from "@main/themes";
import { openInviteModal } from "@utils/discord";
import { Margins } from "@utils/margins";
import { classes } from "@utils/misc";
import { showItemInFolder } from "@utils/native";
import { useAwaiter } from "@utils/react";
import { findByProps, findComponentByFields } from "@webpack";
import { findComponentByFields } from "@webpack";
import { Card, Forms, React, showToast, TabBar, TextArea, useEffect, useRef, useState } from "@webpack/common";
import type { Ref, SyntheticEvent } from "react";
@ -46,7 +45,6 @@ type FileInputProps = {
};
const FileInput = findComponentByFields<FileInputProps>("activateUploadDialogue", "setRef");
const TextAreaProps = findByProps("textarea");
const cl = classNameFactory("vc-settings-theme-");
@ -305,7 +303,7 @@ function ThemesTab() {
<TextArea
value={themeText}
onChange={setThemeText}
className={classes(TextAreaProps.textarea, "vc-settings-theme-links")}
className={"vc-settings-theme-links"}
placeholder="Theme Links"
spellCheck={false}
onBlur={onBlur}

View file

@ -33,6 +33,20 @@
padding: 0.5em;
border: 1px solid var(--background-modifier-accent);
max-height: unset;
background-color: transparent;
box-sizing: border-box;
font-size: 12px;
line-height: 14px;
resize: none;
width: 100%;
}
.vc-settings-theme-links::placeholder {
color: var(--header-secondary);
}
.vc-settings-theme-links:focus {
background-color: var(--background-tertiary);
}
.vc-cloud-settings-sync-grid {