What is the best way of using custom Perspective theme files when running Ignition on docker?
is it even possible to have another way than changing the theme.css files?
The recommendation would probably be to mount your theme(s) directly into the appropriate location in the data
directory, which is is something like data/modules/com.inductiveautomation.perspective/themes/
.
A nice feature would be the possibility to edit the themes from the designer. Change default fonts, adjust colors etc. Any chance this will be possible in the future?
yes thats why im using css injection sometimes, also not ideal but i like to keep it all in one place xd
ive explained it a bit here.(and in some other posts linked to it) You can easily add some small stuff like this but you cant see the default theme like that xd and adding to much in one style is very clunky xd
So id you do change the default fonts and colors i would use the theme.css
It is unlikely weâll add the ability to edit themes directly in the designer. For one thing, theyâre a âglobalâ resource, and the designerâs editing model is much more aligned with a single project.
I actually filed a ticket a while back for an âadvancedâ resource that would act as an intermediate between themes and style classes - a single project-specific âstylesheetâ that weâd inject into the page, and that could be configured (as plain CSS) in the designer.
I donât have any idea whether that feature request will be accepted, or a timeline if it is, but thatâs probably the closest thing to what youâre looking for.