Skip to content

Commit b7de02e

Browse files
authored
Improved the text selection style (#1497)
1 parent 90db0f6 commit b7de02e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/webapp/app/tailwind.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
@apply bg-background-dimmed text-text-dimmed;
1414
font-feature-settings: "rlig" 1, "calt" 1;
1515
}
16+
17+
/* Text selection styles */
18+
::selection {
19+
@apply bg-text-bright/30 text-text-bright;
20+
}
21+
::-moz-selection {
22+
@apply bg-text-bright/30 text-text-bright;
23+
}
1624

1725
/* shadcn charts: https://ui.shadcn.com/docs/components/chart#add-a-grid */
1826
:root {

0 commit comments

Comments
 (0)