figma-kit 1.0.0-beta.11 → 1.0.0-beta.13

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.
@@ -242,7 +242,7 @@ export default {
242
242
  large: 'var(--line-height-5)',
243
243
  },
244
244
  borderRadius: {
245
- none: 'none',
245
+ none: 0,
246
246
  'extra-small': 'var(--radius-extra-small)',
247
247
  small: 'var(--radius-small)',
248
248
  medium: 'var(--radius-medium)',
@@ -284,4 +284,23 @@ export default {
284
284
  };
285
285
  },
286
286
  },
287
+ plugins: [
288
+ function ({ addUtilities, theme }) {
289
+ const iconColors = {
290
+ current: 'currentColor',
291
+ inherit: 'inherit',
292
+ transparent: 'transparent',
293
+ ...theme('colors').icon,
294
+ };
295
+
296
+ const newUtilities = Object.keys(iconColors).reduce((acc, colorName) => {
297
+ acc[`.icon-${colorName}`] = {
298
+ '--color-icon': iconColors[colorName],
299
+ };
300
+ return acc;
301
+ }, {});
302
+
303
+ addUtilities(newUtilities, ['responsive', 'hover']);
304
+ },
305
+ ],
287
306
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "figma-kit",
3
3
  "description": "A set of React components for building Figma plugins.",
4
4
  "homepage": "https://figma-kit.dev",
5
- "version": "1.0.0-beta.11",
5
+ "version": "1.0.0-beta.13",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",