@lotics/cli 0.230.0 → 0.232.0

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.
@@ -960,12 +960,13 @@ var __loticsProbe = (() => {
960
960
  let chromatic = 0;
961
961
  if (valence.length > 0) {
962
962
  const stateInk = '[role="status"], [role="alert"], [aria-invalid="true"], [aria-disabled="true"]';
963
+ const identityMark = '[data-mark="identity"]';
963
964
  const walk = (node) => {
964
965
  if (node.nodeType === Node.TEXT_NODE) {
965
966
  const text = (node.textContent || "").trim();
966
967
  const parent = node.parentElement;
967
968
  if (text === "" || parent === null || skipTag.test(parent.tagName)) return;
968
- if (!onScreen(parent) || parent.closest(chrome) !== null || parent.closest(stateInk) !== null) return;
969
+ if (!onScreen(parent) || parent.closest(chrome) !== null || parent.closest(stateInk) !== null || parent.closest(identityMark) !== null) return;
969
970
  const ink = rgbOf(getComputedStyle(parent).color);
970
971
  if (ink === null) return;
971
972
  if (valence.some((tone) => Math.abs(tone[0] - ink[0]) + Math.abs(tone[1] - ink[1]) + Math.abs(tone[2] - ink[2]) <= sameColour)) return;