Socket
Socket
Sign inDemoInstall

@justa/chakra-themes

Package Overview
Dependencies
8
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @justa/chakra-themes

Coleção de temas usados nas aplicações React e compatível com Chakra UI


Version published
Maintainers
4
Created

Readme

Source

@justa/chakra-themes 💅

Coleção de temas usados nas aplicações React e compatível com Chakra UI.

Quick Start

Antes de instalar este pacote, é necessário instalar o Chakra UI.

Instalação

npm

npm install --save @justa/chakra-themes

yarn

yarn add @justa/chakra-themes

Usando a lib

Depois de instalado, basta importar o pacote no seu projeto e configurar no ChakraProvider.

Escolha entre um dos temas disponíveis:

TemaDescrição
linkouThemeTema usado no Linkou
contaJustaThemeTema usado na Conta Justa Web
import { linkouTheme, contaJustaTheme } from "@justa/chakra-themes";

// 1. import `ChakraProvider` component
import { ChakraProvider } from "@chakra-ui/react";

function App({ Component }) {
  // 2. Use at the root of your app
  return (
    <ChakraProvider theme={linkouTheme}>
      <Component />
    </ChakraProvider>
  );
}

Dev Environment

Na raiz do projeto, executar o comando yarn dev, o Turborepo irá efetuar a compilação do CSS e o arquivo será gerado na pasta dist.

Build da lib

Na raiz do projeto basta rodar o comando yarn build.

Licença

JUSTA SOLUCOES FINANCEIRAS S.A. @ MIT.

FAQs

Last updated on 24 Jan 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc