-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While working on the design system documentation, we noticed some fixes needed: - **Fix heading colour definition**: Use same colour as body - **Add note about zindex**: Closes #1953 - **Replace the undefined variable with PST variable**: we were using `--pst-color-panel-background` for the background of the card (introduced in #641, but it seems this was removed later and it was not properly replaced). Since cards are meant to give some sense of elevation, I replaced this with `--pst-color-on-background`, which mostly applies to the `dark` theme (see screenshots below) Current colour: ![image](https://github.com/user-attachments/assets/1b87a693-20b7-4d2c-b06f-806483b11d61) In this PR: ![image](https://github.com/user-attachments/assets/5127025f-2012-43e4-b9b0-8c3f3107b953) `light theme` - it's the same before and after as we rely on shadows for elevation ![image](https://github.com/user-attachments/assets/2c779919-40fa-409a-aa49-8a4082618c58) cc @smeragoel
- Loading branch information
Showing
4 changed files
with
32 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters