Login
Remember
Register
PlantUML Q&A
*NEW* Discord server
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Styling salt diagrams
0
votes
asked
Jun 19, 2017
in
Wanted features
by
majkinetor
(
260
points)
Current salt diagrams are awesome but look ugly.
Are there any plans to modernize them or provide skin configuration ?
I would also consider ASCII art as an improvement :)
style
wanted-feature
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
answered
Jun 23, 2017
by
plantuml
(
295,000
points)
Right now, we are not planning to enhance Salt feature. We are just out to time! So we need to prioritize our modifications.
Perhabs you could just suggestion one or two mandatory enhancement, we'll see if we could do something.
Regards,
commented
Jul 16, 2018
by
Sandro Zacchino
One possible simple enhancement could be an update to the SVG export module to add a CSS class for each SVG element; for instance a button is composed by two SVG elements: a rect and a text. Thus rect should have a class="salt-button"; the same for text. If a mockup component is made by more SVG elements of the same type (more than one rect or more than one text used for different purposes) you could define more than one CSS class (i.e. "salt-tab salt-strong" for an active tab). Using CSS we could then style the SVG the way we want. Very often plantuml's output is put as SVG in a Markdown/pug/whatever that produces HTML. Then HTML is rendered as PDF. In all these systems CSS/SCSS is used to style the document. See for instance RelaxedJS
https://github.com/RelaxedJS/ReLaXed
or Markdown-preview-enhanced
https://shd101wyy.github.io/markdown-preview-enhanced/#/
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
BetaStyle for timingDiagram
Use external CSS stylesheet with SVG images rather than inline styles
Change border style in class diagram + Arrows to arrows
Allow new styling for nested package
[Style][Salt] Allow full style on salt
All categories
Question / help
(1,463)
Bug
(1,637)
Wanted features
(1,419)
Closed question / help
(88)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(12)
Can't help
(9)
To be deleted
(10)
To be sorted
(429)
...