@jacshuo/onyx 2.4.0 → 2.5.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.
@@ -5817,6 +5817,43 @@
5817
5817
  font-size: 16px !important;
5818
5818
  }
5819
5819
  }
5820
+ * {
5821
+ scrollbar-width: thin;
5822
+ scrollbar-color: transparent transparent;
5823
+ }
5824
+ :hover {
5825
+ scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
5826
+ }
5827
+ .dark :hover {
5828
+ scrollbar-color: rgba(75, 85, 99, 0.5) transparent;
5829
+ }
5830
+ ::-webkit-scrollbar {
5831
+ width: 6px;
5832
+ height: 6px;
5833
+ }
5834
+ ::-webkit-scrollbar-track {
5835
+ background: transparent;
5836
+ }
5837
+ ::-webkit-scrollbar-thumb {
5838
+ background: transparent;
5839
+ border-radius: 9999px;
5840
+ transition: background 0.2s;
5841
+ }
5842
+ :hover::-webkit-scrollbar-thumb {
5843
+ background: rgba(156, 163, 175, 0.4);
5844
+ }
5845
+ :hover::-webkit-scrollbar-thumb:hover {
5846
+ background: rgba(156, 163, 175, 0.6);
5847
+ }
5848
+ .dark ::-webkit-scrollbar-thumb {
5849
+ background: transparent;
5850
+ }
5851
+ .dark :hover::-webkit-scrollbar-thumb {
5852
+ background: rgba(75, 85, 99, 0.5);
5853
+ }
5854
+ .dark :hover::-webkit-scrollbar-thumb:hover {
5855
+ background: rgba(75, 85, 99, 0.7);
5856
+ }
5820
5857
  }
5821
5858
  @property --tw-translate-x {
5822
5859
  syntax: "*";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacshuo/onyx",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Cross-platform React UI component library — works in web & Electron",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",