@hanzo/design 0.5.19 → 0.5.20
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/styles.css +7 -0
- package/tokens/base.css +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/design",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.20",
|
|
4
4
|
"packageManager": "pnpm@11.17.0",
|
|
5
5
|
"description": "Hanzo Design System \u2014 monochrome, dark-default tokens + components + brand assets, the single source of truth for every Hanzo surface. CSS + typed programmatic tokens.",
|
|
6
6
|
"license": "MIT OR Apache-2.0",
|
package/styles.css
CHANGED
|
@@ -1122,6 +1122,13 @@
|
|
|
1122
1122
|
:where(*)::-webkit-scrollbar-thumb{background:var(--white-15);border-radius:var(--radius-full)}
|
|
1123
1123
|
:where(*)::-webkit-scrollbar-thumb:hover{background:var(--white-30)}
|
|
1124
1124
|
:where(*)::-webkit-scrollbar-corner{background:transparent}
|
|
1125
|
+
/* The stepper arrows, and they are a LINUX defect specifically. Chromium on
|
|
1126
|
+
macOS draws no buttons, so styling the track and thumb looks finished there
|
|
1127
|
+
and ships a classic GTK scrollbar — a boxed arrow at each end of every
|
|
1128
|
+
scroller, on both axes — to everyone on Ubuntu. Styling the other pseudos
|
|
1129
|
+
does not suppress them; only this does. Zero width AND height because the
|
|
1130
|
+
horizontal and vertical bars each read one of them. */
|
|
1131
|
+
:where(*)::-webkit-scrollbar-button{display:none;width:0;height:0}
|
|
1125
1132
|
.light :where(*)::-webkit-scrollbar-thumb{background:rgb(0 0 0 / .18)}
|
|
1126
1133
|
.light :where(*)::-webkit-scrollbar-thumb:hover{background:rgb(0 0 0 / .32)}
|
|
1127
1134
|
}
|
package/tokens/base.css
CHANGED
|
@@ -217,6 +217,13 @@
|
|
|
217
217
|
:where(*)::-webkit-scrollbar-thumb{background:var(--white-15);border-radius:var(--radius-full)}
|
|
218
218
|
:where(*)::-webkit-scrollbar-thumb:hover{background:var(--white-30)}
|
|
219
219
|
:where(*)::-webkit-scrollbar-corner{background:transparent}
|
|
220
|
+
/* The stepper arrows, and they are a LINUX defect specifically. Chromium on
|
|
221
|
+
macOS draws no buttons, so styling the track and thumb looks finished there
|
|
222
|
+
and ships a classic GTK scrollbar — a boxed arrow at each end of every
|
|
223
|
+
scroller, on both axes — to everyone on Ubuntu. Styling the other pseudos
|
|
224
|
+
does not suppress them; only this does. Zero width AND height because the
|
|
225
|
+
horizontal and vertical bars each read one of them. */
|
|
226
|
+
:where(*)::-webkit-scrollbar-button{display:none;width:0;height:0}
|
|
220
227
|
.light :where(*)::-webkit-scrollbar-thumb{background:rgb(0 0 0 / .18)}
|
|
221
228
|
.light :where(*)::-webkit-scrollbar-thumb:hover{background:rgb(0 0 0 / .32)}
|
|
222
229
|
}
|