From 9b89dfbfe1fab25c677dadcd281933bea143a3bf Mon Sep 17 00:00:00 2001 From: Daniele Verducci Date: Thu, 4 Apr 2024 08:50:25 +0200 Subject: [PATCH] Working css styles --- src/main.py | 4 ++++ src/style.css | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 src/style.css diff --git a/src/main.py b/src/main.py index f02f64d..8d568a3 100644 --- a/src/main.py +++ b/src/main.py @@ -35,6 +35,10 @@ class LumosApplication(Adw.Application): def __init__(self): super().__init__(application_id='eu.ichibi.Lumos', flags=Gio.ApplicationFlags.DEFAULT_FLAGS) + # Load css + self.__base_css_resource = "{}/style.css".format(self.props.resource_base_path) + + # Create actions self.create_action('quit', lambda *_: self.quit(), ['q']) self.create_action('about', self.on_about_action) self.create_action('preferences', self.on_preferences_action) diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..834eb1c --- /dev/null +++ b/src/style.css @@ -0,0 +1,5 @@ +label.lumos-big-result { + font-size: 80px; + font-weight: 800; +} +