@phun-ky/moebius 0.2.4 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  > Automatically generate color palettes!
6
6
 
7
- [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)](http://makeapullrequest.com) [![SemVer 2.0](https://img.shields.io/badge/SemVer-2.0-green.svg)](http://semver.org/spec/v2.0.0.html) ![npm version](https://img.shields.io/npm/v/@phun-ky/moebius) ![issues](https://img.shields.io/github/issues/phun-ky/moebius) ![license](https://img.shields.io/npm/l/@phun-ky/moebius) ![size](https://img.shields.io/bundlephobia/min/@phun-ky/moebius) ![npm](https://img.shields.io/npm/dm/%40phun-ky/moebius) ![GitHub Repo stars](https://img.shields.io/github/stars/phun-ky/moebius)
7
+ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)](http://makeapullrequest.com) [![SemVer 2.0](https://img.shields.io/badge/SemVer-2.0-green.svg)](http://semver.org/spec/v2.0.0.html) ![npm version](https://img.shields.io/npm/v/@phun-ky/moebius) ![issues](https://img.shields.io/github/issues/phun-ky/moebius) ![license](https://img.shields.io/npm/l/@phun-ky/moebius) ![size](https://img.shields.io/bundlephobia/min/@phun-ky/moebius) ![npm](https://img.shields.io/npm/dm/%40phun-ky/moebius) ![GitHub Repo stars](https://img.shields.io/github/stars/phun-ky/moebius) [![codecov](https://codecov.io/gh/phun-ky/moebius/graph/badge.svg?token=VA91DL7ZLZ)](https://codecov.io/gh/phun-ky/moebius)
8
8
 
9
9
  - [@phun-ky/moebius `möbius`](#phun-kymoebius-möbius)
10
10
  - [About](#about)
@@ -28,6 +28,7 @@
28
28
  - [toObject](#toobject)
29
29
  - [toFloat](#tofloat)
30
30
  - [Types](#types)
31
+ - [Contributing](#contributing)
31
32
  - [Sponsor me](#sponsor-me)
32
33
 
33
34
  ## About
@@ -73,7 +74,7 @@ const defaultOptions = {
73
74
  noDuplicates: true,
74
75
  colorScaleMode: 'lch',
75
76
  reverseDirection: false,
76
- divergentColor: '#f5f5f5',
77
+ divergentColor: '#f5f5f5'
77
78
  };
78
79
  ```
79
80
 
@@ -87,7 +88,7 @@ const { MoebiusPalette, MoebiusColor } = await Moebius();
87
88
  const palettes = new MoebiusPalettes({
88
89
  baseColor: new MoebiusColor('#003f5c'),
89
90
  secondaryColor: new MoebiusColor('#ff9900'),
90
- ...options,
91
+ ...options
91
92
  });
92
93
  ```
93
94
 
@@ -406,6 +407,10 @@ console.log(color.toFloat(); // "0, 0.25, 0.36"
406
407
 
407
408
  Types can be found in `@phun-ky/moebius/moebius.d.ts`.
408
409
 
410
+ ## Contributing
411
+
412
+ If you want to contribute, please read the [CONTRIBUTING.md](https://github.com/phun-ky/moebius/blob/main/CONTRIBUTING.md) and [CODE_OF_CONDUCT.md](https://github.com/phun-ky/moebius/blob/main/CODE_OF_CONDUCT.md)
413
+
409
414
  ## Sponsor me
410
415
 
411
416
  I'm an Open Source evangelist, creating stuff that does not exist yet to help get rid of secondary activities and to enhance systems already in place, be it documentation or web sites.