Working css styles
This commit is contained in:
parent
96c675c6b8
commit
9b89dfbfe1
@ -35,6 +35,10 @@ class LumosApplication(Adw.Application):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(application_id='eu.ichibi.Lumos',
|
super().__init__(application_id='eu.ichibi.Lumos',
|
||||||
flags=Gio.ApplicationFlags.DEFAULT_FLAGS)
|
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('quit', lambda *_: self.quit(), ['<primary>q'])
|
||||||
self.create_action('about', self.on_about_action)
|
self.create_action('about', self.on_about_action)
|
||||||
self.create_action('preferences', self.on_preferences_action)
|
self.create_action('preferences', self.on_preferences_action)
|
||||||
|
5
src/style.css
Normal file
5
src/style.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
label.lumos-big-result {
|
||||||
|
font-size: 80px;
|
||||||
|
font-weight: 800;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user