Precision-tune every variable font axis
Upload a variable font and tune its weight, width, optical size and grade axes. Calibrate perceived weight for light and dark backgrounds, then export the settings as CSS, JSON, Tailwind or Figma tokens.
Drop your variable font
.woff2, .ttf, .otf ยท fvar parsing
axes detected
Light/Dark Optical Test
Perceptual Scaling Array
Light Mode
Dark Mode
Light Mode
Dark Mode
โ Drag to compare โ
Share Perceptual State
Dark Mode CSS
:root { --font-grade: ; }
@media (prefers-color-scheme: dark) {
:root { --font-grade: ; }
}
body { font-variation-settings: ; }
How to Use Squish Lab Pro
Upload Font
Drop any .woff2, .ttf, or .otf variable font file
Adjust Axes
Fine-tune weight, width, optical size, and grade axis
Optical Axis Optimization
Suggests an optimal dark mode grade
Light/Dark Optical Test
Adjust until text stops pulsating
Scale
Simulate different screen sizes
Export
Copy CSS, JSON, Tailwind, or Figma tokens
Font Grading: The Secret to Perfect Dark Mode Typography
Font grading is the subtle adjustment of a typeface's weight and contrast to maintain optical harmony across different backgrounds and screen conditions. Unlike standard weight adjustment, grading fine-tunes the perceived thickness without changing the font's core design. The variable font weight animator helps visualize these adjustments in real-time, making it easier to find the perfect balance. This is why professional font engineers rely on font grading tools for dark mode optimization.
Why It's Critical for Modern Design:
- Dark Mode Optimization โ Text often appears heavier on dark backgrounds due to irradiation; font grading compensates for this optical illusion.
- APCA Contrast Check โ See APCA contrast alongside the WCAG 2 ratio as you adjust the grade axis. APCA is a newer contrast model and is not yet part of WCAG 2 conformance.
- Variable Font Weight Animator โ See real-time weight transitions to find the perfect optical balance between light and dark modes.
- Brand Consistency โ Maintain visual identity across light and dark themes without redesign.