frutjam 0.8.1-beta.1 → 0.8.1-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frutjam",
3
- "version": "0.8.1-beta.1",
3
+ "version": "0.8.1-beta.2",
4
4
  "description": "A utility-first CSS framework UI Library",
5
5
  "main": "./dist/frutjam.css",
6
6
  "browser": "dist/frutjam.css",
@@ -206,8 +206,10 @@
206
206
  }
207
207
  }
208
208
 
209
- &:is(:hover) {
210
- @apply btn-active;
209
+ @media (hover: hover) {
210
+ &:is(:hover) {
211
+ @apply btn-active;
212
+ }
211
213
  }
212
214
  }
213
215
 
@@ -95,12 +95,11 @@
95
95
  }
96
96
 
97
97
  &::file-selector-button{
98
- @apply mr-4 inline-flex items-center;
99
- font-size: clamp(0.75rem, calc(1rem/2), 1.025rem);
98
+ @apply mr-4 inline-flex items-center transition duration-300 text-sm;
100
99
  border-radius: calc(var(--radius-input)/2);
101
100
  border: 0;
102
101
  background: light-dark(
103
- var(--input-300),
102
+ var(--input-100),
104
103
  var(--input-800)
105
104
  );
106
105
  font-weight: semibold;
@@ -110,11 +109,18 @@
110
109
  );
111
110
  padding-block: calc(var(--input-block)/6);
112
111
  padding-inline: calc(var(--input-inline)/2);
113
- &:hover{
114
- color: light-dark(
115
- var(--input-600),
116
- var(--input-300)
117
- );
112
+
113
+ @media (hover: hover) {
114
+ &:hover{
115
+ color: light-dark(
116
+ var(--input-900),
117
+ var(--input-300)
118
+ );
119
+ background: light-dark(
120
+ var(--input-200),
121
+ var(--input-700)
122
+ );
123
+ }
118
124
  }
119
125
  }
120
126