1.3.3 • Published 7 months ago

@volue/design-spacing v1.3.3

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
7 months ago

design-spacing

Spacing primitives/tokens to be used across Volue's products

Screenshot

Installation

npm install @volue/design-spacing --save

Usage

JavaScript

In JavaScript, design token names are formatted in lower camelCase.

const tokens = require('@volue/design-spacing');
console.log(tokens.spacingXs); // 0.25rem

In JSON, design token names are formatted in SNAKE_CASE.

const tokens = require('@volue/design-spacing/dist/index.json');
console.log(tokens['SPACING_XS']); // 0.25rem

Sass

Sass variables and map keys are formatted in kebab-case.

// Using variables
@import '~@volue/design-spacing/dist/index';

div {
  padding: $spacing-xs;
}
1.3.3-next.1

9 months ago

1.3.3-next.2

8 months ago

1.3.3-next.3

7 months ago

1.3.3

7 months ago

1.3.3-next.0

11 months ago

1.3.2-next.0

11 months ago

1.3.1-next.3

12 months ago

1.3.2

11 months ago

1.3.1

12 months ago

1.3.1-next.2

1 year ago

1.3.0-next.2

1 year ago

1.3.1-next.1

1 year ago

1.3.1-next.0

1 year ago

1.3.0-next.0

1 year ago

1.3.0-next.1

1 year ago

1.3.0

1 year ago

1.2.1-next.2

1 year ago

1.2.1-next.3

1 year ago

1.2.1-next.1

1 year ago

1.2.0

2 years ago

1.2.1-next.0

2 years ago

1.2.0-next.26

2 years ago

1.2.0-next.28

2 years ago

1.2.0-next.27

2 years ago

1.2.0-next.25

2 years ago

1.2.0-next.24

2 years ago

1.2.0-next.19

2 years ago

1.2.0-next.18

2 years ago

1.2.0-next.20

2 years ago

1.2.0-next.22

2 years ago

1.2.0-next.21

2 years ago

1.2.0-next.23

2 years ago

1.2.0-next.17

2 years ago

1.2.0-next.16

2 years ago

1.2.0-next.9

2 years ago

1.2.0-next.11

2 years ago

1.2.0-next.10

2 years ago

1.2.0-next.13

2 years ago

1.2.0-next.8

2 years ago

1.2.0-next.12

2 years ago

1.2.0-next.15

2 years ago

1.2.0-next.14

2 years ago

1.2.0-next.7

2 years ago

1.2.0-next.6

3 years ago

1.2.0-next.5

3 years ago

1.2.0-next.2

3 years ago

1.2.0-next.1

3 years ago

1.2.0-next.4

3 years ago

1.2.0-next.3

3 years ago

1.2.0-next.0

3 years ago

1.1.5-next.0

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.1-next.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago