npm.io
28.2.5 • Published 1 week ago

@atlaskit/theme

Licence
Apache-2.0
Version
28.2.5
Deps
4
Size
122 kB
Vulns
0
Weekly
402.0K
DeprecatedThis package is deprecated

Theme

Deprecated: @atlaskit/theme is deprecated. Use design tokens, Atlassian Design System components, or Top Layer as appropriate.

Migration

  • Replace color, spacing, typography, elevation, and other styling values with design tokens from @atlaskit/tokens.
  • Replace layers with an Atlassian Design System layered component where possible. When building a low-level overlay, use @atlaskit/top-layer. Top Layer manages overlay stacking through the browser's top layer; it is not a numeric z-index map and is not a drop-in replacement for layers.
  • Replace Theme, createTheme, getTheme, and their associated types with design tokens and the supported customization APIs of the relevant Atlassian Design System component. There is no package-wide, one-to-one replacement for these legacy theming APIs.
  • Remove direct use of legacy theme constants and types when no replacement is required.

Do not add new dependencies on this package.

Keywords