Package Description

Token Z

Easly manage the Z-Index of tokens

alt-text alt-text

How to use:

Simply input a z-index value in the new field in the token config.

image

Sorting:

Token-Z is opinionated and will auto sort based on some parameters:

  • Elevation: With a weight of 10 (each 1 step in elevation means +10 in the zIndex)
  • Size: with a weight of -1 (this means a token that is 2x2 will have a -4 zIndex to it)
  • Selected: with a weight of 1 (a selected token will have a +1 zIndex applied)

Tagged Categories

  1. Tools and Controls

Available Versions

  1. Version 0.5

  2. Version 0.6