@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.
- package/package.json +1 -1
- package/src/modal.tsx +3 -1
package/package.json
CHANGED
package/src/modal.tsx
CHANGED
|
@@ -149,7 +149,9 @@ export const ModalTrigger = ({
|
|
|
149
149
|
)
|
|
150
150
|
|
|
151
151
|
const ModalBackdrop = () => (
|
|
152
|
-
|
|
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 }) => (
|