Explorar o código

flow node styling

AykutSarac %!s(int64=3) %!d(string=hai) anos
pai
achega
bb47ca8ade
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/pages/editor/LiveEditor/Node.tsx

+ 2 - 1
src/pages/editor/LiveEditor/Node.tsx

@@ -3,7 +3,8 @@ import { Handle, Position } from "react-flow-renderer";
 import styled from "styled-components";
 
 const StyledWrapper = styled.div<{ isArray?: boolean }>`
-  background: ${({ theme }) => theme.BLACK_SECONDARY};
+  background: ${({ theme }) => theme.BLACK_PRIMARY};
+  border: 1px solid ${({ theme }) => theme.BLACK};
   border-radius: 5px;
   padding: 16px;
   color: ${({ theme, isArray }) => isArray && theme.SEAGREEN};