@boyernick/standard-ui-react 0.4.2-canary.64 → 0.4.2-canary.65

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/package.json +1 -1
  2. package/src/modal.tsx +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyernick/standard-ui-react",
3
- "version": "0.4.2-canary.64",
3
+ "version": "0.4.2-canary.65",
4
4
  "description": "React components for StandardUI",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/modal.tsx CHANGED
@@ -149,7 +149,9 @@ export const ModalTrigger = ({
149
149
  )
150
150
 
151
151
  const ModalBackdrop = () => (
152
- <DialogBackdrop className="bg-surface-scrim/95" />
152
+ // DialogBackdrop is black/60 in dark mode; say 95 there too, or the page
153
+ // shows through behind the image.
154
+ <DialogBackdrop className="bg-surface-scrim/95 dark:bg-surface-scrim/95" />
153
155
  )
154
156
 
155
157
  const ModalBackground = ({ src }: { src: string }) => (