瀏覽代碼

flow node styling

AykutSarac 3 年之前
父節點
當前提交
bb47ca8ade
共有 1 個文件被更改,包括 2 次插入1 次删除
  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};