@trishchuk/coolors-mcp 1.0.0 → 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.
Files changed (66) hide show
  1. package/.claude/settings.local.json +2 -6
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +20 -8
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +22 -8
  4. package/.github/pull_request_template.md +33 -8
  5. package/.github/workflows/ci.yml +97 -97
  6. package/.github/workflows/deploy-docs.yml +9 -9
  7. package/.github/workflows/release.yml +15 -15
  8. package/README.md +26 -1
  9. package/TOOLS_UK.md +233 -0
  10. package/docs/.vitepress/cache/deps/@braintree_sanitize-url.js +30 -12
  11. package/docs/.vitepress/cache/deps/_metadata.json +1 -1
  12. package/docs/.vitepress/cache/deps/chunk-BUSYA2B4.js +9 -6
  13. package/docs/.vitepress/cache/deps/chunk-JD3CXNQ6.js +2543 -1612
  14. package/docs/.vitepress/cache/deps/chunk-SYPOPCWC.js +3508 -2529
  15. package/docs/.vitepress/cache/deps/cytoscape-cose-bilkent.js +1902 -1003
  16. package/docs/.vitepress/cache/deps/cytoscape.js +13303 -7347
  17. package/docs/.vitepress/cache/deps/dayjs.js +494 -272
  18. package/docs/.vitepress/cache/deps/debug.js +82 -38
  19. package/docs/.vitepress/cache/deps/prismjs.js +444 -272
  20. package/docs/.vitepress/cache/deps/prismjs_components_prism-bash.js +80 -73
  21. package/docs/.vitepress/cache/deps/prismjs_components_prism-javascript.js +93 -62
  22. package/docs/.vitepress/cache/deps/prismjs_components_prism-json.js +13 -13
  23. package/docs/.vitepress/cache/deps/prismjs_components_prism-python.js +34 -27
  24. package/docs/.vitepress/cache/deps/prismjs_components_prism-typescript.js +20 -17
  25. package/docs/.vitepress/cache/deps/prismjs_components_prism-yaml.js +75 -41
  26. package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +2005 -1438
  27. package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +2 -2
  28. package/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js +566 -229
  29. package/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js +382 -270
  30. package/docs/.vitepress/cache/deps/vitepress___minisearch.js +334 -125
  31. package/docs/.vitepress/cache/deps/vue.js +2 -2
  32. package/docs/.vitepress/components/ClientGrid.vue +9 -3
  33. package/docs/.vitepress/components/CodeBlock.vue +51 -44
  34. package/docs/.vitepress/components/ConfigModal.vue +151 -67
  35. package/docs/.vitepress/components/DiagramModal.vue +186 -154
  36. package/docs/.vitepress/components/TroubleshootingModal.vue +101 -96
  37. package/docs/.vitepress/config.js +171 -141
  38. package/docs/.vitepress/theme/FundingLayout.vue +65 -54
  39. package/docs/.vitepress/theme/Layout.vue +21 -21
  40. package/docs/.vitepress/theme/components/AdBanner.vue +73 -52
  41. package/docs/.vitepress/theme/components/AdPlaceholder.vue +3 -3
  42. package/docs/.vitepress/theme/components/FundingEffects.vue +77 -53
  43. package/docs/.vitepress/theme/components/FundingHero.vue +78 -63
  44. package/docs/.vitepress/theme/components/SupportSection.vue +106 -89
  45. package/docs/.vitepress/theme/custom-app.css +19 -12
  46. package/docs/.vitepress/theme/custom.css +33 -25
  47. package/docs/.vitepress/theme/index.js +19 -16
  48. package/docs/concepts/accessibility.md +59 -47
  49. package/docs/concepts/color-spaces.md +28 -6
  50. package/docs/concepts/distance-metrics.md +45 -30
  51. package/docs/concepts/hct.md +30 -27
  52. package/docs/concepts/image-analysis.md +52 -21
  53. package/docs/concepts/material-design.md +43 -17
  54. package/docs/concepts/theme-matching.md +64 -40
  55. package/docs/examples/basic-colors.md +92 -108
  56. package/docs/examples/creating-themes.md +104 -108
  57. package/docs/examples/css-refactoring.md +33 -29
  58. package/docs/examples/image-extraction.md +145 -138
  59. package/docs/getting-started.md +45 -34
  60. package/docs/index.md +5 -1
  61. package/docs/installation.md +15 -1
  62. package/docs/tools/accessibility.md +74 -68
  63. package/docs/tools/image-extraction.md +62 -54
  64. package/docs/tools/theme-matching.md +45 -42
  65. package/note.md +1 -2
  66. package/package.json +2 -2
