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

@ubie/chakra-ui-theme

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ubie/chakra-ui-theme

[Chakra UI custom theme](https://chakra-ui.com/docs/styled-system/theming/customize-theme) generated from [`@ubie/design-tokens`](https://github.com/ubie-oss/design-tokens)

  • 0.1.2
  • npm
  • Socket score

Version published
Weekly downloads
42
decreased by-73.75%
Maintainers
3
Weekly downloads
 
Created
Source

@ubie/chakra-ui-theme

Chakra UI custom theme generated from @ubie/design-tokens

Usage

  1. Install the package
npm i @ubie/chakra-ui-theme
  1. Register to Chakra UI
import { ChakraProvider, extendTheme } from "@chakra-ui/react";
import ubieTheme from "@ubie/chakra-ui-theme";

const theme = extendTheme(
  {
    /** Define your theme here so it will override ubie theme. */
  },
  ubieTheme
);

const App = () => {
  return <ChakraProvider theme={theme}>{/** ... */}</ChakraProvider>;
};
  1. Now you can use ubie colors
// Primitive colors
<Box textColor="blue.500">Ubie blue</Box>
// Semantic colors
<Box textColor="accent">Accent color, same to pink.500</Box>

FAQ

Got Cannot find module its corresponding type error on TypeScript

Enable resolveJsonModule option in your tsconfig.

{
  "compilerOptions": {
    ...
    "resolveJsonModule": true
  }
}

FAQs

Package last updated on 23 Apr 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