Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for attributedString #2

Open
KingOfBrian opened this issue Oct 24, 2016 · 0 comments
Open

Add support for attributedString #2

KingOfBrian opened this issue Oct 24, 2016 · 0 comments
Labels

Comments

@KingOfBrian
Copy link
Contributor

KingOfBrian commented Oct 24, 2016

This will probably be one of the more complicated builders. I'd prefer we generate BonMot code.

<attributedString key="attributedText">
     <fragment content="I agree that I have read and understand the ">
        <attributes>
             <color key="NSColor" red="0.58823529411764708" green="0.58823529411764708" blue="0.58823529411764708" alpha="1" colorSpace="calibratedRGB"/>
             <font key="NSFont" size="12" name="HelveticaNeue"/>
             <paragraphStyle key="NSParagraphStyle" alignment="left" lineBreakMode="wordWrapping" baseWritingDirection="natural"/>
         </attributes>
     </fragment>
     <fragment content="terms &amp; conditions">
         <attributes>
             <color key="NSColor" red="0.14117647058823529" green="0.59607843137254901" blue="0.54509803921568623" alpha="1" colorSpace="calibratedRGB"/>
             <font key="NSFont" size="12" name="HelveticaNeue-Bold"/>
             <paragraphStyle key="NSParagraphStyle" alignment="left" lineBreakMode="wordWrapping" baseWritingDirection="natural"/>
         </attributes>
     </fragment>
 </attributedString>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant