Hi all,
Is there a way to update the stylesheet.css file outside of Ignition? I can open the file in Visual Studio Code and make changes but they aren't reflected in Ignition. A lazy workaround is to just copy paste the entire file but is very annoying to do as it changes the clipboard.
The reason I'm asking is because I have web dev experience and find editing CSS much easier and quicker than manually editing each view's style properties.
A feature I would also love is to have an "advanced" section to make custom React components (without having to install the web dev module) but I understand that it would probably be a tremendous effort and that not many engineers know JS or React (surely more than those that know Jython).
1 Like
Not yet, but I heard 8.3 might bring the possibility of using external IDEs/editors.
If you want to make your own react components, you'll need to make modules.
1 Like
Salam Ahmed,
check the path to your project stylesheet
C:\Program Files\Inductive Automation\Ignition\data\projects\**Projectname**\com.inductiveautomation.perspective\stylesheet
1 Like
Also note that changes to projects on the filesystem won't take effect until the project is scanned. Here is some more information for 8.1.x:
2 Likes
@kgamble's Flint extension for VSCode [Flint for Ignition - Visual Studio Marketplace] doesn't currently help with the stylesheet, but I'm sure he could add that functionality.
If we ever do something like an "easy component authoring" experience, it's almost guaranteed to be through an additional module, whether that's Webdev or something else, both for business reasons and because we don't want the 80% of users to be utterly baffled by the concept (or reach toward it when they don't really need it).
8.3 won't really change anything on this front, but first party external editor integration was mentioned as a possible 8.4/8.5/whatever feature at ICC.
2 Likes