|
|
|
|
|
by tvphan
2028 days ago
|
|
There’s a new wave of thought in design called “design tokens” where you have a set of predefined values that are considered valid as part of the design, e.g. a website can only have spacing of 4px, 8px, 16px, etc. One component having mr-4 and another having mr-3 is chill if that was the designer’s intention. If not, then it should be picked up during design review and easily fixed (since you end up really only having to pick from like a few values). |
|
And put constraints as well! Comment them! Write for loops to create a full spectrum of tokens!
Then use those tokens to create a card class. Extend it for customer-support-card class!!!
What’s missing here?