-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experimental dark mode #606
Conversation
README.md
Outdated
| `generatr.site.externalTag` | Software systems containing this tag will be considered external | | | | ||
| `generatr.site.nestGroups` | Will show software systems in the left side navigator in collapsable groups | `false` | `true` | | ||
| `generatr.site.cdn` | Specifies the CDN base location for fetching NPM packages for browser runtime dependencies. Defaults to jsDelivr, but can be changed to e.g. an on-premise location. | `https://cdn.jsdelivr.net/npm` | `https://cdn.my-company/npm` | | ||
| `generatr.site.darkMode` | Experimental: will show a dark mode menu item to switch between light and dark mode on the website. If turned off, the site will be shown in light mode and this menu item will not be shown. | `false` | `true` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could make this a three-state option: forced light theme, forced dark theme, auto (based on browser or user choice)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add notes that colors for site and diagrams should be adjusted to any of those choices.
6051417
to
9ce8587
Compare
Ready to play. Note that the gray background in the light theme is gone. I think this fits, but taste may differ. |
Co-authored-by: LunarN0va <rubie157789@gmail.com>
Co-authored-by: LunarN0va <rubie157789@gmail.com>
Also move static styling to styles.css.
Plays slightly better with the dark theme,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works better for the dark theme.
As discussed, lets go for bolder tab header for now. |
Also switches to
structurizr
as the default exporter.Supersedes #528