Improve the design of workflow nodes (#9810)

- Go over every node in the workflows and fix the styles to conform to
Figma
- Create stories for every node type
This commit is contained in:
Baptiste Devessier
2025-01-23 16:12:37 +01:00
committed by GitHub
parent 337b6a86ab
commit bbb0c9a761
15 changed files with 329 additions and 37 deletions

View File

@ -0,0 +1 @@
export const NODE_BORDER_WIDTH = 1;

View File

@ -0,0 +1,3 @@
import { NODE_HANDLE_WIDTH_PX } from './NodeHandleWidthPx';
export const NODE_HANDLE_HEIGHT_PX = NODE_HANDLE_WIDTH_PX;

View File

@ -0,0 +1 @@
export const NODE_HANDLE_WIDTH_PX = 4;

View File

@ -0,0 +1,5 @@
import { THEME_COMMON } from 'twenty-ui';
export const NODE_ICON_LEFT_MARGIN = Number(
THEME_COMMON.spacing(2).replace('px', ''),
);

View File

@ -0,0 +1,5 @@
import { THEME_COMMON } from 'twenty-ui';
export const NODE_ICON_WIDTH = Number(
THEME_COMMON.spacing(6).replace('px', ''),
);