Godot 4.7 project for authoring, previewing, validating, and building Exchanger PCK themes. Includes the example and space-pixel themes, binding contracts, editor tooling, validation/build scripts, and project documentation.
271 lines
11 KiB
Plaintext
271 lines
11 KiB
Plaintext
[gd_scene load_steps=8 format=3]
|
|
|
|
[ext_resource type="Script" path="res://tools/preview/ThemeGallery.gd" id="1_gallery"]
|
|
[ext_resource type="Script" path="res://tools/preview/BindingOverlay.gd" id="2_overlay"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_top_bar"]
|
|
bg_color = Color(0.00392157, 0.027451, 0.0745098, 0.98)
|
|
border_width_bottom = 1
|
|
border_color = Color(0.164706, 0.364706, 0.65098, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nav_normal"]
|
|
bg_color = Color(0.00392157, 0.027451, 0.0745098, 0.98)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nav_hover"]
|
|
bg_color = Color(0.0352941, 0.137255, 0.294118, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nav_pressed"]
|
|
bg_color = Color(0.458824, 0.823529, 0.364706, 1)
|
|
|
|
[sub_resource type="ButtonGroup" id="ButtonGroup_pages"]
|
|
|
|
[node name="ThemeGallery" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_gallery")
|
|
|
|
[node name="Screens" type="TabContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = 28.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
tabs_visible = false
|
|
use_hidden_tabs_for_min_size = true
|
|
|
|
[node name="BindingOverlay" type="Control" parent="."]
|
|
z_index = 100
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("2_overlay")
|
|
|
|
[node name="TopBar" type="PanelContainer" parent="."]
|
|
z_index = 101
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_bottom = 28.0
|
|
grow_horizontal = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_top_bar")
|
|
|
|
[node name="KeyboardPreviewToggle" type="Button" parent="."]
|
|
visible = false
|
|
z_index = 102
|
|
layout_mode = 0
|
|
offset_left = 4.0
|
|
offset_top = 32.0
|
|
offset_right = 174.0
|
|
offset_bottom = 60.0
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
text = "KEYBOARD: OFF"
|
|
|
|
[node name="ServicePreviewToggle" type="Button" parent="."]
|
|
visible = false
|
|
z_index = 102
|
|
layout_mode = 0
|
|
offset_left = 4.0
|
|
offset_top = 64.0
|
|
offset_right = 194.0
|
|
offset_bottom = 92.0
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
text = "INVENTORY: OFF"
|
|
|
|
[node name="Navigation" type="HBoxContainer" parent="TopBar"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 1
|
|
|
|
[node name="OverlayToggle" type="Button" parent="TopBar/Navigation"]
|
|
custom_minimum_size = Vector2(0, 27)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 1.65
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
text = "BINDINGS: ON"
|
|
toggle_mode = true
|
|
|
|
[node name="Home" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 0
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "HOME"
|
|
|
|
[node name="Cash" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 1
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "CASH"
|
|
|
|
[node name="Sum" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 2
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "SUM"
|
|
|
|
[node name="Keypad" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 3
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "KEYPAD"
|
|
|
|
[node name="Card" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 4
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "CARD"
|
|
|
|
[node name="Success" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 5
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "SUCCESS"
|
|
|
|
[node name="Error" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 6
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "ERROR"
|
|
|
|
[node name="Service" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 7
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "SERVICE"
|
|
|
|
[node name="Settings" type="Button" parent="TopBar/Navigation"]
|
|
metadata/preview_tab_index = 8
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
toggle_mode = true
|
|
button_group = SubResource("ButtonGroup_pages")
|
|
text = "SETTINGS"
|
|
|
|
[node name="PetPreview" type="Button" parent="TopBar/Navigation"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.92, 0.96, 1, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_pressed_color = Color(0.00392157, 0.0470588, 0.145098, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_nav_normal")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_nav_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_nav_pressed")
|
|
text = "PET"
|