@ciridae/ui 1.0.11 → 1.0.12

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.
@@ -192,13 +192,15 @@ const round = cva({
192
192
  // The edge's own 1px, as the design counts it; the bare button has neither.
193
193
  border: "1px solid transparent",
194
194
  borderRadius: "pill",
195
- color: "fg.muted",
195
+ // The icon is the whole control, so it is in the primary ink in every state, as the Figma's
196
+ // round button and its icon rule draw it; hover shows on the face.
197
+ color: "fg.primary",
196
198
  background: "[token(gradients.raised)]",
197
199
  cursor: "pointer",
198
200
  flexShrink: "0",
199
201
  transitionProperty: "[translate, background, color]",
200
202
  transitionDuration: "fast",
201
- _hover: { color: "fg.primary", background: "[token(gradients.raisedHover)]" },
203
+ _hover: { background: "[token(gradients.raisedHover)]" },
202
204
  _active: { translate: "[0 1px]" },
203
205
  _focusVisible: { focusRing: "outer" },
204
206
  // A round face fades further than other controls when it cannot be pressed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciridae/ui",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",