« get me outta code hell

yaml: don't color highlight constructor name - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-05 22:38:10 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-06 12:50:31 -0400
commit6a4461498377cbd3097b49afb2011609950e9e7d (patch)
tree241550e3f617e68fafb87413254cf6c8f7ce176f /src
parentf7d928a4f92badb360c1d81a411e3b8f9dab86d3 (diff)
yaml: don't color highlight constructor name
Diffstat (limited to 'src')
-rw-r--r--src/data/yaml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 72e212b9..cdbd6954 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -159,9 +159,9 @@ function makeProcessDocument(
 
     const constructorPart =
       (thingConstructor[Thing.friendlyName]
-        ? colors.green(thingConstructor[Thing.friendlyName])
+        ? thingConstructor[Thing.friendlyName]
      : thingConstructor.name
-        ? colors.green(thingConstructor.name)
+        ? thingConstructor.name
         : `document`);
 
     const aggregate = openAggregate({