Fix theme stuff
This commit is contained in:
parent
0260efc966
commit
35f24e7f22
1 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue