Skip to content

Refactor separator to use frameContrast, add lightFrameContrast

Akseli Lahtinen requested to merge work/akselmo/refactor-frame-contrast into master

Have two values for frameContrast, where lightFrameContrast is only used by Separator.Weight.Light.

When we implement high-contrast accessibility setting, we can just set lightFrameContrast follow same value as frameContrast when high-contrast setting is enabled.

This also fixes the bug where Separator.Weight.Light color was not set.

Edited by Akseli Lahtinen

Merge request reports