Skip to content

Commit 7a77e55

Browse files
authored
fix: match term color (#3694)
1 parent b412cc1 commit 7a77e55

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

site/src/pages/TerminalPage/TerminalPage.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { useMachine } from "@xstate/react"
33
import { FC, useEffect, useRef, useState } from "react"
44
import { Helmet } from "react-helmet-async"
55
import { useLocation, useNavigate, useParams } from "react-router-dom"
6+
import { colors } from "theme/colors"
67
import { v4 as uuidv4 } from "uuid"
78
import * as XTerm from "xterm"
89
import { FitAddon } from "xterm-addon-fit"
@@ -75,9 +76,7 @@ const TerminalPage: FC<
7576
fontFamily: MONOSPACE_FONT_FAMILY,
7677
fontSize: 16,
7778
theme: {
78-
// This is a slight off-black.
79-
// It's really easy on the eyes!
80-
background: "#1F1F1F",
79+
background: colors.gray[16],
8180
},
8281
rendererType: renderer,
8382
})

0 commit comments

Comments
 (0)