Fix diagram colours (#1815)

This commit is contained in:
Matthew Wilks 2023-07-06 11:53:26 +10:00 committed by GitHub
parent cc35654388
commit 9f886b85dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 164 additions and 1 deletions

View file

@ -13,5 +13,6 @@ title = "Kanidm Administration"
edit-url-template = "https://github.com/kanidm/kanidm/edit/master/book/{path}"
git-repository-url = "https://github.com/kanidm/kanidm"
git-repository-icon = "fa-github"
additional-css = ["theme.css"]
[preprocessor.template]

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

View file

@ -36,7 +36,8 @@ they require.
Kanidm acts as a central authority of accounts in your organisation and allows each account to
associate many devices and credentials with different privileges. An example of how this looks:
<img src="images/KanidmUseCases.png" alt="Kanidm Use Case Diagram" />
<img src="images/KanidmUseCases-Light.png" alt="Kanidm Use Case Diagram" class="light-mode-only" />
<img src="images/KanidmUseCases-Dark.png" alt="Kanidm Use Case Diagram" class="dark-mode-only" />
A key design goal is that you authenticate with your device in some manner, and then your device
will continue to authenticate you in the future. Each of these different types of credentials, from

11
book/theme.css Normal file
View file

@ -0,0 +1,11 @@
@media (prefers-color-scheme: dark) {
.light-mode-only {
display: none;
}
}
@media (prefers-color-scheme: light) {
.dark-mode-only {
display: none;
}
}