From 35f24e7f226fc7640c2aa6e41ed88dc1d7b6dfa6 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 17 Oct 2020 13:54:34 -0700 Subject: [PATCH] Fix theme stuff --- resources/scripts/components/server/Console.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/scripts/components/server/Console.tsx b/resources/scripts/components/server/Console.tsx index f7ab5d4f9..e978f7998 100644 --- a/resources/scripts/components/server/Console.tsx +++ b/resources/scripts/components/server/Console.tsx @@ -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',