Nutty Penguin Music

    @looker/design-tokens
    TypeScript icon, indicating that this package has built-in type declarations

    3.1.0 • Public • Published

    Design Tokens

    This package contains our default looker theme values, including font families, font sizes, and colors.

    ⚠️ Warning ⚠️

    If you choose to import values directly from this package, you will most likely break the theme integration used in Styled Components.

    Building your own theme

    Once you've created your own theme object modeled after the values in this repo, you can override in production by wrapping components the ComponentsProvider (a Styled Components ThemeProvider is used under the hood).

    import { ComponentsProvider } from '@looker/components'
    
    const myTheme = {
      ///... theme values here
    }
    
    const MyApp = () => {
      return (
        <ComponentsProvider theme={myTheme}>
          {/*... Looker UI Components here */}
        </ComponentsProvider>
      )
    }

    Keywords

    none

    Install

    npm i @looker/design-tokens

    DownloadsWeekly Downloads

    1,335

    Version

    3.1.0

    License

    MIT

    Unpacked Size

    1.17 MB

    Total Files

    679

    Last publish

    Collaborators

    • guyellis
    • looker-ops
    • scullin
    • jkaster
    • looker-open-source
    • fabio-looker
    • bryans99
    • mdodgelooker
    • dbchristopher
    • google-wombot