Fix theme stuff

This commit is contained in:
Dane Everitt 2020-10-17 13:54:34 -07:00
parent 0260efc966
commit 35f24e7f22
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -7,15 +7,15 @@ import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
import { ServerContext } from '@/state/server';
import styled from 'styled-components/macro';
import { usePermissions } from '@/plugins/usePermissions';
import tw, { theme } from 'twin.macro';
import tw, { theme as th } from 'twin.macro';
import 'xterm/css/xterm.css';
import useEventListener from '@/plugins/useEventListener';
import { debounce } from 'debounce';
const theme = {
background: theme`colors.black`,
background: th`colors.black`.toString(),
cursor: 'transparent',
black: theme`colors.black`,
black: th`colors.black`.toString(),
red: '#E54B4B',
green: '#9ECE58',
yellow: '#FAED70',