Skip to content

Commit ab36ec8

Browse files
committed
minor #1311 [Site] Make package box titles visible in dark mode (stloyd)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Make package box titles visible in dark mode | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | desc below | License | MIT Right now package box titles are really dark in the dark mode: <img width="1304" alt="Zrzut ekranu 2023-11-29 o 16 54 15" src="https://github.com/symfony/ux/assets/67402/e7459bd2-ba2a-49eb-aa62-6fcce0c4b992"> With that change it will look like: <img width="1268" alt="Zrzut ekranu 2023-11-29 o 16 54 08" src="https://github.com/symfony/ux/assets/67402/8f11e471-2517-4fd2-bb2b-5481751d96fe"> Commits ------- b1a80fe Make package box titles visible in dark mode
2 parents d288690 + b1a80fe commit ab36ec8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ux.symfony.com/assets/styles/components/_PackageBox.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@
120120
letter-spacing: -1px;
121121
color: #0A0A0A;
122122
text-decoration: none;
123+
124+
[data-bs-theme="dark"] & {
125+
filter: invert(1);
126+
}
123127
}
124128

125129
.PackageBox_link {

0 commit comments

Comments
 (0)