24 Matching Annotations
  1. Last 7 days
    1. Components map a name to a group of sub-token properties: ... Variants (hover, active, pressed) are expressed as separate component entries with a related key name.

      大多数人认为组件变体应该通过嵌套结构或条件逻辑来组织,这是现代UI框架的标准做法。但作者选择将每个变体表示为独立的组件条目,这种扁平化结构挑战了组件变体的传统组织方式,可能使某些复杂场景的维护变得更加困难。

    2. Components map a name to a group of sub-token properties: ... Valid component properties: backgroundColor, textColor, typography, rounded, padding, size, height, width.

      大多数人认为组件应该被定义为完整的、独立的实体,包含所有必要的样式和功能。但作者认为组件应该被定义为对已有设计 tokens 的引用和组合,而不是独立的样式定义。这种方法挑战了传统的组件设计理念,强调了设计系统中的复用性和一致性而非组件独立性。

  2. May 2021
  3. Apr 2021
  4. Feb 2021
  5. Dec 2020
    1. Sometimes, systems just scale the problemA UI design system is more than the code of a component library. It’s more than the colors, styles, and margins of your elements. It’s an ever-growing and ever-evolving creature that entails your brand and your user’s feelings.

      If you don't understand the problem - you can [[scale the problem instead of solve the problem]], and it's important to remember that a [[design system is more than a component library]]

  6. Oct 2020
  7. Sep 2020
  8. Dec 2019
  9. Oct 2019
  10. Sep 2019
  11. Aug 2019