import type { Rule } from '@unocss/core' ; export const lineClamps = [ [ /^line-clamp-(\d+)$/ , ( [ , v ] ) => ( { 'overflow' : 'hidden' , 'display' : '-webkit-box' , '-webkit-box-orient' : 'vertical' , '-webkit-line-clamp' : v , 'line-clamp' : v , } ) ] , [ 'line-clamp-none' , { '-webkit-line-clamp' : 'unset' , 'line-clamp' : 'unset' , } ] , ] ;