@phun-ky/moebius 0.1.1 → 0.1.2
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 +2 -2
- package/package.json +28 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
- [toObject](#toobject)
|
|
29
29
|
- [toFloat](#tofloat)
|
|
30
30
|
- [Types](#types)
|
|
31
|
-
- [Sponsor me
|
|
31
|
+
- [Sponsor me](#sponsor-me)
|
|
32
32
|
|
|
33
33
|
## About
|
|
34
34
|
|
|
@@ -393,7 +393,7 @@ console.log(color.toObject(); // "0, 63, 92"
|
|
|
393
393
|
|
|
394
394
|
#### toFloat
|
|
395
395
|
|
|
396
|
-
The color object exposes a `toFloat` method, that allows to objectify to float
|
|
396
|
+
The color object exposes a `toFloat` method, that allows to objectify to float values, as in `0-1` instead of `0-255`/`0-100` from any color unit given to either a color object for the hsl units, or default rgb:
|
|
397
397
|
|
|
398
398
|
```ts
|
|
399
399
|
const color = new MoebiusColor('#003f5c');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phun-ky/moebius",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Automatically generate color palettes!",
|
|
5
5
|
"main": "moebius.js",
|
|
6
6
|
"types": "moebius.d.ts",
|
|
@@ -27,6 +27,33 @@
|
|
|
27
27
|
"type": "git",
|
|
28
28
|
"url": "git+ssh://git@github.com/phun-ky/moebius.git"
|
|
29
29
|
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"css",
|
|
32
|
+
"design",
|
|
33
|
+
"palette",
|
|
34
|
+
"palettes",
|
|
35
|
+
"color",
|
|
36
|
+
"colors",
|
|
37
|
+
"generation",
|
|
38
|
+
"javascript",
|
|
39
|
+
"complement",
|
|
40
|
+
"interpolate",
|
|
41
|
+
"monochrome",
|
|
42
|
+
"monochromatic",
|
|
43
|
+
"triad",
|
|
44
|
+
"triadic",
|
|
45
|
+
"tetrad",
|
|
46
|
+
"tetradic",
|
|
47
|
+
"hexad",
|
|
48
|
+
"hexadic",
|
|
49
|
+
"pentad",
|
|
50
|
+
"pentadic",
|
|
51
|
+
"split",
|
|
52
|
+
"chrome",
|
|
53
|
+
"chroma",
|
|
54
|
+
"chromatic",
|
|
55
|
+
"analogous"
|
|
56
|
+
],
|
|
30
57
|
"author": "Alexander Vassbotn Røyne-Helgesen <alexander+github.com@phun-ky.net>",
|
|
31
58
|
"license": "MIT",
|
|
32
59
|
"bugs": {
|