A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
style(editor): neutralize the editor theme toward DCC-tool conventions (UE5/Blender/VS Code)
esenginecd870872bc7f
diff --git a/desktop/src/theme/app.css b/desktop/src/theme/app.cssindex 8a836036f..71ae06d58 100644--- a/desktop/src/theme/app.css+++ b/desktop/src/theme/app.css@@ -37,7 +37,7 @@padding-right: 10px;}.menubar__brand svg {- filter: drop-shadow(0 0 5px var(--star-line));+ filter: none;}.menubar__title {font-size: var(--fs-md);@@ -146,8 +146,8 @@}.tbtn--run.is-active {color: var(--run);- background: rgba(67, 211, 158, 0.14);- box-shadow: inset 0 0 0 1px rgba(67, 211, 158, 0.4), var(--run-glow);+ background: rgba(76, 174, 135, 0.14);+ box-shadow: inset 0 0 0 1px rgba(76, 174, 135, 0.4);}.chip {@@ -332,22 +332,19 @@.tree-row:hover {background: var(--hover);}-/* Active = a starlight bar on the left + a soft left-to-right fade, not a- filled rounded pill (matches the launcher nav). */+/* Active = a flat solid highlight + a crisp left accent bar (no gradient, no glow). */.tree-row.is-selected {- background: linear-gradient(90deg, var(--star-dim), transparent 70%);+ background: var(--star-dim);color: var(--text-hi);}.tree-row.is-selected::before {content: '';position: absolute;left: 0;- top: 3px;- bottom: 3px;+ top: 0;+ bottom: 0;width: 2px;- border-radius: 0 2px 2px 0;background: var(--star);- box-shadow: 0 0 6px var(--star-line);}.tree-row.is-hidden {opacity: 0.45;@@ -448,31 +445,22 @@opacity: 0;pointer-events: none;border: 1px solid var(--star);- box-shadow:- 0 0 0 1px rgba(8, 11, 18, 0.55),- 0 0 8px -2px var(--star-glow);+ box-shadow: 0 0 0 1px rgba(14, 15, 18, 0.6);will-change: transform, width, height, opacity;}.viewport__stage.has-grid {background-image:linear-gradient(var(--line-soft) 1px, transparent 1px),linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),- linear-gradient(rgba(77, 157, 255, 0.07) 1px, transparent 1px),- linear-gradient(90deg, rgba(77, 157, 255, 0.07) 1px, transparent 1px);+ linear-gradient(var(--line) 1px, transparent 1px),+ linear-gradient(90deg, var(--line) 1px, transparent 1px);background-size: 32px 32px, 32px 32px, 256px 256px, 256px 256px;background-position: center;}+/* Starfield removed — a decorative game-UI flourish at odds with a neutral+ DCC-tool viewport. Kept as a no-op so the React element renders harmlessly. */.viewport__starfield {- position: absolute;- inset: 0;- background-image:- radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),- radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.35), transparent),- radial-gradient(1px 1px at 40% 80%, rgba(174, 203, 255, 0.5), transparent),- radial-gradient(1px 1px at 85% 22%, rgba(255, 255, 255, 0.3), transparent),- radial-gradient(1.5px 1.5px at 55% 15%, rgba(174, 203, 255, 0.45), transparent);- opacity: 0.7;- pointer-events: none;+ display: none;}.viewport__entity {position: absolute;@@ -555,7 +543,7 @@letter-spacing: 0.1em;color: var(--run);background: rgba(8, 11, 18, 0.8);- border: 1px solid rgba(67, 211, 158, 0.5);+ border: 1px solid rgba(76, 174, 135, 0.5);padding: 4px 12px;border-radius: 999px;box-shadow: var(--run-glow);@@ -816,7 +804,7 @@border-radius: 50%;background: var(--star-hi);transform: translate(-50%, -50%);- box-shadow: 0 0 6px -1px var(--star-glow);+ box-shadow: 0 0 0 1px rgba(14, 15, 18, 0.6);}.num--mini {width: 44px;@@ -965,7 +953,7 @@border-radius: var(--r-sm);}.add-component:hover {- background: rgba(77, 157, 255, 0.22);+ background: rgba(76, 143, 214, 0.22);}.inspector-note {diff --git a/desktop/src/theme/launcher.css b/desktop/src/theme/launcher.cssindex d779ed6ca..8cebddf1e 100644--- a/desktop/src/theme/launcher.css+++ b/desktop/src/theme/launcher.css@@ -41,7 +41,7 @@width: 21px;height: 21px;fill: var(--star);- filter: drop-shadow(0 0 6px var(--star-line));+ filter: none;}.lc-brand__text {display: flex;@@ -97,22 +97,19 @@background: var(--hover);color: var(--text-hi);}-/* Active = a clean starlight bar on the left + a soft left-to-right fade, not a- filled rounded pill. */+/* Active = a flat solid highlight + a crisp left accent bar (no gradient/glow). */.lc-nav__item.is-active {color: var(--star-hi);- background: linear-gradient(90deg, var(--star-dim), transparent 70%);+ background: var(--star-dim);}.lc-nav__item.is-active::before {content: '';position: absolute;left: 0;- top: 6px;- bottom: 6px;+ top: 4px;+ bottom: 4px;width: 2px;- border-radius: 0 2px 2px 0;background: var(--star);- box-shadow: 0 0 6px var(--star-line);}.lc-nav__item.is-active svg {color: var(--star);@@ -139,7 +136,7 @@}.lc-constellation__star {fill: var(--star);- filter: drop-shadow(0 0 4px var(--star-line));+ filter: none;}.lc-rail__foot .mono {font-family: var(--font-mono);@@ -155,11 +152,7 @@display: flex;flex-direction: column;overflow: hidden;- /* Faint star chart behind the gallery — the signature, kept very quiet. */- background-image:- radial-gradient(circle at 82% 0%, rgba(77, 157, 255, 0.06), transparent 44%),- radial-gradient(rgba(122, 162, 247, 0.045) 1px, transparent 1.4px);- background-size: auto, 30px 30px;+ /* Flat neutral surface — the decorative star chart read as game-UI, not tool. */}.lc-head {@@ -280,7 +273,7 @@display: grid;place-items: center;overflow: hidden;- background-image: radial-gradient(rgba(122, 162, 247, 0.07) 1px, transparent 1.3px);+ background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1.3px);background-size: 16px 16px;}.proj-card__img {diff --git a/desktop/src/theme/tokens.css b/desktop/src/theme/tokens.cssindex 863d3fcdd..3a51840e9 100644--- a/desktop/src/theme/tokens.css+++ b/desktop/src/theme/tokens.css@@ -1,45 +1,48 @@/* =============================================================================Estella Editor — design tokens- Identity: a precise stellar instrument. Deep ink-navy surfaces (cool, not- neutral gray), hairline structure, one luminous "starlight" accent, and a- monospace face reserved for live data so numbers read like an instrument.+ Identity: a precise, professional instrument. Near-neutral dark surfaces with+ only a faint cool cast (not saturated navy), flat hairline structure (no+ glows), one restrained blue accent, and a monospace face reserved for live+ data so numbers read like an instrument. Tuned toward DCC-tool neutrality+ (UE5 / Blender / VS Code) over decorative game-UI styling.========================================================================== */:root {- /* — Surfaces: ink-navy ramp, coolest at the bottom (the viewport void) — */- --void: #080b12; /* viewport / deepest stage */- --base: #0e121b; /* app background behind panels */- --panel: #131826; /* panel body */- --elevated: #19202f; /* toolbars, tab strips, headers */- --raised: #20283a; /* popovers, dropdowns */- --input: #1b2336; /* fields, wells */- --hover: rgba(122, 162, 247, 0.08);- --pressed: rgba(122, 162, 247, 0.14);+ /* — Surfaces: near-neutral dark ramp, a hair of cool cast, darkest at the+ viewport void. Inputs sit DARKER than their panel (UE5-style wells). — */+ --void: #0e0f12; /* viewport / deepest stage */+ --base: #17181b; /* app background behind panels */+ --panel: #1d1f23; /* panel body */+ --elevated: #25272c; /* toolbars, tab strips, headers */+ --raised: #2c2f35; /* popovers, dropdowns */+ --input: #15161a; /* fields, wells (darker than panel) */+ --hover: rgba(255, 255, 255, 0.05);+ --pressed: rgba(255, 255, 255, 0.08);- /* — Structure: hairlines do the visual work, not boxes — */- --line: #222b3d;- --line-soft: #1a2130;- --line-strong: #2f3a52;+ /* — Structure: neutral hairlines do the visual work, not boxes — */+ --line: #2b2e34;+ --line-soft: #232529;+ --line-strong: #3a3e46;- /* — Text — */- --text-hi: #eef2fb;- --text: #c4cde0;- --text-dim: #828ea6;- --text-faint: #56627c;+ /* — Text: neutral contrast ramp (blue cast removed) — */+ --text-hi: #ecedf0;+ --text: #c3c6cc;+ --text-dim: #888c94;+ --text-faint: #5b5f68;- /* — Starlight accent (the single signature color) — */- --star: #4d9dff;- --star-hi: #74b3ff;- --star-dim: rgba(77, 157, 255, 0.16);- --star-line: rgba(77, 157, 255, 0.4);- --star-glow: 0 0 0 1px var(--star-line), 0 0 12px -2px rgba(77, 157, 255, 0.55);- --nebula: #9a6cff; /* secondary stellar, used sparingly */+ /* — Accent: one restrained blue. Flat — the glow is a crisp 1px ring, no blur. — */+ --star: #4c8fd6;+ --star-hi: #6ba6e6;+ --star-dim: rgba(76, 143, 214, 0.15);+ --star-line: rgba(76, 143, 214, 0.5);+ --star-glow: 0 0 0 1px var(--star-line);+ --nebula: #8d72d8; /* secondary accent, used sparingly */- /* — Semantic — */- --run: #43d39e; /* play / running */- --run-glow: 0 0 10px -1px rgba(67, 211, 158, 0.6);- --warn: #ffb454; /* supernova amber */- --error: #ff6b6b;+ /* — Semantic (muted, flat) — */+ --run: #4cae87; /* play / running */+ --run-glow: 0 0 0 1px rgba(76, 174, 135, 0.45);+ --warn: #e0a049; /* amber / warnings */+ --error: #e06464;/* — Type — */--font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;@@ -51,18 +54,18 @@--fs-md: 13px;--fs-lg: 15px;- /* — Geometry — */+ /* — Geometry: crisper, more square (tool-like, less soft) — */--r-xs: 3px;- --r-sm: 5px;- --r-md: 7px;- --r-lg: 10px;+ --r-sm: 4px;+ --r-md: 6px;+ --r-lg: 8px;--u: 4px; /* spacing unit */- /* — Chrome heights — */- --h-titlebar: 30px;- --h-toolbar: 42px;- --h-statusbar: 24px;+ /* — Chrome heights (tightened a notch for density) — */+ --h-titlebar: 28px;+ --h-toolbar: 40px;+ --h-statusbar: 22px;/* — Elevation — */--shadow-pop: 0 8px 28px -6px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.4);