-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Milestone
Description
I've been looking at how to approach themes and wondered if you had any thoughts on it so far. I can think of a couple of approaches:
- Extend the existing theme approach but allow more flexibility with line colours, fills etc.
- Add CSS classes to the individual elements e.g. title, actor, signal, note etc. and use external style sheets to add fill and stroke colours.
My thoughts are that option 1 might become unwieldy as the number of theme options grows larger whereas option 2 keeps a nice separation of concerns. The jQuery initialisation would then look something like this:
$(function() {
$(".sequence").sequenceDiagram({linestyle: 'hand',themecss:'css/mytheme.css'});
});Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels