Looks very similar to NCL https://github.com/PayWithMyBank/ncl but not having a easy way to create rules to override previous definitions.
It behaves like a widget-based programming language toolkit, so you would have global style properties with per-item optional overrides.