You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
creates object with default stylings for your component, using provided base16 theme.
defaultStylingOptions
{ defaultBase16, base16Themes }
optional parameters, allow to set default base16 theme and additional base16 themes for component.
themeOrStyling
string or object
base16 theme name, base16 theme object or styling object. Theme name can have a modifier: "themeName:inverted" to invert theme colors (see [[#invertTheme]])
Styling object values could be:
- objects (treated as style definitions)
- strings (class names)
- functions (they may be provided with additional parameters and should return object { style, className })
getBase16Theme
function(themeOrStyling,base16Themes)
Helper method that returns base16 theme object if themeOrStyling is base16 theme name or theme object.
invertTheme
function(theme)
Helper method that inverts base16 theme colors, creating light theme out of dark one or vice versa.