News for hackers. Stuff that matters.
Re:Design Token-Based UI Architecture by spankalee on Wednesday December 18, 2024 @12:15AM (#42448286)
You can usually do this by only being additive with the spec, and by never mixing user-defined keys and spec-defined keys in the same object.

I've only ever seen $ used before with meta properties that work across all schemas like the $ref you mentioned and $schema.

Re:Design Token-Based UI Architecture by kaelig on Wednesday December 18, 2024 @02:05AM (#42448648)
There are multiple ways to solve this, we've explored a few and we found that clearly differentiating user inputs from the spec keys was the right way to go for this use-case and our audience.

That said, there definitely are other valid ways to solve it.