3.35.1 • Published 9 months ago

@maltjoy/themes v3.35.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

@maltjoy/themes

This package gather all themes for Joy design system. This includes a set of tokens in the form of css variables applied to :root.

Customization

As each theme is a simple group of CSS custom properties, you can easily override a specific value if needed.

:root {
    // ...
    --joy-color-neutral-60: #000;
}

Tokens

This package includes all "Tokens" defined for Joy design system. You can find all of it on our Zeroheight documentation.

Tokens types

  • Colors
  • Functional colors
  • Elevations
  • Border radius
  • Spacing
  • Transition (animation)
  • Layers (z-index)
  • Forms
  • Typography (font-family, font-size, font-weight, line-height)

Usage

This package is meant to be used with @maltjoy/themes.

But if you need to fully customize tokens, you can create you own theme:

@use './tokens/src/tokens' with (
    $joy-color-neutral-60: #000,
    $joy-font-size-primary-300: 9px,
    $joy-core-spacing-base: 3px,
    // and so on...
);

:root {
  // Call all the mixin in order to generate all CSS custom properties
  @include tokens.getPaletteProperties();
  @include tokens.getContextualPaletteProperties();
  @include tokens.getTextPaletteProperties();
  @include tokens.getFunctionalPaletteProperties();
  @include tokens.getSkeletonProperties();
  @include tokens.getOverlayProperties();
  @include tokens.getElevationsProperties();
  @include tokens.getFontsProperties();
  @include tokens.getRadiusProperties();
  @include tokens.getSpacingProperties();
  @include tokens.getAnimationsProperties();
  @include tokens.getZindexProperties();
  @include tokens.getFormsProperties();
}

All original modules are accessible from SCSS source files.

3.35.1

9 months ago

3.35.0

9 months ago

3.34.2

10 months ago

3.34.1

10 months ago

3.34.0

10 months ago

3.33.0

10 months ago

3.31.0-rc

1 year ago

3.31.0

1 year ago

3.31.1

12 months ago

3.31.0-rc2

1 year ago

3.31.2

11 months ago

3.32.0

11 months ago

3.32.1

11 months ago

3.29.1

1 year ago

3.29.0

1 year ago

3.29.2

1 year ago

3.31.0-next

1 year ago

3.30.0

1 year ago

3.28.1-test

1 year ago

3.28.0

1 year ago

3.28.1

1 year ago

3.27.2

1 year ago

3.27.1

1 year ago

3.27.0

1 year ago

3.26.0

1 year ago

3.25.0

1 year ago

3.24.0

1 year ago

3.23.0

1 year ago

3.22.1

1 year ago

3.22.0

1 year ago

3.21.0

1 year ago

3.20.0

1 year ago

3.19.9

1 year ago

3.19.8

1 year ago

3.19.7

2 years ago

3.19.6

2 years ago

3.19.5

2 years ago

3.19.4

2 years ago

3.19.3

2 years ago

3.15.0

2 years ago

3.9.3

2 years ago

3.9.2

2 years ago

3.17.0

2 years ago

3.15.2

2 years ago

3.9.1

2 years ago

3.15.1

2 years ago

3.19.0

2 years ago

3.17.2

2 years ago

3.15.4

2 years ago

3.17.1

2 years ago

3.15.3

2 years ago

3.19.2

2 years ago

3.19.1

2 years ago

3.15.5

2 years ago

3.10.0

2 years ago

3.12.0

2 years ago

3.14.1

2 years ago

3.14.0

2 years ago

3.16.1

2 years ago

3.16.0

2 years ago

3.16.3

2 years ago

3.18.0

2 years ago

3.16.2

2 years ago

3.11.0

2 years ago

3.13.0

2 years ago

3.7.5

2 years ago

3.7.4

2 years ago

3.7.3

2 years ago

3.9.0

2 years ago

3.7.2

2 years ago

3.8.0

2 years ago

3.7.1

2 years ago

3.6.2

2 years ago

3.5.3

2 years ago

3.6.1

2 years ago

3.7.0

2 years ago

3.6.0

2 years ago

3.4.0

2 years ago

3.3.1

2 years ago

3.2.2

2 years ago

3.1.3

2 years ago

3.2.1

2 years ago

3.1.2

2 years ago

3.2.0

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.4.4

2 years ago

3.5.2

2 years ago

3.4.3

2 years ago

3.5.1

2 years ago

3.4.2

2 years ago

3.3.3

2 years ago

3.2.4

2 years ago

3.1.5

2 years ago

3.5.0

2 years ago

3.3.2

2 years ago

3.2.3

2 years ago

3.1.4

2 years ago

3.0.0

2 years ago

2.2.0

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0-1

3 years ago

1.0.0-0

3 years ago