mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 11:27:02 -04:00
feat(settings): new settings design (#261)
This commit is contained in:
parent
a85ec594a7
commit
6b55dee9fb
14 changed files with 369 additions and 162 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
import { debounce } from "../utils/debounce";
|
||||
import { makeCodeblock } from "../utils/misc";
|
||||
import { Button, Clipboard, Forms, Margins, Parser, React, Switch, TextInput } from "../webpack/common";
|
||||
import { Button, Clipboard, Forms, Margins, Parser, React, Switch, Text, TextInput } from "../webpack/common";
|
||||
import { search } from "../webpack/webpack";
|
||||
import { CheckedTextInput } from "./CheckedTextInput";
|
||||
import ErrorBoundary from "./ErrorBoundary";
|
||||
|
@ -243,7 +243,8 @@ function PatchHelper() {
|
|||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Forms.FormSection>
|
||||
<Text variant="heading-md/normal" tag="h2" className={Margins.marginBottom8}>Patch Helper</Text>
|
||||
<Forms.FormTitle>find</Forms.FormTitle>
|
||||
<TextInput
|
||||
type="text"
|
||||
|
@ -288,7 +289,7 @@ function PatchHelper() {
|
|||
<Button onClick={() => Clipboard.copy(code)}>Copy to Clipboard</Button>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
</Forms.FormSection>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue