We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0260efc commit 35f24e7Copy full SHA for 35f24e7
1 file changed
resources/scripts/components/server/Console.tsx
@@ -7,15 +7,15 @@ import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
7
import { ServerContext } from '@/state/server';
8
import styled from 'styled-components/macro';
9
import { usePermissions } from '@/plugins/usePermissions';
10
-import tw, { theme } from 'twin.macro';
+import tw, { theme as th } from 'twin.macro';
11
import 'xterm/css/xterm.css';
12
import useEventListener from '@/plugins/useEventListener';
13
import { debounce } from 'debounce';
14
15
const theme = {
16
- background: theme`colors.black`,
+ background: th`colors.black`.toString(),
17
cursor: 'transparent',
18
- black: theme`colors.black`,
+ black: th`colors.black`.toString(),
19
red: '#E54B4B',
20
green: '#9ECE58',
21
yellow: '#FAED70',
0 commit comments