diff options
author | Erik Michelson | 2021-01-28 12:30:47 +0100 |
---|---|---|
committer | Erik Michelson | 2021-01-28 12:30:47 +0100 |
commit | 40d30baa031fff329f874a3c1c283a050e547a2d (patch) | |
tree | 9cef0ad8cca2cc81071a40aee34f72c6b2b24053 /lib/web/auth/mattermost/index.js | |
parent | dfd710982a5b53055a1a327e5ee35bd29de3f5bb (diff) |
Improved CSS in night-mode
A general invert-filter is applied to all pre elements in night mode. As diagrams are embedded inside pre tags, they're inverted as well. For sequence-diagrams and flow-charts this looks well, if we wouldn't additionally set the stroke and text color to white in night-mode. These additional white rules invert the already inverted diagram again and make it not good visible. The graphviz and abc embeddings aren't really optimized to be inverted, therefore they're now excluded from invertion and stay in day mode.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions