Started out by refactoring the theme, that meant making changes to translations and tests.
Some theme properties needed renaming others needed adding. Some properties were purposefully left out either because they are verbose and the translate functions doesn't require them (for example when the options are enumerable) and/or they are unlikely to be overridden (like position):
// backgroundPosition: x ~> x | x-x ~> x x,
// container: {},
// cursor: x ~> x
// inset: x ~> x
// listStyleType: x ~> x
// objectPosition: x ~> x | x-x ~> x x,
// gridTemplateColumns: x ~> x | x ~> repeat(x, minmax(0, 1fr))
// gridColumn: x ~> span x / span x
// gridColumnStart: x ~> x
// gridColumnEnd: x ~> x
// gridTemplateRows: x ~> x | x ~> repeat(x, minmax(0, 1fr))
// gridRow: x ~> span x / span x
// gridRowStart: x ~> x
// gridRowEnd: x ~> x
// transformOrigin: x ~> x | x-x ~> x x,
These could be added at any time if it causes considerable issues but I'd rather not at the moment for the sakes of saving some file size. That said, it would be nice for the configs to be exactly the same.
Because of the inheritance within the theme, a new (and more cumbersome) kind of merge is required to extend the theme. It works for now but I'm up for suggestions as to how this would be done better.
Fixes #8
Started out by refactoring the theme, that meant making changes to translations and tests.
Some theme properties needed renaming others needed adding. Some properties were purposefully left out either because they are verbose and the translate functions doesn't require them (for example when the options are enumerable) and/or they are unlikely to be overridden (like position):
These could be added at any time if it causes considerable issues but I'd rather not at the moment for the sakes of saving some file size. That said, it would be nice for the configs to be exactly the same.
Because of the inheritance within the theme, a new (and more cumbersome) kind of merge is required to extend the theme. It works for now but I'm up for suggestions as to how this would be done better.