Skip to content

Commit

Permalink
fix: alert text contrast in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
trobonox committed Oct 6, 2023
1 parent 0f66a61 commit c4cedd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Docs/Alert.astro
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import Icon from "astro-icon"
padding: 20px;
border-radius: 8px;
background-color: #506480;
color: #fefefe !important;
}

.icon-layout {
Expand Down
8 changes: 8 additions & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,14 @@ pre.astro-code:hover button {
display: block;
}

.alert-base p {
color: #fefefe !important;
}

.alert-base code {
color: var(--theme-text-light);
}

.full-width {
width: 100%;
}

0 comments on commit c4cedd4

Please sign in to comment.