diff --git a/data/tools.json b/data/tools.json index f948cc8..dc244cb 100644 --- a/data/tools.json +++ b/data/tools.json @@ -1361,6 +1361,30 @@ "difficulty": "Medium", "status": "live" }, + { + "id": "fluid-typography-calculator", + "name": "Fluid Typography & CSS clamp() Calculator Studio", + "shortDescription": "Visual calculator and simulator for generating CSS clamp() fluid typography and spacing expressions.", + "longDescription": "## Fluid Typography & CSS clamp() Calculator Studio\n\nA privacy-first client-side tool to calculate, preview, and generate responsive fluid typography and spacing using CSS `clamp(min, preferred, max)`.\n\n### Features\n\n- Visual Fluid Math Engine: Auto-calculates linear interpolation formulas (`clamp(min, calc(rem + vw), max)`) based on target viewports\n- Interactive Viewport Simulator: Drag-resizable stage to test fluid text reflow live across mobile, tablet, and desktop dimensions\n- Modular Type Ramp Generator: Quick-generate full typography scales (`sm`, `base`, `lg`, `xl`, `2xl`, `3xl`) using popular ratio presets (Major Second, Major Third, Golden Ratio)\n- One-Click CSS Variable Export: Export formatted CSS custom properties or utility class blocks (`--text-base: clamp(...)`)\n- Persistent Dark/Light theme mode", + "category": "css", + "tags": [ + "calculation", + "clamp", + "css", + "css-variables", + "developer-tools", + "fluid-typography", + "responsive", + "typography" + ], + "techStack": [ + "CSS3", + "HTML5", + "Vanilla JS" + ], + "difficulty": "Medium", + "status": "live" + }, { "id": "pdf-toolkit", "name": "Full Client-Side PDF Toolkit", diff --git a/tools/fluid-typography-calculator.html b/tools/fluid-typography-calculator.html new file mode 100644 index 0000000..58cf388 --- /dev/null +++ b/tools/fluid-typography-calculator.html @@ -0,0 +1,529 @@ + + + + + + + Fluid Typography & CSS clamp() Calculator Studio — One File Tools + + + + + + + +
+
+ +
+

Fluid Typography & CSS clamp() Studio

+
+
+
+ + + + +
+
+ +
+ +
+
+ + +
+ +
+ + + +
+
+ + +
+ +
+

Fluid Parameters

+ +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+ +
+ + +
+ +
+ +
clamp(1rem, 0.571rem + 1.429vw, 2rem)
+
+
+ + +
+
+

Live Resizable Viewport Stage

+ 320px ➔ 16px +
+ +
+
The quick brown fox jumps over the lazy dog
+
+ +
💡 Drag the bottom-right corner of the simulator box to test fluid text scaling!
+
+
+ + +
+

Modular Fluid Typography Scale

+
+ + + + + + + + + + +
StepMin SizeMax SizeCalculated clamp() Expression
+
+
+
+ +
Copied to clipboard!
+ + + + diff --git a/tools/fluid-typography-calculator.png b/tools/fluid-typography-calculator.png new file mode 100644 index 0000000..8adf6d1 Binary files /dev/null and b/tools/fluid-typography-calculator.png differ