Skip to content

Commit 70f5fea

Browse files
committed
add web overrides for text-align, text-color, and text-style
1 parent 2685c6d commit 70f5fea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

public/xmlns/web.xsd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@
2727

2828
<!-- region: content:text attributes -->
2929
<xs:attribute name="font-weight" type="content:fontWeight" />
30+
<xs:attribute name="text-align" type="content:horizontalGravity" />
31+
<xs:attribute name="text-color" type="content:colorValue" />
3032
<xs:attribute name="text-scale" type="xs:float" />
33+
<xs:attribute name="text-style" type="content:textStyles" />
3134
<xs:attribute name="minimum-lines" type="content:textMinimumLines" />
3235

3336
<xs:attributeGroup name="contentTextType">
3437
<xs:attribute ref="web:font-weight" />
38+
<xs:attribute ref="web:text-align" />
39+
<xs:attribute ref="web:text-color" />
3540
<xs:attribute ref="web:text-scale" />
41+
<xs:attribute ref="web:text-style" />
3642
<xs:attribute ref="web:minimum-lines" />
3743
</xs:attributeGroup>
3844
<!-- endregion: content:text attributes -->
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<content:text xmlns:content="https://mobile-content-api.cru.org/xmlns/content"
2+
xmlns:web="https://mobile-content-api.cru.org/xmlns/web" font-weight="400" minimum-lines="2" text-align="center"
3+
text-color="rgba(255,0,0,1)" text-style="italic" web:font-weight="700" web:minimum-lines="5"
4+
web:text-align="start" web:text-color="rgba(0,255,255,1)" web:text-style="underline" />

0 commit comments

Comments
 (0)