adding search bar to appz

This commit is contained in:
metacryst
2025-10-29 18:52:23 -05:00
parent 0e36cd30cc
commit eaa90703a1
5 changed files with 118 additions and 19 deletions

View File

@@ -1,5 +1,8 @@
css(`
market- input::placeholder {
font-size: 0.9em;
color: var(--accent);
}
`)
class Market extends Shadow {
@@ -11,12 +14,19 @@ class Market extends Shadow {
.attr({
"type": "text"
})
.fontSize(1.1, em)
.paddingLeft(1.3, em)
.background("transparent")
.border("1px solid var(--accent)")
.outline("none")
.color("var(--accent)")
.borderRadius(10, px)
button("Search")
.marginLeft(2, em)
.borderRadius(10, px)
.background("transparent")
.border("1px solid var(--accent)")
.color("var(--accent)")
})
.x(50, vw).y(5, vh)
.position("absolute")