@latte-macchiat-io/latte-vanilla-components 0.0.228 → 0.0.230
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
@@ -135,6 +135,7 @@ globalStyle(`${playButton} svg`, {
|
|
135
135
|
'@media': {
|
136
136
|
...generateResponsiveMedia({
|
137
137
|
width: themeContract.video.playButton.iconSize,
|
138
|
+
height: themeContract.video.playButton.iconSize,
|
138
139
|
}),
|
139
140
|
},
|
140
141
|
});
|
@@ -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
|
+
});
|
@@ -671,12 +671,12 @@ export const themeContract = createGlobalThemeContract({
|
|
671
671
|
'2xl': 'latte-video-playButton-width-2xl',
|
672
672
|
},
|
673
673
|
height: {
|
674
|
-
mobile: 'latte-video-
|
675
|
-
sm: 'latte-video-
|
676
|
-
md: 'latte-video-
|
677
|
-
lg: 'latte-video-
|
678
|
-
xl: 'latte-video-
|
679
|
-
'2xl': 'latte-video-
|
674
|
+
mobile: 'latte-video-playButton-height-mobile',
|
675
|
+
sm: 'latte-video-playButton-height-sm',
|
676
|
+
md: 'latte-video-playButton-height-md',
|
677
|
+
lg: 'latte-video-playButton-height-lg',
|
678
|
+
xl: 'latte-video-playButton-height-xl',
|
679
|
+
'2xl': 'latte-video-playButton-height-2xl',
|
680
680
|
},
|
681
681
|
iconSize: {
|
682
682
|
mobile: 'latte-video-playButton-iconSize-mobile',
|