Skip to content

v42.0.0

Compare
Choose a tag to compare
@thompsongl thompsongl released this 06 Dec 20:18
· 2282 commits to main since this release
407eeb2

Feature: CSS-in-JS (#5121)

  • Added reset and global styles via CSS-in-JS with @emotion/react/Global
  • Added EuiProvider, a React context provider for theming and global styles
  • Added isDefaultTheme and isLegacyTheme utilities

Breaking changes

  • Added @emotion/react to peerDependencies
  • Amsterdam is now the default theme, deprecated and renamed old theme as "legacy"
  • Re-organized Sass files including where the globals are imported from