UNPKG

@atlaskit/primitives

Version:

Primitives are token-backed low-level building blocks.

36 lines (35 loc) 1.78 kB
/** * This is an object of usable media query helpers using our internal breakpoints configuration. * * When using Compiled CSS-in-JS, please ensure that only a single declaration can take effect at a time. * This means that you should avoid multiple breakpoints taking effect at the same time, * eg. ```{ [media.above.xs]: { color: 'red' }, [media.above.sm]: { color: 'green' }}```. * Instead, make sure that only one breakpoint can take effect at a time, * e.g, ```{ [media.only.xs]: { color: 'red' }, [media.above.sm]: { color: 'green' }}```. * For more details, please see <https://compiledcssinjs.com/docs/atomic-css#selector-specificity>. */ export declare const media: { above: { readonly xxs: '@media all'; readonly xs: '@media (min-width: 30rem)'; readonly sm: '@media (min-width: 48rem)'; readonly md: '@media (min-width: 64rem)'; readonly lg: '@media (min-width: 90rem)'; readonly xl: '@media (min-width: 110.5rem)'; }; only: { readonly xxs: '@media (min-width: 0rem) and (max-width: 29.99rem)'; readonly xs: '@media (min-width: 30rem) and (max-width: 47.99rem)'; readonly sm: '@media (min-width: 48rem) and (max-width: 63.99rem)'; readonly md: '@media (min-width: 64rem) and (max-width: 89.99rem)'; readonly lg: '@media (min-width: 90rem) and (max-width: 110.49rem)'; readonly xl: '@media (min-width: 110.5rem)'; }; below: { readonly xs: '@media not all and (min-width: 30rem)'; readonly sm: '@media not all and (min-width: 48rem)'; readonly md: '@media not all and (min-width: 64rem)'; readonly lg: '@media not all and (min-width: 90rem)'; readonly xl: '@media not all and (min-width: 110.5rem)'; }; };