Skip to content

Commit

Permalink
Update popover arrow style when dark mode is detected (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
medied authored May 21, 2024
1 parent 56c2041 commit 5193fb6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/link/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,18 @@ body {
box-shadow: none;
}

@media (prefers-color-scheme: dark ) {
.components-popover__arrow {
&::before {
background-color: unset;
}
}

.components-popover__triangle-bg {
fill: #202122;
}
}

.wikipediapreview-edit-preview {
width: 350px;

Expand Down

0 comments on commit 5193fb6

Please sign in to comment.