keyboard commands for spawning window, better colors

This commit is contained in:
metacryst
2025-11-17 18:57:16 -06:00
parent 8a97f92b0a
commit 0f4d8e5eb9
4 changed files with 73 additions and 28 deletions

View File

@@ -17,8 +17,9 @@
@media (prefers-color-scheme: dark) {
:root {
--main: #BD410D;
--main: #6A2C1C;
--accent: var(--tan);
--accent2: var(--green);
--accent3: #c74109
}
}

View File

@@ -4,8 +4,8 @@ class Home extends Shadow {
render() {
ZStack(() => {
input("", "20vw")
.backgroundColor("var(--darkred)")
input("", "60vw")
.backgroundColor("var(--accent3)")
.color("var(--accent)")
.border("none")
.borderTop("1px solid var(--accent)")
@@ -31,11 +31,14 @@ class Home extends Shadow {
})
VStack(() => {
let json = this.getJSONData()
p(json.length + " Entries")
.marginBottom(2, em)
for(let i=0; i<100; i++) {
p(json[i].name)
.marginLeft(0, em)
.marginBottom(0.1, em)
}
})
.paddingLeft(5, em)