1.5.10 • Published 4 months ago

@ircc-ca/ds-sdc-core v1.5.10

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

ds-sdc-core

This package contains the theming functionality for the Journey Design System

Getting started

To install the IRCC Digital Journey Labs Design System styles, you will need to run the following command using npm:

npm install --save-dev @ircc-ca/ds-sdc-core

Usage

In your root-level stylesheet, initialize the design system with:

@use '~@ircc-ca/ds-sdc-core/index' as ircc-ds;
@include ircc-ds.theme-init-required(ircc-ds.palette-journeylab(), default, large, light);
@include ircc-ds.element-styles();

Alternatively, you can pass in dark instead of light as the final parameter of theme-init-required() to initialize only the dark color scheme, or system if you would like to default to the user's operating system settings.

A list of elements can be passed to element-styles() to include, should only certain element styles be desired.

Element style tokens and layouts

Partials

Constant tokens

Typography

Utilities

Notes

A css reset is not currently expected or required, if you are experiencing an unexpected visual bug, please submit a Bug. This package is intended to apply with minimal effort based on HTML tags and minimal use of class selectors to reduce overhead in existing projects. As this project is a work in progress, usage of multiple design systems is recommended, so long as they don't visually conflict. If you find an issue, please submit a Bug or Feature Request on our Github and add the core tag.

1.5.10

4 months ago

1.5.9

5 months ago

1.5.5-beta.0

9 months ago

1.5.8

5 months ago

1.5.7

6 months ago

1.5.6-beta.7

7 months ago

1.5.5

9 months ago

1.5.6-beta.8

6 months ago

1.5.4

9 months ago

1.5.6-beta.5

7 months ago

1.5.3

10 months ago

1.5.6-beta.6

7 months ago

1.5.2

10 months ago

1.5.6-beta.3

7 months ago

1.5.1

10 months ago

1.5.6-beta.4

7 months ago

1.5.6-beta.1

7 months ago

1.5.6-beta.2

7 months ago

1.5.6-beta.0

7 months ago

1.5.6-beta.10

6 months ago

1.5.6-beta.11

6 months ago

1.5.6-beta.12

6 months ago

1.5.1-beta.0

10 months ago

1.4.0-beta.1

11 months ago

1.5.0-beta.0

11 months ago

1.3.12-beta.2

1 year ago

1.4.0-beta.0

1 year ago

1.3.13-beta.0

1 year ago

1.3.13-beta.3

1 year ago

1.3.13-beta.4

1 year ago

1.3.10

1 year ago

1.3.12-beta.1

1 year ago

1.3.11

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.0.2

1 year ago

0.0.59

1 year ago

0.0.58

1 year ago

0.0.57

1 year ago

0.0.56

1 year ago

0.0.54

1 year ago

0.0.52

1 year ago

0.0.50

1 year ago

0.0.47

1 year ago

0.0.45

1 year ago

0.0.43

1 year ago

0.0.41

1 year ago

0.0.46

1 year ago

0.0.44

1 year ago

0.0.42

1 year ago

0.0.39

1 year ago

0.0.40

1 year ago

0.0.36

1 year ago

0.0.35

1 year ago

0.0.33

1 year ago

0.0.31

1 year ago

0.0.28

1 year ago

0.0.25

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.18

1 year ago

0.0.1

1 year ago