Skip to content

Commit

Permalink
style: 💄 [Task] Thinner stroke
Browse files Browse the repository at this point in the history
  • Loading branch information
luciob committed Oct 16, 2023
1 parent ab521bb commit 79f163c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tasks/components/Task/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type TaskDimensions = {

const TASK_DEFAULT_FILL = "#FFFFFF";
const TASK_DEFAULT_STROKE = "#000000";
const TASK_DEFAULT_STROKE_WIDTH = 1;

const TASK_BORDER_RADIUS = 4;

Expand Down Expand Up @@ -286,6 +287,7 @@ const Task = ({ data, fill = TASK_DEFAULT_FILL, onLeave, onOver, x, y, width }:
onMouseMove={onTaskOver}
onMouseOver={onTaskOver}
stroke={TASK_DEFAULT_STROKE}
strokeWidth={TASK_DEFAULT_STROKE_WIDTH}
width={taskDimensions.width}
/>
<TaskResizeHandler
Expand Down

0 comments on commit 79f163c

Please sign in to comment.