Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Specify Style for Dark Mode or Light mode? #368

Unanswered
maldworth asked this question in Q&A
Discussion options

is there any way to specify an alternate style when in dark mode versus light mode? Something like the following

element "Dark Infrastructure Node" {
 colorMode dark | light | both
 background #777777
 color #ffffff
}

The reason I would like this is because the deployment nodes are rather unpleasant to look at in dark mode. For example from the demo site.

image

You must be logged in to vote

Replies: 3 comments

Comment options

Not at the moment I'm afraid -> https://docs.structurizr.com/ui/dark-mode

please note that dark mode will not change any element or relationship styles on your diagrams, so you may need to modify these so that your diagrams render correctly in both light and dark modes.

You must be logged in to vote
0 replies
Comment options

A workspace level override would be nice IMHO.

You must be logged in to vote
0 replies
Comment options

A little more work to do on the UI, but this will be available in the next release -> https://github.com/structurizr/java/blob/master/structurizr-dsl/src/test/resources/dsl/color-schemes.dsl

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /