mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
fix: improve Mermaid diagram visibility in dark mode (#2092)
# What does this PR do? Closes #2078 Previously, the Agent Execution Loop diagram was barely visible in dark mode:  I experimented with styling individual classes, but ultimately found that adding an off-white background provides the best visibility in both dark and light modes:  [//]: # (If resolving an issue, uncomment and update the line below) [//]: # (Closes #[issue-number]) ## Test Plan The documentation can be built locally by following the docs: https://llama-stack.readthedocs.io/en/latest/contributing/index.html#building-the-documentation [//]: # (## Documentation)
This commit is contained in:
parent
f1b103e6c8
commit
9f27578929
1 changed files with 6 additions and 0 deletions
6
docs/_static/css/my_theme.css
vendored
6
docs/_static/css/my_theme.css
vendored
|
@ -27,3 +27,9 @@ pre {
|
|||
white-space: pre-wrap !important;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .mermaid {
|
||||
background-color: #f4f4f6 !important;
|
||||
border-radius: 6px;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue