@duonghieu0712z/create-tauri-vue-template 0.0.20 → 0.0.22

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.
@@ -1,5 +1,3 @@
1
- import { createApp } from 'vue';
2
-
3
1
  import App from '@/App.vue';
4
2
 
5
3
  import '@/styles/globals.css';
@@ -149,12 +149,23 @@
149
149
  }
150
150
  }
151
151
 
152
- @layer utilities {
153
- .scrollbar {
154
- @apply [&::-webkit-scrollbar]:w-1.5;
155
- @apply [&::-webkit-scrollbar-track]:bg-transparent;
156
- @apply [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:border;
157
- @apply [&::-webkit-scrollbar-thumb]:border-transparent [&::-webkit-scrollbar-thumb]:bg-clip-content;
158
- @apply [&::-webkit-scrollbar-thumb]:bg-input [&::-webkit-scrollbar-thumb:hover]:bg-ring;
152
+ @utility scrollbar {
153
+ &::-webkit-scrollbar {
154
+ width: calc(var(--spacing) * 1.5);
155
+ }
156
+
157
+ &::-webkit-scrollbar-track {
158
+ background-color: transparent;
159
+ }
160
+
161
+ &::-webkit-scrollbar-thumb {
162
+ border: 1px solid transparent;
163
+ border-radius: calc(infinity* 1px);
164
+ background-clip: content-box;
165
+ background-color: var(--color-input);
166
+ }
167
+
168
+ &::-webkit-scrollbar-thumb:hover {
169
+ background-color: var(--color-ring);
159
170
  }
160
171
  }