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',