feat(typographyControl): add letter spacing control

This commit is contained in:
Ilia Mashkov
2026-01-22 15:36:30 +03:00
parent 1712134f64
commit a9e2898945
2 changed files with 23 additions and 0 deletions

View File

@@ -21,3 +21,11 @@ export const DEFAULT_LINE_HEIGHT = 1.5;
export const MIN_LINE_HEIGHT = 1;
export const MAX_LINE_HEIGHT = 2;
export const LINE_HEIGHT_STEP = 0.05;
/**
* Letter spacing constants
*/
export const DEFAULT_LETTER_SPACING = 0;
export const MIN_LETTER_SPACING = -0.1;
export const MAX_LETTER_SPACING = 0.5;
export const LETTER_SPACING_STEP = 0.01;