@@ -1,6 +1,4 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-BUSYA2B4.js";
1
+ import { __commonJS } from "./chunk-BUSYA2B4.js";
4
2
 
5
3
  // node_modules/ms/index.js
6
4
  var require_ms = __commonJS({
@@ -11,7 +9,7 @@ var require_ms = __commonJS({
11
9
  var d = h * 24;
12
10
  var w = d * 7;
13
11
  var y = d * 365.25;
14
- module.exports = function(val, options) {
12
+ module.exports = function (val, options) {
15
13
  options = options || {};
16
14
  var type = typeof val;
17
15
  if (type === "string" && val.length > 0) {
@@ -20,7 +18,8 @@ var require_ms = __commonJS({
20
18
  return options.long ? fmtLong(val) : fmtShort(val);
21
19
  }
22
20
  throw new Error(
23
- "val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
21
+ "val is not a non-empty string or a valid number. val=" +
22
+ JSON.stringify(val),
24
23
  );
25
24
  };
26
25
  function parse(str) {
@@ -28,9 +27,10 @@ var require_ms = __commonJS({
28
27
  if (str.length > 100) {
29
28
  return;
30
29
  }
31
- var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
32
- str
33
- );
30
+ var match =
31
+ /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
32
+ str,
33
+ );
34
34
  if (!match) {
35
35
  return;
36
36
  }
@@ -115,7 +115,7 @@ var require_ms = __commonJS({
115
115
  var isPlural = msAbs >= n * 1.5;
116
116
  return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
117
117
  }
118
- }
118
+ },
119
119
  });
120
120
 
121
121
  // node_modules/debug/src/common.js
@@ -204,7 +204,7 @@ var require_common = __commonJS({
204
204
  },
205
205
  set: (v) => {
206
206
  enableOverride = v;
207
- }
207
+ },
208
208
  });
209
209
  if (typeof createDebug.init === "function") {
210
210
  createDebug.init(debug);
@@ -212,7 +212,11 @@ var require_common = __commonJS({
212
212
  return debug;
213
213
  }
214
214
  function extend(namespace, delimiter) {
215
- const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
215
+ const newDebug = createDebug(
216
+ this.namespace +
217
+ (typeof delimiter === "undefined" ? ":" : delimiter) +
218
+ namespace,
219
+ );
216
220
  newDebug.log = this.log;
217
221
  return newDebug;
218
222
  }
@@ -221,7 +225,11 @@ var require_common = __commonJS({
221
225
  createDebug.namespaces = namespaces;
222
226
  createDebug.names = [];
223
227
  createDebug.skips = [];
224
- const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
228
+ const split = (typeof namespaces === "string" ? namespaces : "")
229
+ .trim()
230
+ .replace(/\s+/g, ",")
231
+ .split(",")
232
+ .filter(Boolean);
225
233
  for (const ns of split) {
226
234
  if (ns[0] === "-") {
227
235
  createDebug.skips.push(ns.slice(1));
@@ -236,7 +244,11 @@ var require_common = __commonJS({
236
244
  let starIndex = -1;
237
245
  let matchIndex = 0;
238
246
  while (searchIndex < search.length) {
239
- if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
247
+ if (
248
+ templateIndex < template.length &&
249
+ (template[templateIndex] === search[searchIndex] ||
250
+ template[templateIndex] === "*")
251
+ ) {
240
252
  if (template[templateIndex] === "*") {
241
253
  starIndex = templateIndex;
242
254
  matchIndex = searchIndex;
@@ -253,7 +265,10 @@ var require_common = __commonJS({
253
265
  return false;
254
266
  }
255
267
  }
256
- while (templateIndex < template.length && template[templateIndex] === "*") {
268
+ while (
269
+ templateIndex < template.length &&
270
+ template[templateIndex] === "*"
271
+ ) {
257
272
  templateIndex++;
258
273
  }
259
274
  return templateIndex === template.length;
@@ -261,7 +276,7 @@ var require_common = __commonJS({
261
276
  function disable() {
262
277
  const namespaces = [
263
278
  ...createDebug.names,
264
- ...createDebug.skips.map((namespace) => "-" + namespace)
279
+ ...createDebug.skips.map((namespace) => "-" + namespace),
265
280
  ].join(",");
266
281
  createDebug.enable("");
267
282
  return namespaces;
@@ -286,13 +301,15 @@ var require_common = __commonJS({
286
301
  return val;
287
302
  }
288
303
  function destroy() {
289
- console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
304
+ console.warn(
305
+ "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.",
306
+ );
290
307
  }
291
308
  createDebug.enable(createDebug.load());
292
309
  return createDebug;
293
310
  }
294
311
  module.exports = setup;
295
- }
312
+ },
296
313
  });
297
314
 
298
315
  // node_modules/debug/src/browser.js
@@ -308,7 +325,9 @@ var require_browser = __commonJS({
308
325
  return () => {
309
326
  if (!warned) {
310
327
  warned = true;
311
- console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
328
+ console.warn(
329
+ "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.",
330
+ );
312
331
  }
313
332
  };
314
333
  })();
@@ -388,24 +407,52 @@ var require_browser = __commonJS({
388
407
  "#FF9900",
389
408
  "#FF9933",
390
409
  "#FFCC00",
391
- "#FFCC33"
410
+ "#FFCC33",
392
411
  ];
393
412
  function useColors() {
394
- if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
413
+ if (
414
+ typeof window !== "undefined" &&
415
+ window.process &&
416
+ (window.process.type === "renderer" || window.process.__nwjs)
417
+ ) {
395
418
  return true;
396
419
  }
397
- if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
420
+ if (
421
+ typeof navigator !== "undefined" &&
422
+ navigator.userAgent &&
423
+ navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)
424
+ ) {
398
425
  return false;
399
426
  }
400
427
  let m;
401
- return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
402
- typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
403
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
404
- typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
405
- typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
428
+ return (
429
+ (typeof document !== "undefined" &&
430
+ document.documentElement &&
431
+ document.documentElement.style &&
432
+ document.documentElement.style.WebkitAppearance) || // Is firebug? http://stackoverflow.com/a/398120/376773
433
+ (typeof window !== "undefined" &&
434
+ window.console &&
435
+ (window.console.firebug ||
436
+ (window.console.exception && window.console.table))) || // Is firefox >= v31?
437
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
438
+ (typeof navigator !== "undefined" &&
439
+ navigator.userAgent &&
440
+ (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) &&
441
+ parseInt(m[1], 10) >= 31) || // Double check webkit in userAgent just in case we are in a worker
442
+ (typeof navigator !== "undefined" &&
443
+ navigator.userAgent &&
444
+ navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))
445
+ );
406
446
  }
407
447
  function formatArgs(args) {
408
- args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);
448
+ args[0] =
449
+ (this.useColors ? "%c" : "") +
450
+ this.namespace +
451
+ (this.useColors ? " %c" : " ") +
452
+ args[0] +
453
+ (this.useColors ? "%c " : " ") +
454
+ "+" +
455
+ module.exports.humanize(this.diff);
409
456
  if (!this.useColors) {
410
457
  return;
411
458
  }
@@ -424,8 +471,7 @@ var require_browser = __commonJS({
424
471
  });
425
472
  args.splice(lastC, 0, c);
426
473
  }
427
- exports.log = console.debug || console.log || (() => {
428
- });
474
+ exports.log = console.debug || console.log || (() => {});
429
475
  function save(namespaces) {
430
476
  try {
431
477
  if (namespaces) {
@@ -433,15 +479,14 @@ var require_browser = __commonJS({
433
479
  } else {
434
480
  exports.storage.removeItem("debug");
435
481
  }
436
- } catch (error) {
437
- }
482
+ } catch (error) {}
438
483
  }
439
484
  function load() {
440
485
  let r;
441
486
  try {
442
- r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
443
- } catch (error) {
444
- }
487
+ r =
488
+ exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
489
+ } catch (error) {}
445
490
  if (!r && typeof process !== "undefined" && "env" in process) {
446
491
  r = process.env.DEBUG;
447
492
  }
@@ -450,19 +495,18 @@ var require_browser = __commonJS({
450
495
  function localstorage() {
451
496
  try {
452
497
  return localStorage;
453
- } catch (error) {
454
- }
498
+ } catch (error) {}
455
499
  }
456
500
  module.exports = require_common()(exports);
457
501
  var { formatters } = module.exports;
458
- formatters.j = function(v) {
502
+ formatters.j = function (v) {
459
503
  try {
460
504
  return JSON.stringify(v);
461
505
  } catch (error) {
462
506
  return "[UnexpectedJSONParseError]: " + error.message;
463
507
  }
464
508
  };
465
- }
509
+ },
466
510
  });
467
511
  export default require_browser();
468
512
  //# sourceMappingURL=debug.js.map