1
0
Fork 0

chore: Linedrawing issues

This commit is contained in:
joostdecock 2024-10-12 16:41:28 +02:00
parent 9de6d9a69a
commit 28e7ad0739
7 changed files with 26 additions and 8 deletions

View file

@ -31,12 +31,17 @@ export const LineDrawingWrapper = ({
)
/*
* Think stroke-width helper to ensure consistency across linedrawings
* Regular stroke-width helper to ensure consistency across linedrawings
*/
export const regular = (stroke = 1) => ({ strokeWidth: stroke })
/*
* Thin stroke-width helper to ensure consistency across linedrawings
*/
export const thin = (stroke = 1) => ({ strokeWidth: stroke / 2 })
/*
* Think stroke-width helper to ensure consistency across linedrawings
* Very thin stroke-width helper to ensure consistency across linedrawings
*/
export const veryThin = (stroke = 1) => ({ strokeWidth: stroke / 3 })