salesforce-ux / theo

Theo is a an abstraction for transforming and formatting Design Tokens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android transform outputs "property" element for color

JolandaVerhoef opened this issue · comments

The documented android output uses the "color" element for colors. However, the current output uses the "property" element instead.

Documentation:

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <property name="PROP_NAME" type="PROP_TYPE" category="PROP_CATEGORY">PROP_VALUE</property>
  <color name="PROP_NAME" type="color" category="PROP_CATEGORY">PROP_VALUE</color>
</resources>

Snapshot:

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <property name="TOKEN_COLOR" category="background-color" value="#bada55"/>
  ...
</resources>