figma-kit 1.0.0-beta.22 → 1.0.0-beta.23

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.
Files changed (2) hide show
  1. package/dist/styles.css +5 -3
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -79,15 +79,16 @@
79
79
  --letter-spacing-10: -0.0255rem;
80
80
  --letter-spacing-default: var(--letter-spacing-3);
81
81
  }
82
- :root {
82
+ :root,
83
+ .light,
84
+ .light-theme {
83
85
  --elevation-100: 0px 0px 0.5px rgba(0, 0, 0, 0.3), 0px 1px 3px rgba(0, 0, 0, 0.15);
84
86
  --elevation-200: 0px 0px 0.5px rgba(0, 0, 0, 0.18), 0px 3px 8px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
85
87
  --elevation-300: 0px 0px 0.5px rgba(0, 0, 0, 0.15), 0px 5px 12px rgba(0, 0, 0, 0.13), 0px 1px 3px rgba(0, 0, 0, 0.1);
86
88
  --elevation-400: 0px 0px 0.5px rgba(0, 0, 0, 0.12), 0px 10px 16px rgba(0, 0, 0, 0.12), 0px 2px 5px rgba(0, 0, 0, 0.15);
87
89
  --elevation-500: 0px 0px 0.5px rgba(0, 0, 0, 0.08), 0px 10px 24px rgba(0, 0, 0, 0.18), 0px 2px 5px rgba(0, 0, 0, 0.15);
88
90
  }
89
- .dark,
90
- .dark-theme {
91
+ .figma-dark {
91
92
  --elevation-100: 0px 0px 0.5px rgba(0, 0, 0, 0.5), 0px 1px 3px rgba(0, 0, 0, 0.4),
92
93
  inset 0px 0.5px 0px rgba(255, 255, 255, 0.1), inset 0px 0px 0.5px rgba(255, 255, 255, 0.3);
93
94
 
@@ -819,6 +820,7 @@
819
820
  letter-spacing: var(--letter-spacing-default);
820
821
  line-height: var(--line-height-default);
821
822
  border-radius: var(--radius-medium);
823
+ --color-icon: currentColor;
822
824
  }
823
825
  .fp-Button:where(.fp-variant-secondary) {
824
826
  --button-color-bg: transparent;
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.22",
5
+ "version": "1.0.0-beta.23",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",