diff options
| author | dam <dam@gudinoff> | 2022-06-17 23:53:52 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2022-06-17 23:53:52 +0000 |
| commit | bc7df6808b404f96dd8a0677a90b4dcfaf9eca47 (patch) | |
| tree | 9666debba4bb7a9a476f308a883444c5a8aa1021 /ui | |
| parent | 075aa00b2bdda61640c3e089a8d01c898506903a (diff) | |
| download | surgery-log-bc7df6808b404f96dd8a0677a90b4dcfaf9eca47.tar.zst surgery-log-bc7df6808b404f96dd8a0677a90b4dcfaf9eca47.zip | |
First iteration over the day/night themes.
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/date_picker/date_picker.tscn | 4 | ||||
| -rw-r--r-- | ui/modal_popup/modal_popup.gd | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ui/date_picker/date_picker.tscn b/ui/date_picker/date_picker.tscn index e3d88c4..0e2e64e 100644 --- a/ui/date_picker/date_picker.tscn +++ b/ui/date_picker/date_picker.tscn @@ -174,7 +174,7 @@ __meta__ = { anchor_top = 0.333 anchor_right = 1.0 anchor_bottom = 0.343 -color = Color( 1, 1, 1, 0.25 ) +color = Color( 0.501961, 0.501961, 0.501961, 0.501961 ) __meta__ = { "_edit_use_anchors_": false } @@ -183,7 +183,7 @@ __meta__ = { anchor_top = 0.666 anchor_right = 1.0 anchor_bottom = 0.676 -color = Color( 1, 1, 1, 0.25 ) +color = Color( 0.501961, 0.501961, 0.501961, 0.501961 ) __meta__ = { "_edit_use_anchors_": false } diff --git a/ui/modal_popup/modal_popup.gd b/ui/modal_popup/modal_popup.gd index 95fc2c3..857f90e 100644 --- a/ui/modal_popup/modal_popup.gd +++ b/ui/modal_popup/modal_popup.gd @@ -1,4 +1,4 @@ -extends Control +extends ColorRect class_name ModalPopup signal dismissed # () @@ -42,6 +42,8 @@ func open_popup(title: String, item: Control): if visible == true: return + self.color = get_color("background", "theme") + self.color.a = 0.85 self.title.text = title control = item |
