I feel like I have a good portion of the basic functionality of what I need so far include reading the db, updating db values, calling crossway's API for verses and parsing that payload. Styling leaves a lot to be desired still.
This commit is contained in:
17
theme.py
Normal file
17
theme.py
Normal file
@ -0,0 +1,17 @@
|
||||
from contextlib import contextmanager
|
||||
from nicegui import ui
|
||||
|
||||
|
||||
@contextmanager
|
||||
def frame(navigation_title: str):
|
||||
"""Custom page frame to share the same styling and behavior across all pages"""
|
||||
ui.colors(primary='#6E93D6', secondary='#53B689', accent='#111B1E', positive='#53B689')
|
||||
with ui.header():
|
||||
ui.label('Awana Verse Practice').classes('font-bold')
|
||||
ui.space()
|
||||
ui.space()
|
||||
ui.space()
|
||||
ui.space()
|
||||
ui.label(navigation_title)
|
||||
with ui.column().classes('absolute-center items-center'):
|
||||
yield
|
||||
Reference in New Issue
Block a user