Skip to main content
Selected workAccessibility / Human-Centered Engineering

eye-fit

Software that adapts to your perception.

A Claude skill that presents side-by-side variants of real code, adjusts one visual variable at a time based on preference scores, and exports customized themes for Neovim, VS Code, Ghostty, kitty, and Alacritty.

StackJavaScript / Claude Skills
FocusControlled A/B calibration, Perceptual color systems, WCAG contrast, Theme generation
Author-provided description

The problem

Developer themes are designed as one-size-fits-all presets. People with visual sensitivities or specific lighting conditions must manually tweak dozens of hex values without knowing which single variable improved legibility.

Approach

eye-fit isolates one visual variable per comparison — such as contrast, saturation, background luminance, or spacing — collects preference scores over real code samples, and exports the calibrated palette to multiple editors and terminals.

Developers seeking visually comfortable, high-clarity coding environments tailored to their individual perception.

Perception Calibration Lab

How can controlled single-variable comparisons reveal visual comfort while keeping subjective comfort distinct from objective WCAG contrast?

Simplified simulation
Simplified educational calibration. Objective WCAG luminance ratios are calculated accurately; this is ergonomic tooling, not medical advice.
Comparison 1 of 4 · Isolated Variable: Foreground Contrast

Only foreground text luminance changes. Background, accent, and line spacing remain fixed.

Variant AHigher luminance (#EEF1F6)
func evaluateBacklog(arrivals, capacity int) int {
if arrivals <= capacity { return 0 }
return arrivals - capacity
}
WCAG Contrast: 16.69:1Passes AAA (≥ 7:1)
Variant BSofter luminance (#B8C0CC)
func evaluateBacklog(arrivals, capacity int) int {
if arrivals <= capacity { return 0 }
return arrivals - capacity
}
WCAG Contrast: 10.3:1Passes AAA (≥ 7:1)

Architecture & notes

Claims are labeled by evidence type. Details requiring direct source inspection are kept explicit.

Capabilities3
  • — Presents side-by-side variants of real code while isolating one visual variable at a time.
  • — Updates preferences based on comparison scores.
  • — Exports customized themes for Neovim, VS Code, Ghostty, kitty, and Alacritty.
Design & implementation evidence3
Single-variable isolation
Author-provided description

Each comparison holds all visual attributes constant except the single variable under test so preference signals remain unambiguous.

WCAG contrast calculation
Simplified simulation

Computes objective relative luminance contrast ratios alongside subjective comfort choices, keeping the two metrics distinct.

Calibration model
Simplified simulation

The Perception Calibration Lab is a simplified educational experiment in the browser and does not claim to replicate eye-fit exact internal scoring algorithm.

Scope & limitations2
  • — Subjective comfort preferences are distinct from objective WCAG accessibility compliance; both are reported separately.
  • — This tool is for visual ergonomics only and does not offer medical diagnoses or treatment advice.

Shared concerns: making developer environments more human