0.0.34 • Published 4 years ago

@sparknz/set-tokens v0.0.34

Weekly downloads
33
License
-
Repository
github
Last release
4 years ago

Quark

Detailed documentation;

Spark Experience Toolkit - Tokens

Design tokens are the lowest abstraction of the design system, a token cannot be broken down futher hense the icon is a Quark. A Quark is a subatomic particle with no sub structure, thus not composed of other particles. The same applies to a Design token, they cannot be broken down futher or made up from other things. Design tokens are hard-coded values (such as hex values for color or secound values for animation) in order to maintain a scalable and consisent visual system for UI Development.

Implementation

We use Styled Dictionary and follow the recommend CTI (Category/Type/Item) structure. CTI

Image Source

Categories

Color

  • Base color
  • Text color
  • Border color
  • Background color
  • Shadow color

Layout

  • Breakpoint
  • Z-index

Sizing

  • Font size
  • Line height
  • Spacing size
  • Border radius

Misc

  • Opacity
  • Duration

0.0.34

4 years ago

0.0.33

4 years ago

0.0.32

4 years ago

0.0.31

4 years ago

0.0.30

4 years ago

0.0.29

4 years ago

0.0.28

4 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago