Skip to content

Commit

Permalink
fix piece docs colors
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicvaz committed Mar 19, 2024
1 parent e5c3500 commit 515f137
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import CloseIcon from "@mui/icons-material/Close";
import DragHandleIcon from "@mui/icons-material/DragHandle";
import { Popover, IconButton, Typography } from "@mui/material";
import theme from "providers/theme.config";
import React from "react";
import Draggable from "react-draggable";

Expand Down Expand Up @@ -84,7 +85,7 @@ const PieceDocsPopover: React.FC<PieceDocsPopoverProps> = ({
paddingBottom: "2rem",
overflow: "hidden",
"& .popover-handle": {
backgroundColor: "#323C3D",
backgroundColor: theme.palette.primary.main,
padding: "0.5rem",
"& .drag-handle": {
cursor: "move",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import HelpIcon from "@mui/icons-material/Help";
import { Box, Typography, IconButton } from "@mui/material";
import theme from "providers/theme.config";
import React, { type FC, useState } from "react";

import PieceDocsPopover from "./pieceDocsPopover";
Expand Down Expand Up @@ -60,7 +61,9 @@ const PiecesSidebarNode: FC<{
</Typography>

<IconButton sx={{ padding: 0 }} onClick={handlePopoverOpen}>
<HelpIcon sx={{ height: "20px" }} />
<HelpIcon
sx={{ height: "20px", color: theme.palette.primary.main }}
/>
</IconButton>
</div>

Expand Down

0 comments on commit 515f137

Please sign in to comment.