Working css styles

This commit is contained in:
Daniele Verducci 2024-04-04 08:50:25 +02:00
parent 96c675c6b8
commit 9b89dfbfe1
2 changed files with 9 additions and 0 deletions

View File

@ -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(), ['<primary>q'])
self.create_action('about', self.on_about_action)
self.create_action('preferences', self.on_preferences_action)

5
src/style.css Normal file
View File

@ -0,0 +1,5 @@
label.lumos-big-result {
font-size: 80px;
font-weight: 800;
}