drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Suggestion: Allow style classes on objects (css classes)

Open DarkTrick opened this issue 2 years ago • 1 comments

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe. I'd like to focus on content during diagram creation, not formatting. Currently, formatting has to be done for each individual item. This is especially a problem, when larger groups of items need to be reformatted.

Describe the solution you'd like

  • I'd like the ability to assign one or more style classes (CSS classes) to items.
  • I'd like the ability to provide style rules for these classes (simplest implementation: could be a simple large text area containing all rules, just like a CSS file.).

Describe alternatives you've considered I couldn't find any workaround

Additional context Add any other context or screenshots about the feature request here.

DarkTrick avatar Feb 26 '22 08:02 DarkTrick

It'd be great if allowing placeholders in styles, so I can write fillColor=%bg%; if I want to change the background of a group of layers later.

WEGFan avatar Jul 10 '22 13:07 WEGFan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

stale[bot] avatar Mar 25 '23 15:03 stale[bot]