Skip to content

Global scheme color #9

Answered by riclolsen
joyshmitz asked this question in Q&A
Feb 24, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can create color shortcuts in C:\json-scada\src\htdocs\conf\config_viewers.js

Uncomment and customize lines such as
//ScreenViewer_ColorTable[1] = 'red';
//ScreenViewer_ColorTable[2] = '#ff00ff';
...

Use the shortcuts as "-clr-01", "-clr-02" etc. as color codes on XSAC COLOR Tab (Inkscape SAGE SVG Object Properties).

When you change the color for ScreenViewer_ColorTable[1], all objects marked with "-clr-01" as color will follow.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joyshmitz
Comment options

Answer selected by joyshmitz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants