EDS4 logo
@eds/core
v4.1.2

Core

Provides the fundamentals to build with the design system.
Install
npm install @eds/core
Import usage
import {
Core,
ThemeContext,
ThemeProvider,
assignRef,
backgroundColor,
baseResetStyles,
borderColor,
borderRadius,
borderWidth,
boxShadow,
breakpoint,
checkedInputSize,
color,
containerQuery,
defaultTheme,
focusRing,
fontFamily,
fontSize,
fontWeight,
forwardRefWithAs,
generateThemePalette,
getChevronRotateAnimation,
getDefaultThemeColors,
getThemeVariables,
headingSize,
iconSize,
inputSize,
lineHeight,
mapResponsiveProp,
mapThemeToVars,
mediaQuery,
mq,
resetElementStyles,
space,
theme,
themePalette,
tokens,
useBreakpointSize,
useConfirmPageLeave,
useForkedRef,
useId,
useKeypress,
useLinkComponent,
useMediaQuery,
useTheme,
useWindowSize,
zIndex
} from '@eds/core';