Closed pishoyg closed 1 month ago
We can probably use the same code that we (mistakenly) placed in xooxle.ts
. Both of them look at the parameter d
.
Lots of things can be simplified in Crum's script.ts
using CSS, so we won't have to loop over every element individually.
Let's take a look at xooxle.ts
as well.
Obsoleted by #278.
Here, to change the style of a dialect, you loop over every single element to add or remove styling classes to their class list. You could probably implement this by simply changing the value of some CSS variables, so you don't have to loop over all elements.