@latte-macchiat-io/latte-vanilla-components 0.0.227 → 0.0.228

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": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.227",
3
+ "version": "0.0.228",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -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,14 @@ 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
+ }),
139
+ },
140
+ });
141
+
142
142
  const controlButton = style({
143
143
  border: 'none',
144
144
  display: 'flex',