@lowdefy/build 5.0.0 → 5.1.0
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.
|
@@ -95,6 +95,35 @@ ${userStylesImport}/* Content sources for Tailwind JIT — block JS content coll
|
|
|
95
95
|
/* Imported CSS file — when this changes, PostCSS re-runs and Tailwind re-scans @source */
|
|
96
96
|
@import "./tailwind-candidates.css";
|
|
97
97
|
|
|
98
|
+
/* Themed scrollbars — opts out of the browser default that clashes on dark surfaces,
|
|
99
|
+
especially on Windows/Linux where scrollbars are always visible and native-chrome.
|
|
100
|
+
Colors use antd CSS custom properties so they auto-swap with dark/light mode. */
|
|
101
|
+
@layer base {
|
|
102
|
+
* {
|
|
103
|
+
scrollbar-width: thin;
|
|
104
|
+
scrollbar-color: var(--ant-color-border-secondary, rgba(0, 0, 0, 0.15)) transparent;
|
|
105
|
+
}
|
|
106
|
+
*::-webkit-scrollbar {
|
|
107
|
+
width: 10px;
|
|
108
|
+
height: 10px;
|
|
109
|
+
}
|
|
110
|
+
*::-webkit-scrollbar-track {
|
|
111
|
+
background: transparent;
|
|
112
|
+
}
|
|
113
|
+
*::-webkit-scrollbar-thumb {
|
|
114
|
+
background-color: var(--ant-color-border-secondary, rgba(0, 0, 0, 0.15));
|
|
115
|
+
background-clip: padding-box;
|
|
116
|
+
border: 2px solid transparent;
|
|
117
|
+
border-radius: 10px;
|
|
118
|
+
}
|
|
119
|
+
*::-webkit-scrollbar-thumb:hover {
|
|
120
|
+
background-color: var(--ant-color-text-tertiary, rgba(0, 0, 0, 0.45));
|
|
121
|
+
}
|
|
122
|
+
*::-webkit-scrollbar-corner {
|
|
123
|
+
background: transparent;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
98
127
|
/* Antd-to-Tailwind theme bridge — extends default Tailwind theme with antd design tokens */
|
|
99
128
|
@theme inline {
|
|
100
129
|
${themeVars}
|