Fixed Attribution Text on Dark Mode
This commit is contained in:
parent
04ab3cde15
commit
919ae5f325
2 changed files with 2 additions and 0 deletions
|
|
@ -345,6 +345,7 @@ export default function FlowPage({ flow }: { flow: FlowType }) {
|
||||||
panOnDrag={!disableCopyPaste}
|
panOnDrag={!disableCopyPaste}
|
||||||
zoomOnDoubleClick={!disableCopyPaste}
|
zoomOnDoubleClick={!disableCopyPaste}
|
||||||
selectNodesOnDrag={false}
|
selectNodesOnDrag={false}
|
||||||
|
className="theme-attribution"
|
||||||
>
|
>
|
||||||
<Background className="dark:bg-gray-900" />
|
<Background className="dark:bg-gray-900" />
|
||||||
<Controls className="[&>button]:text-black [&>button]:dark:bg-gray-800 hover:[&>button]:dark:bg-gray-700 [&>button]:dark:text-gray-400 [&>button]:dark:fill-gray-400 [&>button]:dark:border-gray-600"></Controls>
|
<Controls className="[&>button]:text-black [&>button]:dark:bg-gray-800 hover:[&>button]:dark:bg-gray-700 [&>button]:dark:text-gray-400 [&>button]:dark:fill-gray-400 [&>button]:dark:border-gray-600"></Controls>
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
".dark .theme-attribution .react-flow__attribution": {
|
".dark .theme-attribution .react-flow__attribution": {
|
||||||
backgroundColor: "rgba(255, 255, 255, 0.2)",
|
backgroundColor: "rgba(255, 255, 255, 0.2)",
|
||||||
|
padding: "0px 5px",
|
||||||
},
|
},
|
||||||
".dark .theme-attribution .react-flow__attribution a": {
|
".dark .theme-attribution .react-flow__attribution a": {
|
||||||
color: "black",
|
color: "black",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue