react-base16-styling

  • Version 0.8.0
  • Published
  • 59.1 kB
  • 6 dependencies
  • MIT license

Install

npm i react-base16-styling
yarn add react-base16-styling
pnpm add react-base16-styling

Overview

React styling with base16 color scheme support

Index

Variables

variable createStyling

const createStyling: any;

    Functions

    function getBase16Theme

    getBase16Theme: (
    theme: Theme,
    base16Themes?: { [themeName: string]: any }
    ) => Base16Theme | undefined;

      function invertBase16Theme

      invertBase16Theme: (base16Theme: any) => any;

        function invertTheme

        invertTheme: (theme: Theme | undefined) => Theme | undefined;

          Interfaces

          interface Styling

          interface Styling {}

            property className

            className: string;

              property style

              style: CSS.Properties<string | number>;

                Type Aliases

                type StylingConfig

                type StylingConfig = {
                extend?: string | Base16Theme | StylingValue;
                } & {
                [name: string]: StylingValue | string | Base16Theme;
                };

                  type StylingFunction

                  type StylingFunction = (
                  keys: (string | false | undefined) | (string | false | undefined)[],
                  ...rest: any[]
                  ) => Styling;

                    type StylingValue

                    type StylingValue = string | CSS.Properties<string | number> | StylingValueFunction;

                      type StylingValueFunction

                      type StylingValueFunction = (styling: Styling, ...rest: any[]) => Partial<Styling>;

                        type Theme

                        type Theme = string | Base16Theme | StylingConfig;

                          Package Files (2)

                          Dependencies (6)

                          Dev Dependencies (1)

                          Peer Dependencies (0)

                          No peer dependencies.

                          Badge

                          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/react-base16-styling.

                          • Markdown
                            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/react-base16-styling)
                          • HTML
                            <a href="https://www.jsdocs.io/package/react-base16-styling"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>