react-base16-styling
- Version 0.9.1
- Published
- 41.6 kB
- 7 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
Functions
Interfaces
Type Aliases
Variables
variable createStyling
const createStyling: any;
Functions
function getBase16Theme
getBase16Theme: ( theme: Theme, base16Themes?: { [themeName: string]: base16.Base16Theme }) => Base16Theme | undefined;
function invertBase16Theme
invertBase16Theme: (base16Theme: Base16Theme) => Base16Theme;
function invertTheme
invertTheme: (theme: Theme | undefined) => Theme | undefined;
Interfaces
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: unknown[]) => Styling;
type StylingValue
type StylingValue = string | CSS.Properties<string | number> | StylingValueFunction;
type StylingValueFunction
type StylingValueFunction = ( styling: Styling, ...rest: unknown[]) => Partial<Styling>;
type Theme
type Theme = string | Base16Theme | StylingConfig;
Package Files (2)
Dependencies (7)
Dev Dependencies (18)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto 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[](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>
- Updated .
Package analyzed in 1681 ms. - Missing or incorrect documentation? Open an issue for this package.