export const unit = 16 ; export function truncate ( width ) { return `
      max-width: ${ typeof width === 'string' ? width : `${ width }px` };
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    ` ; }