Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: match term color
  • Loading branch information
f0ssel committed Aug 25, 2022
commit 361f2d6e0a2a30d5c7770fa95e452162938f02fc
5 changes: 2 additions & 3 deletions site/src/pages/TerminalPage/TerminalPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import "xterm/css/xterm.css"
import { MONOSPACE_FONT_FAMILY } from "../../theme/constants"
import { pageTitle } from "../../util/page"
import { terminalMachine } from "../../xServices/terminal/terminalXService"
import { colors } from "theme/colors"

export const Language = {
workspaceErrorMessagePrefix: "Unable to fetch workspace: ",
Expand Down Expand Up @@ -75,9 +76,7 @@ const TerminalPage: FC<
fontFamily: MONOSPACE_FONT_FAMILY,
fontSize: 16,
theme: {
// This is a slight off-black.
// It's really easy on the eyes!
background: "#1F1F1F",
background: colors.gray[16],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine but palette.background.default is gray[15] so it might work as well. If the darker one looks better though, no problem.

},
rendererType: renderer,
})
Expand Down