Cleaned up some of the duplicate and old test files. Got the flex grid to work and the font is okay for now. Can't seem to get darkmode to work across multiple pages from the header. Editing and adding a verse functions were updated.
This commit is contained in:
3
theme.py
3
theme.py
@ -5,6 +5,7 @@ from nicegui import ui
|
||||
tnt='rgba(30, 206, 0, 0.25)'
|
||||
cubbies='rgba(25, 39, 255, 0.25)'
|
||||
sparks='rgba(255, 0, 0, 0.25)'
|
||||
dark_mode = ui.dark_mode(True)
|
||||
|
||||
@contextmanager
|
||||
def frame(navigation_title: str):
|
||||
@ -18,7 +19,9 @@ def frame(navigation_title: str):
|
||||
ui.space()
|
||||
ui.space()
|
||||
with ui.row():
|
||||
# ui.switch('Dark Mode').bind_value(dark_mode)
|
||||
ui.link('Admin', '/').classes(replace='text-white')
|
||||
ui.link('Dashboard', '/dashboard').classes(replace='text-white')
|
||||
with ui.column().classes('absolute-center items-center'):
|
||||
yield
|
||||
|
||||
|
||||
Reference in New Issue
Block a user