@photoroom/ui 0.1.232 → 0.1.234

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/index.mjs CHANGED
@@ -1836,6 +1836,7 @@ var Sr = U("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit
1836
1836
  "secondary-outline": "border-misc-border misc-border-size-default text-content-primary hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator active:bg-background-subdued-down bg-transparent",
1837
1837
  negative: "bg-negative-alpha-1 text-content-negative hover:bg-negative-alpha-2 focus-visible:bg-negative-alpha-2 focus-visible:ring-misc-focus-indicator active:bg-negative-alpha-3",
1838
1838
  pro: "bg-content-accent! bg-background-pro hover:bg-background-pro-hover focus-visible:ring-misc-focus-indicator focus-visible:bg-background-pro-hover active:bg-background-pro-down text-white",
1839
+ flash: "bg-background-flash hover:bg-background-flash-hover focus-visible:bg-background-flash-hover focus-visible:ring-misc-focus-indicator active:bg-background-flash-down text-content-black-primary",
1839
1840
  "on-dark": "bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover focus-visible:ring-misc-white-focus-indicator active:bg-background-white text-black",
1840
1841
  "secondary-on-dark": "bg-background-white-subdued text-content-white-primary hover:bg-background-white-subdued-hover focus-visible:bg-background-white-subdued-hover focus-visible:ring-misc-white-focus-indicator active:bg-background-white-subdued-down",
1841
1842
  "borderless-on-dark": "hover:bg-background-white-subdued-hover focus-visible:bg-background-white-subdued-hover active:bg-background-white-subdued-down focus-visible:ring-misc-white-focus-indicator text-white"
@@ -6119,10 +6120,15 @@ var Ls = l(({ as: e = "button", type: t = "button", className: n, variant: r = "
6119
6120
  "bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down": r === "primary",
6120
6121
  "bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover active:bg-background-white-down": r === "on-dark",
6121
6122
  "bg-content-accent bg-background-pro hover:bg-background-pro-hover focus-visible:ring-misc-focus-indicator focus-visible:bg-background-pro-hover active:bg-background-pro-down": r === "pro",
6123
+ "bg-background-flash hover:bg-background-flash-hover focus-visible:bg-background-flash-hover active:bg-background-flash-down": r === "flash",
6122
6124
  "text-content-white-primary": ["accent", "pro"].includes(r),
6123
6125
  "text-content-white-primary-inverted": r === "primary",
6124
- "text-content-black-primary": r === "on-dark",
6125
- "focus-visible:ring-misc-focus-indicator": ["accent", "primary"].includes(r),
6126
+ "text-content-black-primary": ["on-dark", "flash"].includes(r),
6127
+ "focus-visible:ring-misc-focus-indicator": [
6128
+ "accent",
6129
+ "primary",
6130
+ "flash"
6131
+ ].includes(r),
6126
6132
  "focus-visible:ring-misc-white-focus-indicator": r === "on-dark",
6127
6133
  "cursor-pointer": !c.disabled,
6128
6134
  "cursor-not-allowed opacity-30": c.disabled && !a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.232",
3
+ "version": "0.1.234",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
package/theme.css CHANGED
@@ -101,6 +101,17 @@
101
101
  /* Camera accent */
102
102
  --color-camera-accent-500: var(--color-camera-accent-500);
103
103
 
104
+ /* Yellow (wipes Tailwind's default yellow scale so only Prism steps exist) */
105
+ --color-yellow-*: initial;
106
+ --color-yellow-400: var(--color-yellow-400);
107
+ --color-yellow-500: var(--color-yellow-500);
108
+ --color-yellow-600: var(--color-yellow-600);
109
+
110
+ /* Yellow light */
111
+ --color-yellow-light-400: var(--color-yellow-light-400);
112
+ --color-yellow-light-500: var(--color-yellow-light-500);
113
+ --color-yellow-light-600: var(--color-yellow-light-600);
114
+
104
115
  /* Branding */
105
116
  --color-secondary-moon-grape: var(--color-secondary-moon-grape);
106
117
  --color-secondary-electric-litchi: var(--color-secondary-electric-litchi);
@@ -210,10 +221,6 @@
210
221
  --color-misc-ai-image: var(--color-misc-ai-image);
211
222
  --color-misc-ai-video: var(--color-misc-ai-video);
212
223
 
213
- /* Yellow flash */
214
- --color-misc-yellow: var(--color-misc-yellow);
215
- --color-misc-yellow-light: var(--color-misc-yellow-light);
216
-
217
224
  --color-checker: var(--color-checker);
218
225
 
219
226
  /*