Skip to content

Commit

Permalink
minor #1311 [Site] Make package box titles visible in dark mode (stloyd)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Dec 1, 2023
2 parents d288690 + b1a80fe commit ab36ec8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ux.symfony.com/assets/styles/components/_PackageBox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@
letter-spacing: -1px;
color: #0A0A0A;
text-decoration: none;

[data-bs-theme="dark"] & {
filter: invert(1);
}
}

.PackageBox_link {
Expand Down

0 comments on commit ab36ec8

Please sign in to comment.