fix: enforce handbook scrollbar and reduced motion contracts

This commit is contained in:
maoyingjie
2026-10-27 21:10:51 +08:00
parent b1344d8a4c
commit 202e3a5b5d
23 changed files with 702 additions and 23 deletions
+19
View File
@@ -0,0 +1,19 @@
/* Adapted from HeroUI ce90ea3, packages/styles/base/scrollbar.css.
* Copyright 2025 NextUI Inc. Apache-2.0; see third-party/HEROUI-LICENSE. */
[data-scrollbar="thin"] {
--scrollbar-width: thin;
--scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
--scrollbar-gutter: auto;
}
[data-scrollbar="default"] {
--scrollbar-width: auto;
--scrollbar-color: auto;
--scrollbar-gutter: auto;
}
[data-scrollbar="none"] {
--scrollbar-width: none;
--scrollbar-color: auto;
--scrollbar-gutter: auto;
}