<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>thread Support for CSS font-family via fontFamily is incomplete in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Support-for-CSS-font-family-via-fontFamily-is-incomplete/m-p/14754#M95107</link>
    <description>&lt;P&gt;It appears that support for CSS font-family attributes via the fontFamily property is incomplete. The following does not work and returns an error in the javascript console.&lt;/P&gt;
&lt;PRE&gt;    inputStyles: [
      {
        fontSize: '16px',
        fontFamily: 'Helvetica, Arial, san-serif',
        color: 'rgb(10, 10, 10)'
      }
    ],&lt;/PRE&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;PRE&gt;Uncaught Error: Invalid InputStyle value `Helvetica, Arial, san-serif` for property `fontFamily`.
See: https://docs.connect.squareup.com/articles/adding-payment-form/#stylingcardform&lt;/PRE&gt;
&lt;P&gt;The link to the documentation does not provide sufficient information for how to use multiple font faces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using a single font-family works, but is not very robust.&lt;/P&gt;
&lt;PRE&gt; inputStyles: [
{
fontSize: '16px',
fontFamily: 'Helvetica',
color: 'rgb(10, 10, 10)'
}
],&lt;/PRE&gt;
&lt;P&gt;Ideally the property should support standard CSS font-family syntax, where font faces can have spaces and quotation marks, and be separated by commas:&lt;/P&gt;
&lt;PRE&gt;font-family:&amp;nbsp;'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2017 21:23:42 GMT</pubDate>
    <dc:creator>stevepiercy</dc:creator>
    <dc:date>2017-02-07T21:23:42Z</dc:date>
    <item>
      <title>Support for CSS font-family via fontFamily is incomplete</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Support-for-CSS-font-family-via-fontFamily-is-incomplete/m-p/14754#M95107</link>
      <description>&lt;P&gt;It appears that support for CSS font-family attributes via the fontFamily property is incomplete. The following does not work and returns an error in the javascript console.&lt;/P&gt;
&lt;PRE&gt;    inputStyles: [
      {
        fontSize: '16px',
        fontFamily: 'Helvetica, Arial, san-serif',
        color: 'rgb(10, 10, 10)'
      }
    ],&lt;/PRE&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;PRE&gt;Uncaught Error: Invalid InputStyle value `Helvetica, Arial, san-serif` for property `fontFamily`.
See: https://docs.connect.squareup.com/articles/adding-payment-form/#stylingcardform&lt;/PRE&gt;
&lt;P&gt;The link to the documentation does not provide sufficient information for how to use multiple font faces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using a single font-family works, but is not very robust.&lt;/P&gt;
&lt;PRE&gt; inputStyles: [
{
fontSize: '16px',
fontFamily: 'Helvetica',
color: 'rgb(10, 10, 10)'
}
],&lt;/PRE&gt;
&lt;P&gt;Ideally the property should support standard CSS font-family syntax, where font faces can have spaces and quotation marks, and be separated by commas:&lt;/P&gt;
&lt;PRE&gt;font-family:&amp;nbsp;'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 21:23:42 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Support-for-CSS-font-family-via-fontFamily-is-incomplete/m-p/14754#M95107</guid>
      <dc:creator>stevepiercy</dc:creator>
      <dc:date>2017-02-07T21:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Support for CSS font-family via fontFamily is incomplete</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Support-for-CSS-font-family-via-fontFamily-is-incomplete/m-p/14768#M95108</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hopefully another seller can help out here, but you can always reach out to our &lt;A href="https://squareup.com/help/us/en/contact" target="_blank"&gt;Support Team&lt;/A&gt; and we can get you in touch with one of our API Specialists.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 20:56:31 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Support-for-CSS-font-family-via-fontFamily-is-incomplete/m-p/14768#M95108</guid>
      <dc:creator>EJ_</dc:creator>
      <dc:date>2016-08-20T20:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Support for CSS font-family via fontFamily is incomplete</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Support-for-CSS-font-family-via-fontFamily-is-incomplete/m-p/15402#M95109</link>
      <description>&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;fontFamily: '"Helvetica Neue", Helvetica, Arial, sans-serif',&lt;/PRE&gt;&lt;P&gt;From Support:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The payment form currently supports only web safe fonts. Roboto is not a so-called web font. Removing Roboto from the list works correctly. See a list of web safe fonts at &lt;A href="http://www.cssfontstack.com/" target="_self"&gt;http://www.cssfontstack.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 00:15:02 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Support-for-CSS-font-family-via-fontFamily-is-incomplete/m-p/15402#M95109</guid>
      <dc:creator>stevepiercy</dc:creator>
      <dc:date>2016-08-26T00:15:02Z</dc:date>
    </item>
  </channel>
</rss>

