UNPKG

@serendie/ui

Version:

Adaptive UI component library as part of Serendie Design System by Mitsubishi Electric

33 lines (32 loc) 796 B
import { SerendieTypography as n, SerendieTokens as d } from "./tokens/index.js"; import { getToken as t } from "./tokens/getToken.js"; import { SerendieKeyframes as a } from "./tokens/keyframes/index.js"; const { sd: e } = t(), { themes: m, ...s } = d, p = { name: "serendie", conditions: { extend: { expanded: `@media screen and (min-width: ${e.system.dimension.breakpoint.expanded})`, ariaExpanded: "&:is([aria-expanded=true], [data-expanded], [data-state=expanded])" } }, theme: { extend: { breakpoints: { expanded: e.system.dimension.breakpoint.expanded }, tokens: { ...s }, textStyles: { ...n }, keyframes: { ...a } } } }; export { p as SerendiePreset, m as themes };