* feat: add support for pointer cursor (cherry picked from commit dcabf91d843f2487ad32ceacfdd2d1b9d7c2a5bf) * fix: correct useEffect update (cherry picked from commit cbf0a821cd5a9b72b14b63c317d88e68fbd6783d) * feat: remove default values * feat: pointer cursor Signed-off-by: Innei <i@innei.in> * fix: remove select content animation when position is `item-aligned` Signed-off-by: Innei <i@innei.in> * update hover Signed-off-by: Innei <i@innei.in> --------- Signed-off-by: Innei <i@innei.in> Co-authored-by: Innei <i@innei.in>
38 lines
510 B
CSS
38 lines
510 B
CSS
html,
|
|
#shadow-html {
|
|
--fo-font-family: "SN Pro", system-ui, sans-serif;
|
|
}
|
|
|
|
body,
|
|
#root {
|
|
@apply h-screen;
|
|
@apply cursor-default;
|
|
@apply select-none;
|
|
/* @apply bg-white; */
|
|
|
|
@apply font-theme;
|
|
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
:focus-visible {
|
|
/* outline: theme(colors.theme.accent.DEFAULT) auto 1px; */
|
|
outline: none;
|
|
}
|
|
|
|
button {
|
|
cursor: var(--pointer);
|
|
}
|
|
|
|
.prose a {
|
|
@apply cursor-pointer;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
::selection {
|
|
@apply bg-accent/80 text-white;
|
|
}
|