wip / do not merge
This commit is contained in:
parent
e0ed3c7059
commit
e92dc25ade
@ -27,7 +27,10 @@ if __name__ == "__main__":
|
|||||||
corner_radius_small=0,
|
corner_radius_small=0,
|
||||||
corner_radius_medium=0,
|
corner_radius_medium=0,
|
||||||
corner_radius_large=0,
|
corner_radius_large=0,
|
||||||
font=Font(from_root("src/ezgg_lan_manager/assets/fonts/joystix.otf"))
|
font=Font(
|
||||||
|
regular=from_root("src/ezgg_lan_manager/assets/fonts/PixelOperatorMono.ttf"),
|
||||||
|
bold=from_root("src/ezgg_lan_manager/assets/fonts/PixelOperatorMono-Bold.ttf"),
|
||||||
|
)
|
||||||
)
|
)
|
||||||
default_attachments: list = [LocalData(stored_session_token=None)]
|
default_attachments: list = [LocalData(stored_session_token=None)]
|
||||||
default_attachments.extend(init_services())
|
default_attachments.extend(init_services())
|
||||||
|
|||||||
BIN
src/ezgg_lan_manager/assets/fonts/PixelOperatorMono-Bold.ttf
Normal file
BIN
src/ezgg_lan_manager/assets/fonts/PixelOperatorMono-Bold.ttf
Normal file
Binary file not shown.
BIN
src/ezgg_lan_manager/assets/fonts/PixelOperatorMono.ttf
Normal file
BIN
src/ezgg_lan_manager/assets/fonts/PixelOperatorMono.ttf
Normal file
Binary file not shown.
@ -47,8 +47,8 @@ class DesktopNavigation(Component):
|
|||||||
|
|
||||||
return Card(
|
return Card(
|
||||||
Column(
|
Column(
|
||||||
Text(lan_info.name, align_x=0.5, margin_top=0.3, style=TextStyle(fill=self.session.theme.hud_color, font_size=1.9)),
|
Text(lan_info.name, align_x=0.5, margin_top=0.3, style=TextStyle(fill=self.session.theme.hud_color, font_size=2.5), font_weight="bold"),
|
||||||
Text(f"Edition {lan_info.iteration}", align_x=0.5, style=TextStyle(fill=self.session.theme.hud_color, font_size=1.2), margin_top=0.3, margin_bottom=2),
|
Text(f"Edition {lan_info.iteration}", align_x=0.5, style=TextStyle(fill=self.session.theme.hud_color, font_size=1.6), margin_top=0.3, margin_bottom=2, font_weight="bold"),
|
||||||
user_info_and_login_box,
|
user_info_and_login_box,
|
||||||
*navigation,
|
*navigation,
|
||||||
Text("Unsere Sponsoren", align_x=0.5, style=TextStyle(fill=self.session.theme.hud_color, font_size=0.9), margin_bottom=0.5, margin_top=1),
|
Text("Unsere Sponsoren", align_x=0.5, style=TextStyle(fill=self.session.theme.hud_color, font_size=0.9), margin_bottom=0.5, margin_top=1),
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
from rio import Component, TextStyle, Color, Link, Button, Text
|
from rio import Component, TextStyle, Color, Link, Button, Text
|
||||||
|
|
||||||
class DesktopNavigationButton(Component):
|
class DesktopNavigationButton(Component):
|
||||||
STYLE = TextStyle(fill=Color.from_hex("02dac5"), font_size=0.9)
|
STYLE = TextStyle(fill=Color.from_hex("02dac5"), font_size=1.2, font_weight="bold")
|
||||||
TEAM_STYLE = TextStyle(fill=Color.from_hex("F0EADE"), font_size=0.9)
|
TEAM_STYLE = TextStyle(fill=Color.from_hex("F0EADE"), font_size=0.9)
|
||||||
label: str
|
label: str
|
||||||
target_url: str
|
target_url: str
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user