Files
Benjamin Christopher Simmonds ebe1112161 best-practices: discourage getComputedStyle (#323091)
* best-practices: discourage getComputedStyle

Add guidance to avoid getComputedStyle and prefer hardcoding style values in TypeScript or setting a CSS variable via setProperty when shared across CSS rules.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* best-practices: clarify setProperty guidance

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-26 10:25:39 +00:00
..
2026-06-24 19:51:11 +02:00