Flexible Tuning of Search Result Appearance
summary
Yandex replaced preprocessor variables with CSS Custom Properties and a PostCSS plugin that expands defaults for older browsers while keeping custom properties in place so experiments can override them via a JSON flag. The setup supports per-platform and media-query overrides, a centralized typography-constants system, and runtime style swaps to run hundreds of concurrent experiments, enabling managers to launch large experiments without developer changes.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:55Interface flexibility issues
- 4:01Using style constants
- 12:15Old approach drawbacks
- 12:58New constant requirements
- 15:25CSS build problem
- 17:33CSS Custom Properties solution
- 22:55Typography implementation
- 26:30Results and benefits
- 27:14Constant recommendations
- 28:01Q&A








