Skip to content

Commit

Permalink
docs: set the background color of platform icons to transparent (deep…
Browse files Browse the repository at this point in the history
…modeling#4377)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Resolved an issue where platform icons displayed with a black
background in dark theme by ensuring the background remains transparent.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz authored Nov 19, 2024
1 parent b9303c7 commit 447ea94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ html[data-theme="dark"] {
}
img.platform-icon {
filter: invert(1);
/* otherwise the backgorund is black */
background-color: transparent !important;
}
}

0 comments on commit 447ea94

Please sign in to comment.