@banyan_cloud/roots 1.0.99 → 1.0.101
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/cjs/index.js +1507 -1107
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1505 -1107
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +1505 -1107
- package/package.json +1 -1
- package/styles/_utils.scss +32 -2
package/package.json
CHANGED
package/styles/_utils.scss
CHANGED
|
@@ -50,10 +50,40 @@
|
|
|
50
50
|
scrollbar-width: none;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
@mixin customScrollBar($theme: dark) {
|
|
54
|
+
-ms-overflow-style: none;
|
|
55
|
+
scrollbar-width: thin;
|
|
56
|
+
|
|
57
|
+
&::-webkit-scrollbar {
|
|
58
|
+
width: 0.25rem;
|
|
59
|
+
background: transparent;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&::-webkit-scrollbar-thumb {
|
|
63
|
+
border-radius: 0.25rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@if $theme == dark {
|
|
67
|
+
&::-webkit-scrollbar-thumb {
|
|
68
|
+
background: $grey6;
|
|
69
|
+
}
|
|
70
|
+
} @else {
|
|
71
|
+
&::-webkit-scrollbar-thumb {
|
|
72
|
+
background: $grey2;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
53
77
|
@function derive-rgb-values-from-hex($hex) {
|
|
54
78
|
@return red($hex), green($hex), blue($hex);
|
|
55
79
|
}
|
|
56
80
|
|
|
57
|
-
@mixin boxShadow {
|
|
58
|
-
|
|
81
|
+
@mixin boxShadow($theme: light) {
|
|
82
|
+
@if $theme == dark {
|
|
83
|
+
box-shadow: 0px 8px 20px rgba(24, 24, 24, 0.08);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@if $theme == light {
|
|
87
|
+
box-shadow: 0px 8px 20px rgba(24, 24, 24, 0.08);
|
|
88
|
+
}
|
|
59
89
|
}
|