Replies: 1 comment 1 reply
-
That theme switcher is not part of the layout. If you need it like that, you will have to use your own CSS with However, a better place for the theme switcher would be in the As for how to implement the actual theme switcher:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone good morning, I'm trying to use ITwinUi-layouts and I would like to add the bottom button to change the theme as in the examples, I attach a small photo, I found the repository on github, and the ThemeButton and the ThemeContext , but I don't it is clear where I have to insert it, I tried to insert it in the "<PageLayout.ToolsArea>" but I get a context error
thanks for the precious help
![Theme](https://private-user-images.githubusercontent.com/57446652/246036785-cc656f7d-b2d0-45a0-83ff-9e729aec0ddd.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODAwMzEsIm5iZiI6MTczOTU3OTczMSwicGF0aCI6Ii81NzQ0NjY1Mi8yNDYwMzY3ODUtY2M2NTZmN2QtYjJkMC00NWEwLTgzZmYtOWU3MjlhZWMwZGRkLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAwMzUzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1MmI3ZTE4ZjEwNWI2NTBjNTc1YWEyNTc4NTM4ZGUyNTNlZDlkNGIyMDVlZDk0OWM2MjM2NGM2NGFlYzcwYTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.An8xj2mxqpfEZ7nllzCqTHxkztSu1Viq-JbYYg9CdCA)
Beta Was this translation helpful? Give feedback.
All reactions