misc_pterodactyl-panel/resources/scripts/theme.ts

12 lines
351 B
TypeScript
Raw Normal View History

2022-11-25 20:25:03 +00:00
import type { BreakpointFunction } from 'styled-components-breakpoint';
import { createBreakpoint } from 'styled-components-breakpoint';
type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
export const breakpoint: BreakpointFunction<Breakpoints> = createBreakpoint<Breakpoints>({
xs: 0,
sm: 640,
md: 768,
lg: 1024,
xl: 1280,
});