1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +01:00

docs: fix background img dark mode opacity (#9157)

https://linear.app/unleash/issue/2-3200/update-docs-bottom-left-background-image-in-dark-mode

The background mountain texture was a bit too striking visually. We
should set an opacity of `0.06` in dark mode, the same as in Unleash
dark mode.

### Before


![image](https://github.com/user-attachments/assets/30dc29ac-39e0-4f7c-92d9-6288b6f10d9a)

### After


![image](https://github.com/user-attachments/assets/ff6de0a0-7413-4356-a6c9-bbb927203c3e)
This commit is contained in:
Nuno Góis 2025-01-27 15:13:23 +00:00 committed by GitHub
parent 378bbe5133
commit 4d582aac5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,6 +249,12 @@ main:after {
content: ""; content: "";
} }
html[data-theme="dark"] {
main:after {
opacity: 0.06;
}
}
@media (min-width: 997px) { @media (min-width: 997px) {
.show-when-collapsed { .show-when-collapsed {
display: none; display: none;