@photoroom/ui 0.1.132 → 0.1.133

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/colors.css CHANGED
@@ -12,7 +12,8 @@
12
12
  * `bg-gray/80`).
13
13
  */
14
14
 
15
- :root {
15
+ :root,
16
+ .theme-light {
16
17
  /*
17
18
  * BASE
18
19
  */
@@ -221,6 +222,18 @@
221
222
  --color-misc-automated-exports: #aa4fff;
222
223
  }
223
224
 
225
+ /*
226
+ * Light-mode scoping helper. The combined `:root, .theme-light` selector
227
+ * above re-asserts the light token values on a `.theme-light` subtree even
228
+ * when an ancestor has `.theme-dark`. Pinning `color-scheme` and a default
229
+ * `color` here keeps the browser's `CanvasText` and unstyled inherited text
230
+ * visible regardless of the surrounding scheme.
231
+ */
232
+ .theme-light {
233
+ color-scheme: light;
234
+ color: var(--color-content-primary);
235
+ }
236
+
224
237
  /*
225
238
  * DARK MODE
226
239
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../src/components/structure/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,UAAU;;8EAYd,CAAC;AAeH,KAAK,eAAe,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG,QAAQ,CACjC;IACE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,eAAe,CACpB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,oBAAoB,YAAY,4CAQvD,CAAC"}
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../src/components/structure/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,UAAU;;8EAYd,CAAC;AAeH,KAAK,eAAe,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG,QAAQ,CACjC;IACE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,eAAe,CACpB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,oBAAoB,YAAY,4CAYvD,CAAC"}