chore: Linedrawing issues
This commit is contained in:
parent
9de6d9a69a
commit
28e7ad0739
7 changed files with 26 additions and 8 deletions
|
@ -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 })
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue