Unify text selection color

This commit is contained in:
Gregory Schier
2023-03-30 16:36:24 -07:00
parent 91e3853692
commit e458675627

View File

@@ -14,13 +14,15 @@
box-shadow var(--transition-duration); box-shadow var(--transition-duration);
} }
::selection {
@apply bg-selection;
}
/* Disable user selection to make it more "app-like" */ /* Disable user selection to make it more "app-like" */
:not(input):not(textarea), :not(input):not(textarea),
:not(input):not(textarea)::after, :not(input):not(textarea)::after,
:not(input):not(textarea)::before { :not(input):not(textarea)::before {
-webkit-user-select: none; @apply select-none cursor-default;
user-select: none;
cursor: default;
} }
.hide-scrollbars { .hide-scrollbars {
@@ -30,11 +32,6 @@
} }
} }
.destroy-pointer-event,
.destroy-pointer-event * {
pointer-events: none !important;
}
/* Style the scrollbars */ /* Style the scrollbars */
::-webkit-scrollbar-corner, ::-webkit-scrollbar-corner,
::-webkit-scrollbar { ::-webkit-scrollbar {