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 { ServerContext } from '@/state/server';
import styled from 'styled-components/macro'; import styled from 'styled-components/macro';
import { usePermissions } from '@/plugins/usePermissions'; 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 'xterm/css/xterm.css';
import useEventListener from '@/plugins/useEventListener'; import useEventListener from '@/plugins/useEventListener';
import { debounce } from 'debounce'; import { debounce } from 'debounce';
const theme = { const theme = {
background: theme`colors.black`, background: th`colors.black`.toString(),
cursor: 'transparent', cursor: 'transparent',
black: theme`colors.black`, black: th`colors.black`.toString(),
red: '#E54B4B', red: '#E54B4B',
green: '#9ECE58', green: '#9ECE58',
yellow: '#FAED70', yellow: '#FAED70',