Refine dark editor and launcher interface
Native and manual checks / native (ubuntu-24.04) (push) Failing after 52s
Native and manual checks / manual (push) Successful in 34s
Windows editor and software Vulkan / windows-graphics (push) Canceled after 0s
Native and manual checks / native (windows-2025) (push) Canceled after 0s

This commit is contained in:
Emil
2026-09-23 21:42:48 +03:00
parent 4cc58d8c59
commit e2c887dc1f
15 changed files with 494 additions and 175 deletions
+10 -10
View File
@@ -1,14 +1,14 @@
{
"background": [0.073, 0.078, 0.090, 1],
"surface": [0.102, 0.108, 0.122, 1],
"raised": [0.145, 0.151, 0.169, 1],
"hover": [0.19, 0.197, 0.219, 1],
"border": [0.24, 0.25, 0.278, 1],
"text": [0.88, 0.889, 0.91, 1],
"muted": [0.59, 0.61, 0.65, 1],
"accent": [0.65, 0.60, 0.88, 1],
"selection": [0.26, 0.245, 0.35, 1],
"danger": [0.92, 0.39, 0.38, 1],
"background": [0.078, 0.078, 0.078, 1],
"surface": [0.110, 0.110, 0.114, 1],
"raised": [0.153, 0.153, 0.161, 1],
"hover": [0.196, 0.196, 0.204, 1],
"border": [0.227, 0.227, 0.239, 1],
"text": [0.878, 0.878, 0.886, 1],
"muted": [0.604, 0.604, 0.624, 1],
"accent": [0.659, 0.627, 0.761, 1],
"selection": [0.220, 0.212, 0.251, 1],
"danger": [0.835, 0.431, 0.420, 1],
"font_size": 14,
"row_height": 28,
"padding": 8,
+6 -6
View File
@@ -2,18 +2,18 @@
"root": {
"id": "root", "kind": "column", "layout": {"gap": 1},
"children": [
{"id": "menubar", "kind": "panel", "layout": {"height": 34, "padding": 3}},
{"id": "toolbar", "kind": "panel", "layout": {"height": 40, "padding": 5}},
{"id": "menubar", "kind": "panel", "layout": {"height": 36, "padding": 3}},
{"id": "toolbar", "kind": "panel", "layout": {"height": 44, "padding": 7}},
{"id": "workspace", "kind": "row", "layout": {"flex": 1, "gap": 1}, "children": [
{"id": "scene_panel", "kind": "panel", "layout": {"width": 224, "min_width": 150, "gap": 0}},
{"id": "scene_panel", "kind": "panel", "layout": {"width": 238, "min_width": 150, "gap": 0}},
{"id": "left_divider", "kind": "divider", "layout": {"width": 5}},
{"id": "viewport", "kind": "viewport", "layout": {"flex": 1, "min_width": 180}},
{"id": "right_divider", "kind": "divider", "layout": {"width": 5}},
{"id": "inspector_panel", "kind": "panel", "layout": {"width": 300, "min_width": 210, "gap": 0}}
{"id": "inspector_panel", "kind": "panel", "layout": {"width": 312, "min_width": 210, "gap": 0}}
]},
{"id": "bottom_divider", "kind": "divider", "layout": {"height": 5}},
{"id": "bottom_panel", "kind": "panel", "layout": {"height": 184, "min_height": 90, "gap": 0}},
{"id": "statusbar", "kind": "panel", "layout": {"height": 26, "padding": 0}}
{"id": "bottom_panel", "kind": "panel", "layout": {"height": 190, "min_height": 90, "gap": 0}},
{"id": "statusbar", "kind": "panel", "layout": {"height": 25, "padding": 0}}
]
}
}
+45 -25
View File
@@ -5,34 +5,54 @@
"children": [{
"id": "launcher-body", "kind": "row", "layout": {"flex": 1, "gap": 0},
"children": [
{"id": "launcher-sidebar", "kind": "panel", "layout": {"width": 235, "padding": 16, "gap": 8}, "children": [
{"id": "launcher-wordmark", "kind": "label", "text": "Faset", "font_size": 26, "layout": {"height": 66}},
{"id": "launcher-open", "kind": "tree_row", "text": "Open project", "layout": {"height": 40}},
{"id": "launcher-create", "kind": "tree_row", "text": "Create project", "layout": {"height": 40}},
{"id": "launcher-recent-title", "kind": "label", "text": "Recent projects", "layout": {"height": 54}},
{"id": "launcher-recents", "kind": "column", "layout": {"flex": 1, "scroll": true, "gap": 6}}
{"id": "launcher-sidebar", "kind": "panel", "layout": {"width": 235, "padding": 18, "gap": 0}, "children": [
{"id": "launcher-wordmark", "kind": "label", "text": "Faset", "font_size": 24, "layout": {"height": 70}},
{"id": "launcher-nav", "kind": "column", "layout": {"gap": 4}, "children": [
{"id": "launcher-open", "kind": "tree_row", "text": "Open project", "layout": {"height": 38}},
{"id": "launcher-create", "kind": "tree_row", "text": "Create project", "layout": {"height": 38}}
]},
{"id": "launcher-sidebar-space", "kind": "row", "layout": {"height": 22}},
{"id": "launcher-recent-rule", "kind": "row", "layout": {"height": 1}},
{"id": "launcher-recent-title", "kind": "label", "text": "Recent projects", "font_size": 13, "layout": {"height": 48}},
{"id": "launcher-recents", "kind": "column", "layout": {"flex": 1, "scroll": true, "gap": 4}}
]},
{"id": "launcher-main", "kind": "column", "layout": {"flex": 1, "padding": 32, "gap": 12, "scroll": true}, "children": [
{"id": "launcher-main", "kind": "column", "layout": {"flex": 1, "padding": 36, "gap": 0, "scroll": true}, "children": [
{"id": "launcher-heading", "kind": "label", "text": "Open project", "font_size": 26, "layout": {"height": 64}},
{"id": "launcher-name-label", "kind": "label", "text": "Project name"},
{"id": "launcher-name", "kind": "text_field", "text": "My Game", "layout": {"height": 40}},
{"id": "launcher-path-label", "kind": "label", "text": "Project directory"},
{"id": "launcher-path-row", "kind": "row", "layout": {"height": 40, "gap": 8}, "children": [
{"id": "launcher-path", "kind": "text_field", "layout": {"flex": 1}},
{"id": "launcher-browse", "kind": "button", "text": "Browse", "layout": {"width": 84}}
{"id": "launcher-heading-rule", "kind": "row", "layout": {"height": 1}},
{"id": "launcher-form", "kind": "column", "layout": {"width": 720, "gap": 0}, "children": [
{"id": "launcher-form-top", "kind": "row", "layout": {"height": 24}},
{"id": "launcher-name-group", "kind": "column", "layout": {"gap": 6}, "children": [
{"id": "launcher-name-label", "kind": "label", "text": "Project name", "layout": {"height": 24}},
{"id": "launcher-name", "kind": "text_field", "text": "My Game", "layout": {"height": 42}}
]},
{"id": "launcher-name-space", "kind": "row", "layout": {"height": 20}},
{"id": "launcher-path-group", "kind": "column", "layout": {"gap": 6}, "children": [
{"id": "launcher-path-label", "kind": "label", "text": "Project directory", "layout": {"height": 24}},
{"id": "launcher-path-row", "kind": "row", "layout": {"height": 42, "gap": 8}, "children": [
{"id": "launcher-path", "kind": "text_field", "layout": {"flex": 1}},
{"id": "launcher-browse", "kind": "button", "text": "Browse", "layout": {"width": 88}}
]}
]},
{"id": "launcher-path-space", "kind": "row", "layout": {"height": 20}},
{"id": "launcher-dimension-group", "kind": "column", "layout": {"gap": 6}, "children": [
{"id": "launcher-dimension-label", "kind": "label", "text": "Initial scene type", "layout": {"height": 24}},
{"id": "launcher-dimensions", "kind": "row", "layout": {"height": 42, "gap": 4}, "children": [
{"id": "launcher-2d", "kind": "button", "text": "2D", "layout": {"width": 116}},
{"id": "launcher-3d", "kind": "button", "text": "3D", "layout": {"width": 116}}
]}
]},
{"id": "launcher-hint", "kind": "label", "text": "Open a directory containing project.faset.json.", "font_size": 13, "layout": {"height": 36}},
{"id": "launcher-actions-space", "kind": "row", "layout": {"height": 22}},
{"id": "launcher-actions-rule", "kind": "row", "layout": {"height": 1}},
{"id": "launcher-actions-top", "kind": "row", "layout": {"height": 18}},
{"id": "launcher-actions", "kind": "row", "layout": {"height": 42, "gap": 10}, "children": [
{"id": "launcher-submit", "kind": "button", "text": "Open project", "layout": {"width": 176}},
{"id": "launcher-cancel", "kind": "button", "text": "Cancel", "layout": {"width": 90}}
]},
{"id": "launcher-error", "kind": "label", "layout": {"height": 36}}
]},
{"id": "launcher-dimension-label", "kind": "label", "text": "Initial scene type"},
{"id": "launcher-dimensions", "kind": "row", "layout": {"height": 40, "gap": 0}, "children": [
{"id": "launcher-2d", "kind": "tab", "text": "2D", "layout": {"width": 120}},
{"id": "launcher-3d", "kind": "tab", "text": "3D", "layout": {"width": 120}}
]},
{"id": "launcher-hint", "kind": "label", "text": "Open a directory containing project.faset.json.", "layout": {"height": 36}},
{"id": "launcher-actions", "kind": "row", "layout": {"height": 40, "gap": 8}, "children": [
{"id": "launcher-submit", "kind": "button", "text": "Open project", "layout": {"width": 180}},
{"id": "launcher-cancel", "kind": "button", "text": "Cancel", "layout": {"width": 90}}
]},
{"id": "launcher-error", "kind": "label", "layout": {"height": 30}},
{"id": "launcher-shortcuts", "kind": "label", "text": "Tab: next field Ctrl+Enter: continue Escape: cancel"}
{"id": "launcher-main-spacer", "kind": "row", "layout": {"flex": 1}},
{"id": "launcher-shortcuts", "kind": "label", "text": "Tab: next field Ctrl+Enter: continue Escape: cancel", "font_size": 12, "layout": {"height": 24}}
]}
]
}]