0.0.34 • Published 5 years ago

@sparknz/set-tokens v0.0.34

Weekly downloads
33
License
-
Repository
github
Last release
5 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

5 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago