1.4.0 • Published 11 days ago

@wert-io/widget-themes v1.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 days ago

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-beta.2

11 days ago

1.5.0-beta.3

11 days ago

1.5.0-beta.1

14 days ago

1.5.0-beta.0

3 months ago

1.4.0

7 months ago

1.4.0-beta.2

2 years ago

1.4.0-beta.1

2 years ago

1.3.0

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago