<?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>topic Re: How do you style the text in a calcite button in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/how-do-you-style-the-text-in-a-calcite-button/m-p/1692367#M907</link>
    <description>&lt;P&gt;I ended up using a standard anchor &amp;lt;a&amp;gt; element styled as a button.&amp;nbsp; Using the --calcite CSS variables ensure the colors will match with the hub site's theme...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;style&amp;gt;
   .btn-submit {
     text-decoration: none !important;
     background-color: var(--calcite-color-brand);
     color: var(--calcite-color-text-inverse);
     border-radius: 4px;
     border: none;
     padding: 12px 30px;
     min-width: 120px;
     font-size: 1.3rem;
     font-weight: 500;
     outline: none;
   }
   
   .btn-submit:hover {
     background-color: var(--calcite-color-brand-hover);
     outline: none;
     color: var(--calcite-color-text-inverse);
     cursor: pointer;
   }
&amp;lt;/style&amp;gt;
 
&amp;lt;div style="text-align: center;"&amp;gt;
  &amp;lt;a class="btn-submit" href="***" target="_blank" rel="noopener noreferrer"&amp;gt;
   Submit Request
  &amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 24 Mar 2026 20:46:41 GMT</pubDate>
    <dc:creator>ACrateau</dc:creator>
    <dc:date>2026-03-24T20:46:41Z</dc:date>
    <item>
      <title>How do you style the text in a calcite button</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/how-do-you-style-the-text-in-a-calcite-button/m-p/1692270#M905</link>
      <description>&lt;P&gt;I'm using my own CSS stylesheet for the &amp;lt;calcite-button&amp;gt; element, but have not been successful at increasing the default size and font-weight of the text in the button.&amp;nbsp; I've set the [scale] to "l" for large and it's not large enough.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working within ArcGIS Hub and wanting to make a prominent button that directs users to another application (loads on a separate tab).&amp;nbsp; I'm using the calcite-button within a text element on the page.&amp;nbsp; Here is my current HTML.&amp;nbsp; the corner-radius and button-padding styles are working, the font size and weight are not...&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;lt;style&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; calcite-button{&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --calcite-button-corner-radius: 5px;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --calcite-internal-button-padding-x: 30px;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; font-size: var(--calcite-font-size-relative-xl);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; font-weight: var(--calcite-font-weight-semibold);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; }&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;lt;/style&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;lt;calcite-button appearance="solid" target="_blank" text-label="Submit Request" scale="l" href="xyz" alignment="center" kind="brand" type="button" width="auto" split-child="false" calcite-hydrated=""&amp;gt;Submit Request&amp;lt;/calcite-button&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Mar 2026 17:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/how-do-you-style-the-text-in-a-calcite-button/m-p/1692270#M905</guid>
      <dc:creator>ACrateau</dc:creator>
      <dc:date>2026-03-24T17:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you style the text in a calcite button</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/how-do-you-style-the-text-in-a-calcite-button/m-p/1692367#M907</link>
      <description>&lt;P&gt;I ended up using a standard anchor &amp;lt;a&amp;gt; element styled as a button.&amp;nbsp; Using the --calcite CSS variables ensure the colors will match with the hub site's theme...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;style&amp;gt;
   .btn-submit {
     text-decoration: none !important;
     background-color: var(--calcite-color-brand);
     color: var(--calcite-color-text-inverse);
     border-radius: 4px;
     border: none;
     padding: 12px 30px;
     min-width: 120px;
     font-size: 1.3rem;
     font-weight: 500;
     outline: none;
   }
   
   .btn-submit:hover {
     background-color: var(--calcite-color-brand-hover);
     outline: none;
     color: var(--calcite-color-text-inverse);
     cursor: pointer;
   }
&amp;lt;/style&amp;gt;
 
&amp;lt;div style="text-align: center;"&amp;gt;
  &amp;lt;a class="btn-submit" href="***" target="_blank" rel="noopener noreferrer"&amp;gt;
   Submit Request
  &amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 24 Mar 2026 20:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/how-do-you-style-the-text-in-a-calcite-button/m-p/1692367#M907</guid>
      <dc:creator>ACrateau</dc:creator>
      <dc:date>2026-03-24T20:46:41Z</dc:date>
    </item>
  </channel>
</rss>

