Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@looker/design-tokens

Package Overview
Dependencies
Maintainers
10
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@looker/design-tokens

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

  • 3.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
10
Created
Source

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>
  );
};

FAQs

Package last updated on 20 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc