add themes

This commit is contained in:
David Rodenkirchen
2024-05-25 12:02:08 +02:00
parent 5dd65c82ed
commit 1e814d9d0e
8 changed files with 91 additions and 30 deletions
+4 -4
View File
@@ -10,16 +10,16 @@ class Header(rio.Component):
rio.Rectangle(
content=rio.Column(
rio.Link(
rio.Image(from_root("ezgg_website/assets/placeholder_logo.png"), align_x=0, width=8),
rio.Image(from_root("ezgg_website/assets/placeholder_logo_grey.png"), align_x=0, width=8),
"/"
),
margin=1
),
fill=self.session.theme.neutral_color,
corner_radius=self.session.theme.corner_radius_medium,
shadow_radius=1,
shadow_color=self.session.theme.shadow_color,
shadow_offset_y=0.2,
shadow_radius=0.5,
shadow_color=self.session.theme.hud_color,
shadow_offset_y=0
),
align_y=0,
margin_top=1,