Add more themes

This commit is contained in:
Leroy Hopson 2020-11-29 17:08:57 +07:00
parent 472f0f573b
commit 68db305141
No known key found for this signature in database
GPG key ID: 4D05A4F6CB4E7DEE
12 changed files with 6 additions and 5 deletions

View file

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added ### Added
- Theme colors now support transparency. - Theme colors now support transparency.
- More themes: base16_dark, base16_light, default_dark, default_light, soft_black, solarized, solarized_black, solarized_white.
### Changed ### Changed
- Set a default theme if no theme property has been set. - Set a default theme if no theme property has been set.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/godot_xterm/themes/default.theme" type="Theme" id=2] [ext_resource path="res://addons/godot_xterm/themes/default_dark.theme" type="Theme" id=1]
[ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=4] [ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=4]
[ext_resource path="res://examples/asciicast/example.cast" type="Animation" id=6] [ext_resource path="res://examples/asciicast/example.cast" type="Animation" id=6]
@ -8,7 +8,7 @@
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
focus_mode = 2 focus_mode = 2
theme = ExtResource( 2 ) theme = ExtResource( 1 )
script = ExtResource( 4 ) script = ExtResource( 4 )
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false

View file

@ -2,7 +2,7 @@
[ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=1] [ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=1]
[ext_resource path="res://examples/menu/menu.gd" type="Script" id=2] [ext_resource path="res://examples/menu/menu.gd" type="Script" id=2]
[ext_resource path="res://addons/godot_xterm/themes/default.theme" type="Theme" id=3] [ext_resource path="res://addons/godot_xterm/themes/default_dark.theme" type="Theme" id=3]
[node name="Menu" type="Control"] [node name="Menu" type="Control"]
anchor_right = 1.0 anchor_right = 1.0

View file

@ -2,13 +2,13 @@
[ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=1] [ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=1]
[ext_resource path="res://addons/godot_xterm/nodes/pseudoterminal/pseudoterminal.gdns" type="Script" id=2] [ext_resource path="res://addons/godot_xterm/nodes/pseudoterminal/pseudoterminal.gdns" type="Script" id=2]
[ext_resource path="res://addons/godot_xterm/themes/default.theme" type="Theme" id=4] [ext_resource path="res://addons/godot_xterm/themes/default_dark.theme" type="Theme" id=3]
[node name="Terminal" type="Control"] [node name="Terminal" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
focus_mode = 2 focus_mode = 2
theme = ExtResource( 4 ) theme = ExtResource( 3 )
script = ExtResource( 1 ) script = ExtResource( 1 )
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false