@latte-macchiat-io/latte-vanilla-components 0.0.227 → 0.0.229
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,4 +1,4 @@
|
|
1
|
-
import { style } from '@vanilla-extract/css';
|
1
|
+
import { globalStyle, style } from '@vanilla-extract/css';
|
2
2
|
import { calc } from '@vanilla-extract/css-utils';
|
3
3
|
import { recipe, RecipeVariants } from '@vanilla-extract/recipes';
|
4
4
|
|
@@ -120,14 +120,6 @@ export const playButton = style([
|
|
120
120
|
opacity: 0,
|
121
121
|
pointerEvents: 'none',
|
122
122
|
},
|
123
|
-
|
124
|
-
'& svg': {
|
125
|
-
'@media': {
|
126
|
-
...generateResponsiveMedia({
|
127
|
-
width: themeContract.video.playButton.iconSize,
|
128
|
-
}),
|
129
|
-
},
|
130
|
-
},
|
131
123
|
},
|
132
124
|
|
133
125
|
'@media': {
|
@@ -139,6 +131,15 @@ export const playButton = style([
|
|
139
131
|
},
|
140
132
|
]);
|
141
133
|
|
134
|
+
globalStyle(`${playButton} svg`, {
|
135
|
+
'@media': {
|
136
|
+
...generateResponsiveMedia({
|
137
|
+
width: themeContract.video.playButton.iconSize,
|
138
|
+
height: themeContract.video.playButton.iconSize,
|
139
|
+
}),
|
140
|
+
},
|
141
|
+
});
|
142
|
+
|
142
143
|
const controlButton = style({
|
143
144
|
border: 'none',
|
144
145
|
display: 'flex',
|
@@ -168,6 +169,15 @@ export const closeButton = style([
|
|
168
169
|
},
|
169
170
|
]);
|
170
171
|
|
172
|
+
globalStyle(`${closeButton} svg`, {
|
173
|
+
'@media': {
|
174
|
+
...generateResponsiveMedia({
|
175
|
+
width: themeContract.video.closeButton.iconSize,
|
176
|
+
height: themeContract.video.closeButton.iconSize,
|
177
|
+
}),
|
178
|
+
},
|
179
|
+
});
|
180
|
+
|
171
181
|
export const pauseButton = style([
|
172
182
|
controlButton,
|
173
183
|
{
|
@@ -187,6 +197,15 @@ export const pauseButton = style([
|
|
187
197
|
},
|
188
198
|
]);
|
189
199
|
|
200
|
+
globalStyle(`${pauseButton} svg`, {
|
201
|
+
'@media': {
|
202
|
+
...generateResponsiveMedia({
|
203
|
+
width: themeContract.video.pauseButton.iconSize,
|
204
|
+
height: themeContract.video.pauseButton.iconSize,
|
205
|
+
}),
|
206
|
+
},
|
207
|
+
});
|
208
|
+
|
190
209
|
export const soundButton = style([
|
191
210
|
controlButton,
|
192
211
|
|
@@ -206,3 +225,12 @@ export const soundButton = style([
|
|
206
225
|
},
|
207
226
|
},
|
208
227
|
]);
|
228
|
+
|
229
|
+
globalStyle(`${soundButton} svg`, {
|
230
|
+
'@media': {
|
231
|
+
...generateResponsiveMedia({
|
232
|
+
width: themeContract.video.soundButton.iconSize,
|
233
|
+
height: themeContract.video.soundButton.iconSize,
|
234
|
+
}),
|
235
|
+
},
|
236
|
+
});
|