Add: tauri frontend as bevy alternative

This commit is contained in:
DaZuo0122
2026-02-13 09:57:08 +08:00
parent b0f462f63e
commit 3c3ca342c9
33 changed files with 11798 additions and 106 deletions

View File

@@ -0,0 +1,54 @@
:root {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
margin: 0;
background: transparent;
color: #e2e8f0;
overflow: hidden;
}
.app {
width: 100vw;
height: 100vh;
position: relative;
}
.canvas-host {
position: absolute;
inset: 0;
}
.debug-panel {
position: absolute;
top: 8px;
left: 8px;
min-width: 220px;
padding: 10px;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(15, 23, 42, 0.55);
backdrop-filter: blur(4px);
border-radius: 8px;
}
dl {
display: grid;
grid-template-columns: 120px 1fr;
gap: 8px 12px;
}
dt {
font-weight: 700;
text-transform: uppercase;
font-size: 12px;
opacity: 0.8;
}
dd {
margin: 0;
}
.error {
color: #fecaca;
}