refine news ticker
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user