S
Solara9mo 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
iisakkirotko9mo 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
MaartenBreddels9mo 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
MaartenBreddels9mo ago
Actually, it is not https://solara.dev/api/app_bar ! the app bar is blue
MaartenBreddels
MaartenBreddels9mo ago
do you want to open a github issue for this?
iisakkirotko
iisakkirotko9mo ago
That's even more interesting, since it is orange at first and then changes color.
MaartenBreddels
MaartenBreddels9mo 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
HarryOP9mo ago
Thanks for getting back, this sounds great. @MaartenBreddels would you like me to make a ticket for this?
MaartenBreddels
MaartenBreddels9mo ago
Yes please 🙏🏻
Want results from more Discord servers?
Add your server