How to use the pcln-design-system.theme.fontSizes function in pcln-design-system

To help you get started, we’ve selected a few pcln-design-system examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github priceline / design-system / docs / src / Typography.js View on Github external
{[...theme.fontSizes].reverse().map((fontSize, i) => (
        
          
            {fontSize}px ({theme.fontSizes.length - i - 1}) Discover new deals
            every day.
          
        
      ))}
github priceline / design-system / docs / src / Typography.js View on Github external
const Typography = props => (
  
    Typography
    
      The design system includes base styles for typography and a typographic
      scale for determining font sizes.
    
    
      {[...theme.fontSizes].reverse().map((fontSize, i) => (
        
          
            {fontSize}px ({theme.fontSizes.length - i - 1}) Discover new deals
            every day.
          
        
      ))}
    
    
  
)

pcln-design-system

Priceline Design System

MIT
Latest version published 18 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages