@cosxai/ui 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/styles/base.css +15 -0
package/package.json
CHANGED
package/src/styles/base.css
CHANGED
|
@@ -107,3 +107,18 @@ a:visited { color: var(--ck-accent); }
|
|
|
107
107
|
animation: none;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
+
|
|
111
|
+
/* Scrollbars — macOS renders auto-hiding overlay bars, but Windows
|
|
112
|
+
(and Linux) render CLASSIC opaque gutters that read as heavy grey
|
|
113
|
+
slabs against the kit's editorial surfaces (QA: Ben, 2026-07-19).
|
|
114
|
+
The standard properties slim them down and tint the thumb from
|
|
115
|
+
the theme's border token so both light and dark chrome stay
|
|
116
|
+
coherent. `scrollbar-color` inherits from :root; `scrollbar-width`
|
|
117
|
+
doesn't, hence the universal selector. Browsers without support
|
|
118
|
+
(older Safari) keep their native overlay bars — already fine. */
|
|
119
|
+
* {
|
|
120
|
+
scrollbar-width: thin;
|
|
121
|
+
}
|
|
122
|
+
:root {
|
|
123
|
+
scrollbar-color: var(--ck-border-strong, rgba(0, 0, 0, 0.25)) transparent;
|
|
124
|
+
}
|