LZX-$7.lzx

<canvas height="20" layout="axis: x; spacing: 5">
   <stylesheet>
     .red { background-color: red }
     .green { background-color: green }
     .red.green { background-color: yellow }
   </stylesheet>

   <class name="swatch" height="20" width="20">
     <attribute name="bgcolor" style="background-color" value="blue"/>
   </class>

   <swatch styleclass="red"/>
   <swatch styleclass="green"/>
   <swatch styleclass="red green"/>
   <swatch/>
 </canvas>

Cross References

Classes