Socket
Book a DemoInstallSign in
Socket

@blocto/blocto-chakra-theme

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@blocto/blocto-chakra-theme

### This is for internal use only.

1.1.0
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

Blocto Chakra Theme

This is for internal use only.

Usage

install

yarn add @blocto/blocto-chakra-theme

Since this package only export bundled blocto theme object, you need to combined it with default theme of chakra using extendTheme provided by chakra.

import { extendTheme } from '@chakra-ui/react'
import boTheme from '@blocto/blocto-chakra-theme'

In ChakraProvider:

<ChakraProvider theme={extendTheme(boTheme)}>
  <App />
</ChakraProvider>

Setup autocomplete:

yarn add @chakra-ui/styled-system
npx @chakra-ui/cli tokens /node_modules/@blocto/blocto-chakra-theme --out ./node_modules/@chakra-ui/system/node_modules/@chakra-ui/styled-system/dist/declarations/src/theming.types.d.ts

Note: Above commend might failed since theming.types.d.ts could located in different folder with various chakra versions. If autocomplete not working, please check where theming.types.d.ts places and replace the --out param. Typically will located in/node_modules/@chakra-ui/system/node_modules/@chakra-ui/styled-system/

Commands

dev

yarn dev

build

yarn build

update

git submodule update

FAQs

Package last updated on 07 Oct 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.