@transferwise/neptune-tokens
Advanced tools
Comparing version 4.0.0 to 4.1.0
{ | ||
"name": "@transferwise/neptune-tokens", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Design tokens for the Neptune Design System", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
@@ -82,25 +82,35 @@ # Neptune Tokens [![npm](https://img.shields.io/npm/v/@transferwise/neptune-tokens.svg)](https://www.npmjs.com/package/@transferwise/neptune-tokens) | ||
| Name | Size | | ||
| --------- | ---- | | ||
| `size-4` | 4 | | ||
| `size-8` | 8 | | ||
| `size-12` | 12 | | ||
| `size-16` | 16 | | ||
| `size-24` | 24 | | ||
| `size-32` | 32 | | ||
| `size-40` | 40 | | ||
| `size-48` | 48 | | ||
| `size-56` | 56 | | ||
| `size-64` | 64 | | ||
| `size-72` | 72 | | ||
| `size-80` | 80 | | ||
| `size-88` | 88 | | ||
| `size-96` | 96 | | ||
| `size-104` | 104 | | ||
| `size-112` | 112 | | ||
| `size-120` | 120 | | ||
| `size-128` | 128 | | ||
| Name | Size | | ||
| ---------- | ---- | | ||
| `size-4` | 4 | | ||
| `size-8` | 8 | | ||
| `size-12` | 12 | | ||
| `size-16` | 16 | | ||
| `size-24` | 24 | | ||
| `size-32` | 32 | | ||
| `size-40` | 40 | | ||
| `size-48` | 48 | | ||
| `size-56` | 56 | | ||
| `size-64` | 64 | | ||
| `size-72` | 72 | | ||
| `size-80` | 80 | | ||
| `size-88` | 88 | | ||
| `size-96` | 96 | | ||
| `size-104` | 104 | | ||
| `size-112` | 112 | | ||
| `size-120` | 120 | | ||
| `size-128` | 128 | | ||
> ⚠️ These tokens were previously called `spacing` before version 1.0.0 | ||
### Spaces | ||
Space tokens should be used for defining spaces between elements. | ||
We currently only provide a token for horizontal content spacing. | ||
| Name | Size | | ||
| -------------------------- | ---- | | ||
| `space-content-horizontal` | 16 | | ||
### Typography | ||
@@ -110,19 +120,17 @@ | ||
| Name | Size | Default rendering size | | ||
| ---------------- | ----- |------------------------| | ||
| `font-size-12` | 0.75 | 12px | | ||
| `font-size-14` | 0.875 | 14px | | ||
| `font-size-16` | 1 | 16px | | ||
| `font-size-20` | 1.25 | 20px | | ||
| `font-size-26` | 1.625 | 26px | | ||
| `font-size-32` | 2 | 32px | | ||
| Name | Size | Default rendering size | | ||
| -------------- | ----- | ---------------------- | | ||
| `font-size-12` | 0.75 | 12px | | ||
| `font-size-14` | 0.875 | 14px | | ||
| `font-size-16` | 1 | 16px | | ||
| `font-size-20` | 1.25 | 20px | | ||
| `font-size-26` | 1.625 | 26px | | ||
| `font-size-32` | 2 | 32px | | ||
| Name | Line height | | ||
| --------------------- | ----------- | | ||
| `line-height-title` | 1.2 | | ||
| `line-height-body` | 1.5 | | ||
| `line-height-control` | 1.2 | | ||
| Name | Line height | | ||
| ---------------------- | ----------- | | ||
| `line-height-title` | 1.2 | | ||
| `line-height-body` | 1.5 | | ||
| `line-height-control` | 1.2 | | ||
| Name | Font weight | | ||
@@ -133,2 +141,1 @@ | ----------------------- | ----------- | | ||
| `font-weight-bold` | 800 | | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
103238
3321
139