Dynamic splatoon screen
This commit is contained in:
parent
8cfa17cadc
commit
c760d7d6ff
11 changed files with 327 additions and 311 deletions
34
templates/splatoon.star
Normal file
34
templates/splatoon.star
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
load("render.star", "render")
|
||||
load("encoding/base64.star", "base64")
|
||||
|
||||
ICON = base64.decode("<IMAGE>")
|
||||
|
||||
|
||||
def main():
|
||||
return render.Root(
|
||||
delay=250,
|
||||
child=render.Column(
|
||||
expanded=True,
|
||||
main_align="space_around",
|
||||
cross_align="center",
|
||||
children=[
|
||||
render.Marquee(
|
||||
width=60,
|
||||
child=render.Text(
|
||||
"<START_DATE> - <END_DATE>",
|
||||
color="#66ded2",
|
||||
font="tom-thumb",
|
||||
),
|
||||
),
|
||||
render.Marquee(
|
||||
width=60,
|
||||
child=render.Text(
|
||||
"<STAGE>",
|
||||
color="#fc9c66",
|
||||
font="tom-thumb",
|
||||
),
|
||||
),
|
||||
render.Image(ICON),
|
||||
],
|
||||
),
|
||||
)
|
||||
Loading…
Reference in a new issue