Skip to content

Commit

Permalink
Move selection styles to layout
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Dec 10, 2024
1 parent 7747a55 commit 87063d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions packages/web/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ const HiveLayout = async ({ children }: { children: ReactNode }) => {
:root.dark *::selection {
background-color: hsl(191deg 95% 72% / 0.25)
}
.light *::selection {
background-color: rgb(134 182 193 / 0.2);
}
:root.light, body.light {
--nextra-primary-hue: 191deg;
--nextra-primary-saturation: 40%;
Expand Down
3 changes: 0 additions & 3 deletions packages/web/docs/src/selection-styles.css

This file was deleted.

0 comments on commit 87063d8

Please sign in to comment.