Skip to content

Commit

Permalink
feat: use different colors on text selection/highlight dark/light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroslav Horetskyi committed May 3, 2024
1 parent b2feb2f commit 6b7f38b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,15 @@ p + p {
.nuxt-scroll-indicator {
@apply bg-gradient-to-r to-secondary from-blue-700;
}

.light {
::selection {
@apply bg-secondary;
}
}

.dark {
::selection {
@apply bg-primary;
}
}

0 comments on commit 6b7f38b

Please sign in to comment.