S
Solara8mo ago
Harry

Primary colour used by Solara

Hi all, I have been using an assets file and this code to change the primary colour of solara to green (see code):
vuetifyThemes = {
light: {
primary: '#017F36', // cyanocapture green (from logo)
}
}
vuetifyThemes = {
light: {
primary: '#017F36', // cyanocapture green (from logo)
}
}
this is my project structure is attached. However, recently the primary colour of my solara page has changed back to the default blue. could this be due to the recent update (1.28.0) where there were changes to themes? and could someone help resolve this issue? thank you, H
No description
8 Replies
iisakkirotko
iisakkirotko8mo ago
Indeed it seems like this could be due to the theming changes. I'll take a look at this (maybe Friday, or most likely next week). In the meantime setting
solara.lab.theme.themes.light.primary = "#017F36'
solara.lab.theme.themes.light.primary = "#017F36'
should get you there.
MaartenBreddels
MaartenBreddels8mo ago
Strange, because we also use this at https://solara.dev/ and that is still orange
Solara documentation
Use ipywidgets with Solara to build powerful and scalable web apps for Jupyter and production in Python.
MaartenBreddels
MaartenBreddels8mo ago
Actually, it is not https://solara.dev/api/app_bar ! the app bar is blue
MaartenBreddels
MaartenBreddels8mo ago
do you want to open a github issue for this?
iisakkirotko
iisakkirotko8mo ago
That's even more interesting, since it is orange at first and then changes color.
MaartenBreddels
MaartenBreddels8mo ago
yeah, on ssg it seems to render orange i guess yeah, it doesn't even load the theme.js anymore, i guess we accidently removed it from the template, thanks for the workaround @Iisakki Rotko
Harry
Harry8mo ago
Thanks for getting back, this sounds great. @MaartenBreddels would you like me to make a ticket for this?
MaartenBreddels
MaartenBreddels8mo ago
Yes please 🙏🏻
Want results from more Discord servers?
Add your server