This is a somewhat general question.
Is anybody aware of the effects on performance of using many CSS variables within a given document? Has anybody done any tests?
Does the element to which you associate the variable have any effect on performance? Is performance impeded more so by, say, all variables being assigned to :root than assigning them to the individual blocks of styling where they might only be used?