werediver / StyleSheet

Reusable and composable UI styles
MIT License
23 stars 3 forks source link

Document implications of style ordering #8

Open werediver opened 6 years ago

werediver commented 6 years ago

In the current implementation styles are applied in the order of definition. This requires careful ordering, otherwise a style for a base class can override a style for a subclass, which can hardly be the desired behavior.

This important aspect of the framework mechanics should be documented in README.