How to use the @carbon/themes.unstable__meta.deprecated function in @carbon/themes

To help you get started, we’ve selected a few @carbon/themes examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github carbon-design-system / carbon / packages / sketch / src / sharedStyles / themes.js View on Github external
.filter(token => {
        return colors.includes(token) && !meta.deprecated.includes(token);
      })
      .map(token => {

@carbon/themes

Themes for applying color in the Carbon Design System

Apache-2.0
Latest version published 22 days ago

Package Health Score

95 / 100
Full package analysis