0.0.14 • Published 2 years ago

@infini-soft/hooks-theme v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Getting started

React hook Theme Configurator. Live theme configuration WYSWYG.

🔥 Try it Live

Sample micro app Demo

✨ Features

  • React Hook
  • Idiomatic Theming Configurator and override
  • Extensible with any design system
  • No dependency
  • Small < 20k
  • Antd overrides by default
  • Typescript / Javascript

📚 Documentation

Get all documentations, examples and execute it directly from our website, the ☕ kitchen! Come cook software :) https://www.kitchen.infini-soft.com/hooks/theme

📦 Install

$ npm install @infini-soft/hooks-theme --save
# or
$ yarn add @infini-soft/hooks-theme

🔨 Example

import React from 'react';
import { defaultTheme, LiveConfig, useTheme } from '@infini-soft/hooks-theme';

export default () => {
  const { liveTheme, theme, activeTokens, toggleTheme, ThemeSwitch } =
    useTheme();
  return (
    <>
      <LiveConfig
        activeTokens={activeTokens ?? defaultTheme.dark}
        toggleTheme={toggleTheme}
        ThemeSwitch={ThemeSwitch}
        theme={theme}
      />
      <h1>Hello useTheme</h1>
      <h2>Title 2</h2>

      <button>Button</button>
    </>
  );
};

Powered 🚀 by Infinisoft Inc. Wanna cook the future? Come in the kitchen https://www.kitchen.infini-soft.com

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago