fix(colors): Disable perceptual correction (wrong logic)

The current implementation boosts red colors when it should
compensate blue colors instead. Disabled until the algorithm
is revised.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
R.Eugenio 2025-12-30 21:19:53 +01:00
parent f71c9e6186
commit b63cf44d88

View file

@ -42,9 +42,9 @@ pub fn isFancy() bool {
// =============================================================================
/// Enable perceptual correction for panel colors.
/// When enabled, colors with low perceived luminance (e.g., red, magenta)
/// get a subtle boost to match the visual contrast of brighter colors (e.g., blue).
var perceptual_correction_enabled: bool = true;
/// NOTE: Desactivado por defecto - la lógica actual boostea el rojo cuando
/// debería compensar el azul. Requiere revisión del algoritmo.
var perceptual_correction_enabled: bool = false;
/// Get whether perceptual correction is enabled
pub fn isPerceptualCorrectionEnabled() bool {