1.5.0 • Published 1 year ago
@wert-io/widget-themes v1.5.0
widget-themes
WertWidget Themes Helper
@wert-io/widget-themes
provides default required colors for WertWidget and a function that makes a theme from them.
Installation
yarn add @wert-io/widget-themes
or
npm install @wert-io/widget-themes
Documentation
import {
defaultSemanticColors,
darkSemanticColors,
makeThemeFromSemantic,
} from '@wert-io/widget-themes';
makeThemeFromSemantic function usage example:
const customizedColors = {
...defaultSemanticColors,
buttons: '#000000',
};
const isDarkTheme = false;
const themeColors = makeThemeFromSemantic(customizedColors, isDarkTheme);
1.5.0
1 year ago
1.5.0-beta.4
1 year ago
1.5.0-beta.5
1 year ago
1.5.0-beta.2
1 year ago
1.5.0-beta.3
1 year ago
1.5.0-beta.1
1 year ago
1.5.0-beta.0
1 year ago
1.4.0
2 years ago
1.4.0-beta.2
3 years ago
1.4.0-beta.1
3 years ago
1.3.0
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago