Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 811 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 811 Bytes

Knotel Cinderblock

Knotel branding approved UI components and assets for use alongside of the Priceline Design System.

Installation

$ yarn add cinderblock

Usage

Pass the theme object from cinderblock to the <ThemeProvider /> component from pcln-design-system and Knotel styling will be applied to all of the pcln-design-system child components.

import React from 'react'
import { theme } from 'cinderblock'
import { ThemeProvider } from 'pcln-design-system'

const App = () => (
  <ThemeProvider theme={theme}>
    <Page />
  </ThemeProvider>
)

Assets

The assets directory is not included as part of the package build, but it can be a useful place to store commonly used branding assets such as favicons and logos.