Skip to content

Theme support for extended colours and named colour in theme reference #646

Closed Answered by iisakkirotko
anirbanbasu asked this question in Q&A
Discussion options

You must be logged in to vote

@anirbanbasu sorry, I think I should have phrased my previous answer better. If passing layout=Layout to the routes, you only need to pass it to the "root path", i.e.

routes = [
    solara.Route(path="/", component=page1.Page, layout=Layout),
    solara.Route(path="p4", component=page2.Page),
    solara.Route(path="p3", component=page3.Page),
]

You can see some more discussion about why this happens a couple comments down in this issue.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@anirbanbasu
Comment options

@iisakkirotko
Comment options

@anirbanbasu
Comment options

@iisakkirotko
Comment options

Answer selected by anirbanbasu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants