From 3e89d2998588f8e35c524e523ba2ee853f0f6475 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Mon, 20 Apr 2026 11:31:17 +0200 Subject: refactor: restructure files to their domains, new preview overlay system, and dep graph --- apps/web/src/text/typography.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 apps/web/src/text/typography.ts (limited to 'apps/web/src/text/typography.ts') diff --git a/apps/web/src/text/typography.ts b/apps/web/src/text/typography.ts new file mode 100644 index 00000000..837236ab --- /dev/null +++ b/apps/web/src/text/typography.ts @@ -0,0 +1,9 @@ +export const MIN_FONT_SIZE = 5; +export const MAX_FONT_SIZE = 300; +export const DEFAULT_TEXT_COLOR = "#000000"; + +/** + * higher value: smaller font size + * lower value: larger font size + */ +export const FONT_SIZE_SCALE_REFERENCE = 90; -- cgit v1.3.1