refine news ticker

This commit is contained in:
David Rodenkirchen
2024-05-27 07:14:35 +02:00
parent de33e99703
commit a2897194d7
3 changed files with 32 additions and 11 deletions
+21 -1
View File
@@ -72,6 +72,26 @@ themes = [
hud_color=rio.Color.from_hex("2c89ff"),
text_color=rio.Color.from_hex("FFFFFF"),
light=False,
),
# Turquoise - Dark
rio.Theme.from_colors(
primary_color=rio.Color.from_hex("03dac5"),
secondary_color=rio.Color.from_hex("018786"),
neutral_color=rio.Color.from_hex("1e1e1e"),
background_color=rio.Color.from_hex("121212"),
hud_color=rio.Color.from_hex("03dac5"),
text_color=rio.Color.from_hex("FFFFFF"),
light=False,
),
# Turquoise - Light
rio.Theme.from_colors(
primary_color=rio.Color.from_hex("03dac5"),
secondary_color=rio.Color.from_hex("018786"),
neutral_color=rio.Color.from_hex("FFFFFF"),
background_color=rio.Color.from_hex("FFFFFF"),
hud_color=rio.Color.from_hex("03dac5"),
text_color=rio.Color.from_hex("000000"),
light=True,
)
]
@@ -89,7 +109,7 @@ app = rio.App(
build=pages.Home,
),
],
theme=themes[2],
theme=themes[6],
assets_dir=Path(__file__).parent / "assets",
on_session_start=on_session_start
)