Theming
The Terminal node uses standard Godot Control node theming. You can customize the Terminal’s appearance using theme overrides or by defining custom types in a custom Theme file. The theme properties for the Terminal type are documented below.
Font
Theme Item Name |
Type |
Default Value |
|---|---|---|
|
Font |
JetBrains Mono |
|
Font |
None - defaults to Regular |
|
Font |
None - defaults to Regular |
|
Font |
None - defaults to Regular |
|
int |
16 |
JetBrains Mono is the default font. This is the same default font as the Godot code editor (since version 4). It is not included with the default theme, so we bundle it separately.
Note
Only the regular version of the font is included. The bold, italic, and bold italic variants are not. If you want these, you’ll need to include them in a custom theme.
Warning
This font has support for ligatures (see: Ligatures for Code). While the engine supports this feature, GodotXterm currently does not, and there are no immediate plans to support it.
Colors
The default background color is fully transparent (#00000000), and the default foreground color is light gray (#DFDFDF).
Note
The default background color of Control nodes is intentionally translucent. See the discussion on the Godot GitHub repo about this.
The default ANSI colors are the same as the xterm defaults. The FG and BG columns show the ANSI escape codes for foreground and background colors respectively. For example, \u001b[31m sets the foreground to red, while \u001b[41m sets the background to red.
Theme Item Name |
FG |
BG |
Name |
Hex Code |
Color |
|---|---|---|---|---|---|
|
30 |
40 |
Black |
|
██ |
|
31 |
41 |
Red |
|
██ |
|
32 |
42 |
Green |
|
██ |
|
33 |
43 |
Yellow |
|
██ |
|
34 |
44 |
Blue |
|
██ |
|
35 |
45 |
Magenta |
|
██ |
|
36 |
46 |
Cyan |
|
██ |
|
37 |
47 |
White |
|
██ |
|
90 |
100 |
Bright Black |
|
██ |
|
91 |
101 |
Bright Red |
|
██ |
|
92 |
102 |
Bright Green |
|
██ |
|
93 |
103 |
Bright Yellow |
|
██ |
|
94 |
104 |
Bright Blue |
|
██ |
|
95 |
105 |
Bright Magenta |
|
██ |
|
96 |
106 |
Bright Cyan |
|
██ |
|
97 |
107 |
Bright White |
|
██ |