@namba_one/ui-kit-2 1.0.29 → 1.0.31
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/dist/scss/mixins.scss +20 -0
- package/package.json +1 -1
package/dist/scss/mixins.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
@use './typography' as *;
|
|
5
5
|
@use './spaces' as *;
|
|
6
|
+
@use './functions' as *;
|
|
6
7
|
|
|
7
8
|
@mixin newFont($family, $pathName, $weight, $style: normal) {
|
|
8
9
|
@font-face {
|
|
@@ -226,3 +227,22 @@ $weights: (
|
|
|
226
227
|
@content;
|
|
227
228
|
}
|
|
228
229
|
}
|
|
230
|
+
|
|
231
|
+
@mixin custom-scrollbar {
|
|
232
|
+
@include media-hover-device {
|
|
233
|
+
&::-webkit-scrollbar {
|
|
234
|
+
width: rem(4);
|
|
235
|
+
height: rem(4);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
&::-webkit-scrollbar-track {
|
|
239
|
+
background-color: transparent;
|
|
240
|
+
border-radius: rem(4);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&::-webkit-scrollbar-thumb {
|
|
244
|
+
background-color: var(--bg-common-base-tertiary-default);
|
|
245
|
+
border-radius: rem(4);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|