We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe8aaac commit e3f8a3dCopy full SHA for e3f8a3d
src/theme/IdealImage/index.tsx
@@ -173,7 +173,9 @@ export default function IdealImage(
173
174
const containerStyles: React.CSSProperties = {
175
position: "relative",
176
- ...(background ? { backgroundColor: background } : {}),
+ ...(background
177
+ ? { backgroundColor: background == "white" ? "white" : "rgb(31 31 28)" }
178
+ : {}),
179
marginBottom: "16px",
180
};
181
src/theme/IdealImage/styles.module.css
@@ -15,5 +15,5 @@
15
}
16
17
.customWhiteZoom [data-rmiz-modal-img] {
18
- background-color: rgb(255, 255, 255) !important;
+ background-color: rgb(31 31 28) !important;
19
0 commit comments