Skip to content

Commit 35f24e7

Browse files
committed
Fix theme stuff
1 parent 0260efc commit 35f24e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/scripts/components/server/Console.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
77
import { ServerContext } from '@/state/server';
88
import styled from 'styled-components/macro';
99
import { usePermissions } from '@/plugins/usePermissions';
10-
import tw, { theme } from 'twin.macro';
10+
import tw, { theme as th } from 'twin.macro';
1111
import 'xterm/css/xterm.css';
1212
import useEventListener from '@/plugins/useEventListener';
1313
import { debounce } from 'debounce';
1414

1515
const theme = {
16-
background: theme`colors.black`,
16+
background: th`colors.black`.toString(),
1717
cursor: 'transparent',
18-
black: theme`colors.black`,
18+
black: th`colors.black`.toString(),
1919
red: '#E54B4B',
2020
green: '#9ECE58',
2121
yellow: '#FAED70',

0 commit comments

Comments
 (0)