@cmdniels/uikit 1.5.7 → 1.5.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tailwind.css +41 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmdniels/uikit",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
package/tailwind.css CHANGED
@@ -180,3 +180,44 @@
180
180
  background-color: var(--scrollbar-track-color);
181
181
  }
182
182
  }
183
+
184
+ @layer base {
185
+ html {
186
+ overflow-y: scroll;
187
+ }
188
+
189
+ /* Firefox ONLY — this kills webkit pseudo-elements in Chrome 121+ if applied globally */
190
+ @supports not selector(::-webkit-scrollbar) {
191
+ * {
192
+ scrollbar-width: auto;
193
+ scrollbar-color: rgba(128, 128, 128, 0.4) transparent;
194
+ }
195
+ }
196
+
197
+ /* WebKit / Chromium — only runs where ::-webkit-scrollbar is supported */
198
+ ::-webkit-scrollbar {
199
+ width: 8px;
200
+ height: 8px;
201
+ }
202
+
203
+ ::-webkit-scrollbar-track {
204
+ background: transparent;
205
+ }
206
+
207
+ ::-webkit-scrollbar-thumb {
208
+ background: rgba(128, 128, 128, 0.4);
209
+ border-radius: 4px;
210
+ }
211
+
212
+ ::-webkit-scrollbar-thumb:hover {
213
+ background: rgba(128, 128, 128, 0.6);
214
+ }
215
+
216
+ ::-webkit-scrollbar-button {
217
+ display: none;
218
+ }
219
+
220
+ ::-webkit-scrollbar-corner {
221
+ background: transparent;
222
+ }
223
+ }