mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +00:00
Add darkmode
This commit is contained in:
parent
18ee1a14ae
commit
bc13cced34
10 changed files with 898 additions and 58 deletions
|
|
@ -4,7 +4,7 @@ import * as BS from 'react-bootstrap'
|
|||
import { useForm } from "react-hook-form";
|
||||
import * as fetch from 'node-fetch';
|
||||
|
||||
import './App.css';
|
||||
import './App.scss';
|
||||
import 'bootstrap/dist/css/bootstrap.min.css';
|
||||
import { FaLock } from "react-icons/fa";
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ export default function App() {
|
|||
setIsLoading(false);
|
||||
})
|
||||
};
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<Router history={history}>
|
||||
|
|
@ -79,12 +79,12 @@ export default function App() {
|
|||
{ isSubmit && !localStorage.getItem('user') ? <BS.Alert variant="danger">Something went wrong, please try again.</BS.Alert> : ""}
|
||||
{ isInvalid ? <BS.Alert variant="danger">Invalid token.</BS.Alert> : "" }
|
||||
<BS.Form.Row>
|
||||
<BS.Col xs={12} md={10}>
|
||||
<BS.Col xs={12} lg={10}>
|
||||
<BS.Form.Label>Enter your token here. You can get your token by using <b>"pk;token"</b>.</BS.Form.Label>
|
||||
</BS.Col>
|
||||
</BS.Form.Row>
|
||||
<BS.Form.Row>
|
||||
<BS.Col xs={12} md={10}>
|
||||
<BS.Col xs={12} lg={10}>
|
||||
<BS.Form.Control required name="pkToken" type="text" ref={register} placeholder="token" />
|
||||
</BS.Col>
|
||||
<BS.Col>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue