0.0.32 • Published 5 months ago

@i-cell/ids-tokens v0.0.32

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

i-DS tokens

This repository contains utility scripts, design token definitions and CSS variable collection for the i-Cell Design System, eg. Figma token JSON to CSS converter, etc.

TailwindCSS (3.x) integration

Tailwind preset is generated and can be imported to parent project to extend the default config.

Import

/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [
    require('./path/to/ids-tailwind.preset.js')
  ],
  // Customizations specific to this project would go here
  theme: {
    extend: {
      ...
    }
  },
}

Usage

Typography

The following types, sizes and variants can be mixed to achieve the desired style (for detailed explanation check the design documentations):

  • types: 'display', 'headline', 'title', 'body', 'caption'
  • sizes: 'xlarge', 'large', 'medium', 'small'
  • variants: 'regular', 'bold', 'semibold'

Examples:

  • 'display-large-semibold',
  • 'caption-xlarge-regular'

Utility classess

Color, spacing (gap, padding, width, etc.) and border radius classes can be used like it were generic tailwind classes, except the generated classes has ids prefix.

Examples:

  • 'gap-ids-container-gap-32' (gap)
  • 'text-ids-page-fg-surface-default' (text-color)
  • 'bg-ids-container-bg-surface-darker-10' (background-color)
  • 'rounded-ids-container-xs' (border-radius)
  • 'px-ids-container-padding-8' (horizontal padding)
0.0.30

7 months ago

0.0.31

5 months ago

0.0.32

5 months ago

0.0.26

11 months ago

0.0.27

11 months ago

0.0.28

9 months ago

0.0.29

9 months ago

0.0.28-beta.0

11 months ago

0.0.26-beta.4

12 months ago

0.0.26-beta.2

12 months ago

0.0.26-beta.3

12 months ago

0.0.26-beta.1

12 months ago

0.0.26-beta.0

1 year ago

0.0.25

1 year ago

0.0.25-beta.8

1 year ago

0.0.25-beta.2

1 year ago

0.0.25-beta.3

1 year ago

0.0.25-beta.0

1 year ago

0.0.25-beta.1

1 year ago

0.0.25-beta.6

1 year ago

0.0.25-beta.7

1 year ago

0.0.25-beta.4

1 year ago

0.0.25-beta.5

1 year ago

0.0.23

1 year ago

0.0.24-beta.2

1 year ago

0.0.24-beta.1

1 year ago

0.0.24-beta.0

1 year ago

0.0.24-beta.5

1 year ago

0.0.24-beta.4

1 year ago

0.0.23-beta.0

1 year ago

0.0.24-beta.3

1 year ago

0.0.23-beta.1

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago