feat(theme): update themes

This commit is contained in:
Leroy Hopson 2024-04-07 09:35:14 +12:00
parent 886e6e82ac
commit fa49834347
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
22 changed files with 157 additions and 195 deletions

View file

@ -2,8 +2,6 @@
[ext_resource type="Script" path="res://test/scenes/theme.gd" id="1"]
[node name="Terminal" type="Terminal"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Terminal2" type="Terminal"]
custom_minimum_size = Vector2(200, 100)
script = ExtResource("1")

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -94,3 +94,13 @@ class TestVisualRegression:
subject.write("fg green, 50% transparency")
await wait_frames(30)
assert_match("transparency")
func test_emoji():
subject.add_theme_font_override("normal_font", preload("res://themes/fonts/regular.tres"))
subject.write("👇😑😩👿👅🥺🙄😧😫😢\r\n")
subject.write("👾😠🥳😭👅😫🤩🙃👽😫\r\n")
subject.write("😟🤏😛🤖🤗👻😳👐😤👀\r\n")
subject.write("😆🤳🤫😊😜😻😏👿🥶👻\r\n")
subject.write("👈🤮👉💩👃😍🤥😤🙏🤟")
await wait_frames(30)
assert_match("emoji")