diff --git a/README.md b/README.md
index 67816ca..487bb85 100644
--- a/README.md
+++ b/README.md
@@ -63,37 +63,37 @@
npm i hue.gl
```
-
-
-
## Colours
| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
-| **Salmon** | N0151 | N0152 | N0153 | N0154 | N0155 | N0156 | N0157 | N0158 | N0159 |
-| **Orange** | N0301 | N0302 | N0303 | N0304 | N0305 | N0306 | N0307 | N0308 | N0309 |
-| **Amber** | N0451 | N0452 | N0453 | N0454 | N0455 | N0456 | N0457 | N0458 | N0459 |
-| **Yellow** | N0601 | N0602 | N0603 | N0604 | N0605 | N0606 | N0607 | N0608 | N0609 |
-| **Lime** | N0751 | N0752 | N0753 | N0754 | N0755 | N0756 | N0757 | N0758 | N0759 |
-| **Ecru** | N0901 | N0902 | N0903 | N0904 | N0905 | N0906 | N0907 | N0908 | N0909 |
-| **Olive** | N1051 | N1052 | N1053 | N1054 | N1055 | N1056 | N1057 | N1058 | N1059 |
-| **Green** | N1201 | N1202 | N1203 | N1204 | N1205 | N1206 | N1207 | N1208 | N1209 |
-| **Forest** | N1351 | N1352 | N1353 | N1354 | N1355 | N1356 | N1357 | N1358 | N1359 |
-| **Jade** | N1501 | N1502 | N1503 | N1504 | N1505 | N1506 | N1507 | N1508 | N1509 |
-| **Mint** | N1651 | N1652 | N1653 | N1654 | N1655 | N1656 | N1657 | N1658 | N1659 |
-| **Cyan** | N1801 | N1802 | N1803 | N1804 | N1805 | N1806 | N1807 | N1808 | N1809 |
-| **Teal** | N1951 | N1952 | N1953 | N1954 | N1955 | N1956 | N1957 | N1958 | N1959 |
-| **Capri** | N2101 | N2102 | N2103 | N2104 | N2105 | N2106 | N2107 | N2108 | N2109 |
-| **Sky** | N2251 | N2252 | N2253 | N2254 | N2255 | N2256 | N2257 | N2258 | N2259 |
-| **Blue** | N2401 | N2402 | N2403 | N2404 | N2405 | N2406 | N2407 | N2408 | N2409 |
-| **Azure** | N2551 | N2552 | N2553 | N2554 | N2555 | N2556 | N2557 | N2558 | N2559 |
-| **Indigo** | N2701 | N2702 | N2703 | N2704 | N2705 | N2706 | N2707 | N2708 | N2709 |
-| **Violet** | N2851 | N2852 | N2853 | N2854 | N2855 | N2856 | N2857 | N2858 | N2859 |
-| **Magenta** | N3001 | N3002 | N3003 | N3004 | N3005 | N3006 | N3007 | N3008 | N3009 |
-| **Purple** | N3151 | N3152 | N3153 | N3154 | N3155 | N3156 | N3157 | N3158 | N3159 |
-| **Rose** | N3301 | N3302 | N3303 | N3304 | N3305 | N3306 | N3307 | N3308 | N3309 |
-| **Pink** | N3451 | N3452 | N3453 | N3454 | N3455 | N3456 | N3457 | N3458 | N3459 |
-| **Red** | N3601 | N3602 | N3603 | N3604 | N3605 | N3606 | N3607 | N3608 | N3609 |
+| **Grey** | N0001 | N0002 | N0003 | N0004 | N0005 | N0006 | N0007 | N0008 | N0009 |
+| **Salmon** | N0151 | N0152 | N0153 | N0154 | N0155 | N0156 | N0157 | N0158 | N0159 |
+| **Orange** | N0301 | N0302 | N0303 | N0304 | N0305 | N0306 | N0307 | N0308 | N0309 |
+| **Amber** | N0451 | N0452 | N0453 | N0454 | N0455 | N0456 | N0457 | N0458 | N0459 |
+| **Yellow** | N0601 | N0602 | N0603 | N0604 | N0605 | N0606 | N0607 | N0608 | N0609 |
+| **Lime** | N0751 | N0752 | N0753 | N0754 | N0755 | N0756 | N0757 | N0758 | N0759 |
+| **Ecru** | N0901 | N0902 | N0903 | N0904 | N0905 | N0906 | N0907 | N0908 | N0909 |
+| **Olive** | N1051 | N1052 | N1053 | N1054 | N1055 | N1056 | N1057 | N1058 | N1059 |
+| **Green** | N1201 | N1202 | N1203 | N1204 | N1205 | N1206 | N1207 | N1208 | N1209 |
+| **Forest** | N1351 | N1352 | N1353 | N1354 | N1355 | N1356 | N1357 | N1358 | N1359 |
+| **Jade** | N1501 | N1502 | N1503 | N1504 | N1505 | N1506 | N1507 | N1508 | N1509 |
+| **Mint** | N1651 | N1652 | N1653 | N1654 | N1655 | N1656 | N1657 | N1658 | N1659 |
+| **Cyan** | N1801 | N1802 | N1803 | N1804 | N1805 | N1806 | N1807 | N1808 | N1809 |
+| **Teal** | N1951 | N1952 | N1953 | N1954 | N1955 | N1956 | N1957 | N1958 | N1959 |
+| **Capri** | N2101 | N2102 | N2103 | N2104 | N2105 | N2106 | N2107 | N2108 | N2109 |
+| **Sky** | N2251 | N2252 | N2253 | N2254 | N2255 | N2256 | N2257 | N2258 | N2259 |
+| **Blue** | N2401 | N2402 | N2403 | N2404 | N2405 | N2406 | N2407 | N2408 | N2409 |
+| **Azure** | N2551 | N2552 | N2553 | N2554 | N2555 | N2556 | N2557 | N2558 | N2559 |
+| **Indigo** | N2701 | N2702 | N2703 | N2704 | N2705 | N2706 | N2707 | N2708 | N2709 |
+| **Violet** | N2851 | N2852 | N2853 | N2854 | N2855 | N2856 | N2857 | N2858 | N2859 |
+| **Magenta** | N3001 | N3002 | N3003 | N3004 | N3005 | N3006 | N3007 | N3008 | N3009 |
+| **Purple** | N3151 | N3152 | N3153 | N3154 | N3155 | N3156 | N3157 | N3158 | N3159 |
+| **Rose** | N3301 | N3302 | N3303 | N3304 | N3305 | N3306 | N3307 | N3308 | N3309 |
+| **Pink** | N3451 | N3452 | N3453 | N3454 | N3455 | N3456 | N3457 | N3458 | N3459 |
+| **Red** | N3601 | N3602 | N3603 | N3604 | N3605 | N3606 | N3607 | N3608 | N3609 |
+
+
diff --git a/dist/md/hue.gl.md b/dist/md/hue.gl.md
index b8e7e2e..b60ae7d 100644
--- a/dist/md/hue.gl.md
+++ b/dist/md/hue.gl.md
@@ -1,5 +1,6 @@
| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
+| **Grey** | N0001 | N0002 | N0003 | N0004 | N0005 | N0006 | N0007 | N0008 | N0009 |
| **Salmon** | N0151 | N0152 | N0153 | N0154 | N0155 | N0156 | N0157 | N0158 | N0159 |
| **Orange** | N0301 | N0302 | N0303 | N0304 | N0305 | N0306 | N0307 | N0308 | N0309 |
| **Amber** | N0451 | N0452 | N0453 | N0454 | N0455 | N0456 | N0457 | N0458 | N0459 |
diff --git a/dist/package.json b/dist/package.json
index f86b761..ae3f19b 100644
--- a/dist/package.json
+++ b/dist/package.json
@@ -15,16 +15,43 @@
],
"license": "MIT",
"homepage": "https://www.hue.gl/",
+ "type": "module",
"main": "js/index",
"types": "js/index",
"files": [
- "svg/**/*.svg",
+ "code-snippets/**/*.code-snippets",
+ "css/**/*.{css,map}",
+ "font/**/*.{eot,otf,ttf,woff,woff2}",
+ "inkscape/**/*.inkscape",
+ "jinja/**/*.jinja",
"js/**/*.d.ts",
"js/**/*.{js,map}",
- "ts/**/*.ts",
- "css/**/*.{css,map}",
+ "less/**/*.less",
+ "md/**/*.md",
+ "oco/**/*.oco",
+ "png/**/*.png",
+ "py/**/*.py",
+ "rcpx/**/*.rcpx",
"scss/**/*.scss",
- "font/**/*.{eot,otf,ttf,woff,woff2}",
+ "sketchpalette/**/*.sketchpalette",
+ "styl/**/*.styl",
+ "svg/**/*.svg",
+ "tex/**/*.tex",
+ "ts/**/*.ts",
"!.DS_Store"
+ ],
+ "author": "Lars van Vianen",
+ "contributors": [
+ "Scape Agency"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/scape-agency/hue.gl.git"
+ },
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/scape-agency"
+ }
]
}
\ No newline at end of file
diff --git a/dist/png/swatch/N0001.png b/dist/png/swatch/N0001.png
new file mode 100644
index 0000000..d7c9239
Binary files /dev/null and b/dist/png/swatch/N0001.png differ
diff --git a/dist/png/swatch/N0002.png b/dist/png/swatch/N0002.png
new file mode 100644
index 0000000..a0a9aed
Binary files /dev/null and b/dist/png/swatch/N0002.png differ
diff --git a/dist/png/swatch/N0003.png b/dist/png/swatch/N0003.png
new file mode 100644
index 0000000..6576541
Binary files /dev/null and b/dist/png/swatch/N0003.png differ
diff --git a/dist/png/swatch/N0004.png b/dist/png/swatch/N0004.png
new file mode 100644
index 0000000..233a7b7
Binary files /dev/null and b/dist/png/swatch/N0004.png differ
diff --git a/dist/png/swatch/N0005.png b/dist/png/swatch/N0005.png
new file mode 100644
index 0000000..d3dbb7b
Binary files /dev/null and b/dist/png/swatch/N0005.png differ
diff --git a/dist/png/swatch/N0006.png b/dist/png/swatch/N0006.png
new file mode 100644
index 0000000..3f646e4
Binary files /dev/null and b/dist/png/swatch/N0006.png differ
diff --git a/dist/png/swatch/N0007.png b/dist/png/swatch/N0007.png
new file mode 100644
index 0000000..c011fbf
Binary files /dev/null and b/dist/png/swatch/N0007.png differ
diff --git a/dist/png/swatch/N0008.png b/dist/png/swatch/N0008.png
new file mode 100644
index 0000000..9e92477
Binary files /dev/null and b/dist/png/swatch/N0008.png differ
diff --git a/dist/png/swatch/N0009.png b/dist/png/swatch/N0009.png
new file mode 100644
index 0000000..e0be7a2
Binary files /dev/null and b/dist/png/swatch/N0009.png differ
diff --git a/dist/py/hue.gl.py b/dist/py/hue.gl.py
index e3fa9e2..7415035 100644
--- a/dist/py/hue.gl.py
+++ b/dist/py/hue.gl.py
@@ -23,6 +23,19 @@
# General
# =============================================================================
+# Grey
+# -----------------------------------------------------------------------------
+
+N0001 = (226, 226, 226)
+N0002 = (204, 204, 204)
+N0003 = (182, 182, 182)
+N0004 = (160, 160, 160)
+N0005 = (139, 139, 139)
+N0006 = (119, 119, 119)
+N0007 = (99, 99, 99)
+N0008 = (80, 80, 80)
+N0009 = (62, 62, 62)
+
# Salmon
# -----------------------------------------------------------------------------
diff --git a/dist/rcpx/hue.gl.rcpx b/dist/rcpx/hue.gl.rcpx
index 32a373d..74f7af0 100644
--- a/dist/rcpx/hue.gl.rcpx
+++ b/dist/rcpx/hue.gl.rcpx
@@ -7,6 +7,15 @@
swidth="121" sheight="157"
vwidth= "85" vheight="241">
+
+
+
+
+
+
+
+
+
diff --git a/dist/scss/hue.gl.scss b/dist/scss/hue.gl.scss
index f876e28..eecfbb2 100644
--- a/dist/scss/hue.gl.scss
+++ b/dist/scss/hue.gl.scss
@@ -23,6 +23,19 @@
// General
// ============================================================================
+// Grey
+// ----------------------------------------------------------------------------
+
+$N0001: rgb(88.76% 88.76% 88.76%);
+$N0002: rgb(79.95% 79.95% 79.95%);
+$N0003: rgb(71.32% 71.32% 71.32%);
+$N0004: rgb(62.88% 62.88% 62.88%);
+$N0005: rgb(54.65% 54.65% 54.65%);
+$N0006: rgb(46.63% 46.63% 46.63%);
+$N0007: rgb(38.86% 38.86% 38.86%);
+$N0008: rgb(31.35% 31.35% 31.35%);
+$N0009: rgb(24.13% 24.13% 24.13%);
+
// Salmon
// ----------------------------------------------------------------------------
diff --git a/dist/scss/standards/_as2700.scss b/dist/scss/standards/_as2700_hex_map.scss
similarity index 100%
rename from dist/scss/standards/_as2700.scss
rename to dist/scss/standards/_as2700_hex_map.scss
diff --git a/dist/scss/standards/_bs381.scss b/dist/scss/standards/_bs381_hex_map.scss
similarity index 99%
rename from dist/scss/standards/_bs381.scss
rename to dist/scss/standards/_bs381_hex_map.scss
index 3ce436c..56cd4f0 100644
--- a/dist/scss/standards/_bs381.scss
+++ b/dist/scss/standards/_bs381_hex_map.scss
@@ -20,7 +20,6 @@
$color_bs381_hex: (
-
381_101: #94bfac, // Sky blue
381_102: #5b9291, // Turquoise blue
381_103: #3b6879, // Peacock blue
diff --git a/dist/scss/standards/_copic.scss b/dist/scss/standards/_copic_hex_map.scss
similarity index 100%
rename from dist/scss/standards/_copic.scss
rename to dist/scss/standards/_copic_hex_map.scss
diff --git a/dist/scss/standards/flat-design-colors-scss/flat_design_colors.scss b/dist/scss/standards/_flat_design_colors.scss
similarity index 100%
rename from dist/scss/standards/flat-design-colors-scss/flat_design_colors.scss
rename to dist/scss/standards/_flat_design_colors.scss
diff --git a/dist/scss/standards/flat-design-colors-scss/flat_design_colors_full.scss b/dist/scss/standards/_flat_design_colors_full.scss
similarity index 100%
rename from dist/scss/standards/flat-design-colors-scss/flat_design_colors_full.scss
rename to dist/scss/standards/_flat_design_colors_full.scss
diff --git a/dist/scss/standards/_fs595.scss b/dist/scss/standards/_fs595_hex_map.scss
similarity index 100%
rename from dist/scss/standards/_fs595.scss
rename to dist/scss/standards/_fs595_hex_map.scss
diff --git a/dist/scss/standards/material-design-colors-scss/material_design_colors.scss b/dist/scss/standards/_material_design_colors.scss
similarity index 100%
rename from dist/scss/standards/material-design-colors-scss/material_design_colors.scss
rename to dist/scss/standards/_material_design_colors.scss
diff --git a/dist/scss/standards/material-design-colors-scss/material_design_colors_full.scss b/dist/scss/standards/_material_design_colors_full.scss
similarity index 100%
rename from dist/scss/standards/material-design-colors-scss/material_design_colors_full.scss
rename to dist/scss/standards/_material_design_colors_full.scss
diff --git a/dist/scss/standards/_nbs.scss b/dist/scss/standards/_nbs_hex_map.scss
similarity index 100%
rename from dist/scss/standards/_nbs.scss
rename to dist/scss/standards/_nbs_hex_map.scss
diff --git a/dist/scss/standards/_ncs.scss b/dist/scss/standards/_ncs_hex_map.scss
similarity index 99%
rename from dist/scss/standards/_ncs.scss
rename to dist/scss/standards/_ncs_hex_map.scss
index bf43201..23b8323 100644
--- a/dist/scss/standards/_ncs.scss
+++ b/dist/scss/standards/_ncs_hex_map.scss
@@ -13,7 +13,6 @@
// limitations under the License.
-
// ============================================================================
// NCS Colors
// ============================================================================
diff --git a/dist/scss/standards/_ral.scss b/dist/scss/standards/_ral_hex_map.scss
similarity index 100%
rename from dist/scss/standards/_ral.scss
rename to dist/scss/standards/_ral_hex_map.scss
diff --git a/dist/scss/standards/_tailwind.scss b/dist/scss/standards/_tailwind_hex_var.scss
similarity index 100%
rename from dist/scss/standards/_tailwind.scss
rename to dist/scss/standards/_tailwind_hex_var.scss
diff --git a/dist/scss/standards/_x11.scss b/dist/scss/standards/_x11_hex_map.scss
similarity index 92%
rename from dist/scss/standards/_x11.scss
rename to dist/scss/standards/_x11_hex_map.scss
index c93d784..1ee96d3 100644
--- a/dist/scss/standards/_x11.scss
+++ b/dist/scss/standards/_x11_hex_map.scss
@@ -33,46 +33,46 @@ $color_x11_hex: (
azure3: #c1cdcd,
azure4: #838b8b,
beige: #f5f5dc,
- bisque1: #ffe4c4,
- bisque2: #eed5b7,
- bisque3: #cdb79e,
- bisque4: #8b7d6b,
- black: #000000,
+ bisque1: #ffe4c4,
+ bisque2: #eed5b7,
+ bisque3: #cdb79e,
+ bisque4: #8b7d6b,
+ black: #000000,
blanchedalmond: #ffebcd,
- blue1: #0000ff,
- blue2: #0000ee,
- blue4: #00008b,
- blueviolet: #8a2be2,
- brown: #a52a2a,
- brown1: #ff4040,
- brown2: #ee3b3b,
- brown3: #cd3333,
- brown4: #8b2323,
- burlywood: #deb887,
- burlywood1: #ffd39b,
- burlywood2: #eec591,
- burlywood3: #cdaa7d,
- burlywood4: #8b7355,
- cadetblue: #5f9ea0,
- cadetblue1: #98f5ff,
- cadetblue2: #8ee5ee,
- cadetblue3: #7ac5cd,
- cadetblue4: #53868b,
+ blue1: #0000ff,
+ blue2: #0000ee,
+ blue4: #00008b,
+ blueviolet: #8a2be2,
+ brown: #a52a2a,
+ brown1: #ff4040,
+ brown2: #ee3b3b,
+ brown3: #cd3333,
+ brown4: #8b2323,
+ burlywood: #deb887,
+ burlywood1: #ffd39b,
+ burlywood2: #eec591,
+ burlywood3: #cdaa7d,
+ burlywood4: #8b7355,
+ cadetblue: #5f9ea0,
+ cadetblue1: #98f5ff,
+ cadetblue2: #8ee5ee,
+ cadetblue3: #7ac5cd,
+ cadetblue4: #53868b,
chartreuse1: #7fff00,
chartreuse2: #76ee00,
chartreuse3: #66cd00,
chartreuse4: #458b00,
- chocolate: #d2691e,
- chocolate1: #ff7f24,
- chocolate2: #ee7621,
- chocolate3: #cd661d,
- coral: #ff7f50,
- coral1: #ff7256,
- coral2: #ee6a50,
- coral3: #cd5b45,
- coral4: #8b3e2f,
- cornflowerblue: #6495ed,
- cornsilk1: #fff8dc,
+ chocolate: #d2691e,
+ chocolate1: #ff7f24,
+ chocolate2: #ee7621,
+ chocolate3: #cd661d,
+ coral: #ff7f50,
+ coral1: #ff7256,
+ coral2: #ee6a50,
+ coral3: #cd5b45,
+ coral4: #8b3e2f,
+ cornflowerblue: #6495ed,
+ cornsilk1: #fff8dc,
cornsilk2: #eee8cd,
cornsilk3: #cdc8b1,
cornsilk4: #8b8878,
diff --git a/dist/scss/standards/standards.scss b/dist/scss/standards/standards.scss
new file mode 100644
index 0000000..a9ed40f
--- /dev/null
+++ b/dist/scss/standards/standards.scss
@@ -0,0 +1,22 @@
+// Copyright 2023 Scape Agency BV
+
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+
+// http://www.apache.org/licenses/LICENSE-2.0
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+// ============================================================================
+// Color Standards
+// ============================================================================
+
+
+
+// _x11_hex_map
\ No newline at end of file
diff --git a/dist/styl/hue.gl.styl b/dist/styl/hue.gl.styl
index 9fb5782..57b0b22 100644
--- a/dist/styl/hue.gl.styl
+++ b/dist/styl/hue.gl.styl
@@ -23,6 +23,19 @@
// General
// ============================================================================
+// Grey
+// ----------------------------------------------------------------------------
+
+N0001 = #e2e2e2
+N0002 = #cccccc
+N0003 = #b6b6b6
+N0004 = #a0a0a0
+N0005 = #8b8b8b
+N0006 = #777777
+N0007 = #636363
+N0008 = #505050
+N0009 = #3e3e3e
+
// Salmon
// ----------------------------------------------------------------------------
diff --git a/dist/svg/swatch/N0001.svg b/dist/svg/swatch/N0001.svg
new file mode 100644
index 0000000..f2f01f0
--- /dev/null
+++ b/dist/svg/swatch/N0001.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0002.svg b/dist/svg/swatch/N0002.svg
new file mode 100644
index 0000000..dbc9aa0
--- /dev/null
+++ b/dist/svg/swatch/N0002.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0003.svg b/dist/svg/swatch/N0003.svg
new file mode 100644
index 0000000..4a5a2e8
--- /dev/null
+++ b/dist/svg/swatch/N0003.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0004.svg b/dist/svg/swatch/N0004.svg
new file mode 100644
index 0000000..ec18f7b
--- /dev/null
+++ b/dist/svg/swatch/N0004.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0005.svg b/dist/svg/swatch/N0005.svg
new file mode 100644
index 0000000..29f7adf
--- /dev/null
+++ b/dist/svg/swatch/N0005.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0006.svg b/dist/svg/swatch/N0006.svg
new file mode 100644
index 0000000..0e5a5e7
--- /dev/null
+++ b/dist/svg/swatch/N0006.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0007.svg b/dist/svg/swatch/N0007.svg
new file mode 100644
index 0000000..0ae40a6
--- /dev/null
+++ b/dist/svg/swatch/N0007.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0008.svg b/dist/svg/swatch/N0008.svg
new file mode 100644
index 0000000..5d98368
--- /dev/null
+++ b/dist/svg/swatch/N0008.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/svg/swatch/N0009.svg b/dist/svg/swatch/N0009.svg
new file mode 100644
index 0000000..d316d85
--- /dev/null
+++ b/dist/svg/swatch/N0009.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/dist/tex/hue.gl.tex b/dist/tex/hue.gl.tex
index 78f021d..86165eb 100644
--- a/dist/tex/hue.gl.tex
+++ b/dist/tex/hue.gl.tex
@@ -23,6 +23,19 @@
% General
% =============================================================================
+% Grey
+% -----------------------------------------------------------------------------
+
+\definecolor{ N0001 }{rgb}{ 226, 226, 226 }
+\definecolor{ N0002 }{rgb}{ 204, 204, 204 }
+\definecolor{ N0003 }{rgb}{ 182, 182, 182 }
+\definecolor{ N0004 }{rgb}{ 160, 160, 160 }
+\definecolor{ N0005 }{rgb}{ 139, 139, 139 }
+\definecolor{ N0006 }{rgb}{ 119, 119, 119 }
+\definecolor{ N0007 }{rgb}{ 99, 99, 99 }
+\definecolor{ N0008 }{rgb}{ 80, 80, 80 }
+\definecolor{ N0009 }{rgb}{ 62, 62, 62 }
+
% Salmon
% -----------------------------------------------------------------------------
diff --git a/package-lock.json b/package-lock.json
index 4cb5374..ac951e0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -43,7 +43,7 @@
"icon.gl": "^0.0.4",
"loop.gl": "^0.0.1",
"mini-css-extract-plugin": "^2.7.6",
- "pack.gl": "^0.0.26",
+ "pack.gl": "^0.0.25",
"page.gl": "^0.0.3",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.1.2",
@@ -5455,9 +5455,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001572",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001572.tgz",
- "integrity": "sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==",
+ "version": "1.0.30001574",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001574.tgz",
+ "integrity": "sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==",
"dev": true,
"funding": [
{
@@ -7314,9 +7314,9 @@
"dev": true
},
"node_modules/electron-to-chromium": {
- "version": "1.4.618",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.618.tgz",
- "integrity": "sha512-mTM2HieHLxs1RbD/R/ZoQLMsGI8lWIkP17G7cx32mJRBJt9wlNPkXwE3sYg/OnNb5GBkus98lXatSthoL8Y5Ag==",
+ "version": "1.4.620",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.620.tgz",
+ "integrity": "sha512-a2fcSHOHrqBJsPNXtf6ZCEZpXrFCcbK1FBxfX3txoqWzNgtEDG1f3M59M98iwxhRW4iMKESnSjbJ310/rkrp0g==",
"dev": true
},
"node_modules/emoji-regex": {
@@ -11522,16 +11522,10 @@
}
},
"node_modules/pack.gl": {
- "version": "0.0.26",
- "resolved": "https://registry.npmjs.org/pack.gl/-/pack.gl-0.0.26.tgz",
- "integrity": "sha512-SnDzdatUcgoGfhO2VB4uuenenQ/K65pHjQ+AuGoMO5gTYGyF07MkQMBQskMMXgs3td1RbCclf08Su0Ln0F1i4w==",
+ "version": "0.0.25",
+ "resolved": "https://registry.npmjs.org/pack.gl/-/pack.gl-0.0.25.tgz",
+ "integrity": "sha512-MuAUZBy/vGJuTMhn/8reAzDm3Jl0ZB+HCAq5JNxWBfwKB2TGzDHpVJlh4buPhmG4P8riDRHie1lBxb3va6GQOw==",
"dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/scape-foundation"
- }
- ],
"dependencies": {
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
diff --git a/package.json b/package.json
index c8f783d..edb9731 100644
--- a/package.json
+++ b/package.json
@@ -87,7 +87,7 @@
"icon.gl": "^0.0.4",
"loop.gl": "^0.0.1",
"mini-css-extract-plugin": "^2.7.6",
- "pack.gl": "^0.0.26",
+ "pack.gl": "^0.0.25",
"page.gl": "^0.0.3",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.1.2",
diff --git a/script/js/hue/color/ColorScheme.js b/script/js/hue/color/ColorScheme.js
index 1a3abf5..c30a94e 100644
--- a/script/js/hue/color/ColorScheme.js
+++ b/script/js/hue/color/ColorScheme.js
@@ -30,13 +30,17 @@ class ColorScheme {
c_list.push(c_cur);
}
;
- for (let h = this.config.h_step; h <= 360; h += this.config.h_step) {
+ for (let h = 0; h <= 360; h += this.config.h_step) {
let h_group = {};
let h_group_name = this.names[h];
;
for (let i = 0; i < this.config.p_count; i++) {
let l_cur = l_list[i];
let c_cur = c_list[i];
+ if (h == 0) {
+ c_cur = 0;
+ }
+ ;
let name = this.config.prefix + pad(h.toString(), 3, "0") + (i + 1).toString();
let color = new ColorSwatch(h, c_cur, l_cur, name);
this.colorList.push(color);
diff --git a/script/js/hue/config/hue.names.js b/script/js/hue/config/hue.names.js
index 0b5df6d..6c2a96d 100644
--- a/script/js/hue/config/hue.names.js
+++ b/script/js/hue/config/hue.names.js
@@ -1,4 +1,5 @@
const hueNames = {
+ 0: "Grey",
15: "Salmon",
30: "Orange",
45: "Amber",
diff --git a/script/js/index.js b/script/js/index.js
index c7f4144..2871d39 100644
--- a/script/js/index.js
+++ b/script/js/index.js
@@ -1,6 +1,6 @@
import { __awaiter } from "tslib";
import path from 'path';
-import { DirectoryCleaner, DirectoryCopier, FileCopier, StyleProcessor, PackageCreator, VersionWriter, TypeScriptCompiler, JavaScriptMinifier, StylizedLogger, TemplateWriter, SvgToPngConverter, gl_installer, readPackageJson, } from 'pack.gl';
+import { DirectoryCleaner, DirectoryCopier, FileCopier, StyleProcessor, PackageCreator, VersionWriter, TypeScriptCompiler, JavaScriptMinifier, StylizedLogger, TemplateWriter, SvgToPngConverter, readPackageJson, } from 'pack.gl';
import ColorScheme from './hue/color/ColorScheme.js';
import hueConfig from "./hue/config/hue.config.js";
import hueNames from "./hue/config/hue.names.js";
@@ -26,7 +26,6 @@ function main() {
try {
const logger = new StylizedLogger();
logger.header('Install .gl libraries');
- yield gl_installer();
const directoryCleaner = new DirectoryCleaner();
logger.header('Clean Directories');
directoryCleaner.cleanDirectory(CONFIG.path.dist);
diff --git a/script/ts/hue/color/ColorScheme.ts b/script/ts/hue/color/ColorScheme.ts
index 71089bf..b95448b 100644
--- a/script/ts/hue/color/ColorScheme.ts
+++ b/script/ts/hue/color/ColorScheme.ts
@@ -70,6 +70,8 @@ class ColorScheme {
// Create LC lists
// --------------------------------------------------------------------
+ // const l_list = [0];
+ // const c_list = [0];
const l_list = [];
const c_list = [];
for (let i = 0; i < this.config.p_count; i ++) {
@@ -87,15 +89,22 @@ class ColorScheme {
// Create hue.gl
// --------------------------------------------------------------------
- for (let h = this.config.h_step; h <= 360; h += this.config.h_step) {
+ // for (let h = this.config.h_step; h <= 360; h += this.config.h_step) {
+ for (let h = 0; h <= 360; h += this.config.h_step) {
let h_group: Record = {};
// let h_group_name = h.toString();
let h_group_name = this.names[h];;
+
+
for (let i = 0; i < this.config.p_count; i ++) {
let l_cur = l_list[i];
let c_cur = c_list[i];
+ if (h == 0) {
+ c_cur = 0;
+ };
+
let name = this.config.prefix + pad(h.toString(), 3, "0") + (i + 1).toString();
let color = new ColorSwatch(h, c_cur, l_cur, name)
this.colorList.push(color);
diff --git a/script/ts/hue/config/hue.config.ts b/script/ts/hue/config/hue.config.ts
index 95b4637..8bb6205 100644
--- a/script/ts/hue/config/hue.config.ts
+++ b/script/ts/hue/config/hue.config.ts
@@ -1,13 +1,28 @@
+// hue/config/hue.config.ts
+// Copyright 2023 Scape Agency BV
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
-const hueConfig = {
+// ============================================================================
+// Constants
+// ============================================================================
+
+const hueConfig = {
prefix: "N",
h_step: 15,
-
p_count: 9,
l_l_min: 96,
l_l_step: -6,
@@ -15,8 +30,12 @@ const hueConfig = {
l_c_min: 12,
l_c_step: 6,
d_c_step: -6,
- // h_max: 360,
};
+
+// ============================================================================
+// Export
+// ============================================================================
+
export default hueConfig;
\ No newline at end of file
diff --git a/script/ts/hue/config/hue.names.ts b/script/ts/hue/config/hue.names.ts
index b905e95..79fd691 100644
--- a/script/ts/hue/config/hue.names.ts
+++ b/script/ts/hue/config/hue.names.ts
@@ -1,8 +1,26 @@
+// hue/config/hue.names.ts
-// Globals
-// ========================================================================
+// Copyright 2023 Scape Agency BV
+
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+
+// http://www.apache.org/licenses/LICENSE-2.0
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+// ============================================================================
+// Constants
+// ============================================================================
const hueNames = {
+ 0: "Grey",
15: "Salmon",
30: "Orange",
45: "Amber",
@@ -30,6 +48,9 @@ const hueNames = {
};
+// ============================================================================
+// Export
+// ============================================================================
export default hueNames;
diff --git a/script/ts/index.ts b/script/ts/index.ts
index 0012124..8cba7c7 100644
--- a/script/ts/index.ts
+++ b/script/ts/index.ts
@@ -91,7 +91,7 @@ async function main() {
// --------------------------------------------------------------------
logger.header('Install .gl libraries');
- await gl_installer();
+ // await gl_installer();
// Dirs Clean