How to use the pcln-design-system.createTheme 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 / pages / palette.js View on Github external
const Column = props => (
  
)

const ColorList = props =>
  props.colors.map(color => (
    
      
    
  ))

export const SectionTitle = props => (
  
)

const defaultPalette = createTheme().palette

const rest = {}

const Palette = props => (
  
    Palette
    
      The design system includes a palette that can be used to theme components.
    
    {Object.keys(defaultPalette).map(key => {
      if (typeof defaultPalette[key] === 'object') {
        return (
          
            {key}

pcln-design-system

Priceline Design System

MIT
Latest version published 18 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages