Web: Components: TreeMenu: fix selected node color

This commit is contained in:
Viktor Fomin 2022-04-25 17:40:34 +03:00
parent 10506fe2c0
commit 8ba7bdae0f
3 changed files with 3 additions and 1 deletions

View File

@ -1227,6 +1227,7 @@ const Base = {
},
treeNode: {
background: "#f3f4f4",
dragging: {
draggable: {
background: lightCumulus,

View File

@ -1224,6 +1224,7 @@ const Dark = {
},
treeNode: {
background: "#3D3D3D",
dragging: {
draggable: {
background: "rgba(230, 211, 138, 0.12)",

View File

@ -104,7 +104,7 @@ const StyledTreeMenu = styled(Tree)`
width: 100%;
width: ${(props) => props.widthAdditional};
height: 36px;
background-color: #f3f4f4;
background-color: ${(props) => props.theme.treeNode.background};
content: "";
z-index: 1;
right: -${(props) => props.multiplicationFactor - 4}px;