isi-vista / adam

Abduction to Demonstrate an Articulate Machine
MIT License
11 stars 3 forks source link

If object has a color property, display a swatch of that color in the properties list #1088 #1091

Closed gracemcclurg closed 2 years ago

gracemcclurg commented 2 years ago

I added a boolean attribute isColor to the property object which uses regex to determine whether the color swatch should be displayed in HTML on the corresponding line. The color is displayed on a square whose font color matches the property color.

gracemcclurg commented 2 years ago

Here is an attached screenshot showing the responding color: image