<?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 Change the color of the calcite-menu background within a colored nav/header? in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1417007#M627</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It appears like there is no way to change the color of a calcite-menu to match the color of the navigation it is within.&amp;nbsp; Attached is an image of what happens in the sample on the documentation page.&amp;nbsp; I tried using calcite-menu-background and calcite-menu-item-background but to no avail.&amp;nbsp; Can the menu be anything but white?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-30 at 9.48.00 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102558i0CBCAB956D33C65E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-30 at 9.48.00 AM.png" alt="Screenshot 2024-04-30 at 9.48.00 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 13:52:46 GMT</pubDate>
    <dc:creator>MichelleStuart</dc:creator>
    <dc:date>2024-04-30T13:52:46Z</dc:date>
    <item>
      <title>Change the color of the calcite-menu background within a colored nav/header?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1417007#M627</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It appears like there is no way to change the color of a calcite-menu to match the color of the navigation it is within.&amp;nbsp; Attached is an image of what happens in the sample on the documentation page.&amp;nbsp; I tried using calcite-menu-background and calcite-menu-item-background but to no avail.&amp;nbsp; Can the menu be anything but white?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-30 at 9.48.00 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102558i0CBCAB956D33C65E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-30 at 9.48.00 AM.png" alt="Screenshot 2024-04-30 at 9.48.00 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 13:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1417007#M627</guid>
      <dc:creator>MichelleStuart</dc:creator>
      <dc:date>2024-04-30T13:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change the color of the calcite-menu background within a colored nav/header?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1417838#M629</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/471565"&gt;@MichelleStuart&lt;/a&gt;&amp;nbsp;The example above also includes the &lt;A href="https://developers.arcgis.com/calcite-design-system/components/menu/" target="_blank" rel="noopener"&gt;Menu&lt;/A&gt; component, which is why there are some visual differences.&lt;/P&gt;&lt;P&gt;Would recommend altering the look and feel of the app with &lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/colors/#theming" target="_blank" rel="noopener"&gt;theming&lt;/A&gt;, so the changes would apply across the UI, and you could specify CSS variables for Navigation and Menu, something like:&amp;nbsp;&lt;A href="https://codepen.io/geospatialem/pen/GRLaWwJ" target="_blank" rel="noopener"&gt;https://codepen.io/geospatialem/pen/GRLaWwJ&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.custom-example-theme {
  --calcite-color-brand: #308e29;
  --calcite-color-brand-hover: #267121;
  --calcite-color-brand-press: #1d5519;
  --calcite-color-background: #faf3e3;
  --calcite-color-foreground-1: #fffaed;
  --calcite-color-foreground-2: #fae9c8;
  --calcite-color-foreground-3: #fce5b6;
  --calcite-color-foreground-current: #ebd09d;
  --calcite-color-info: #267121;
  --calcite-color-success: #308e29;
  --calcite-color-warning: #f1c21b;
  --calcite-color-danger: #d83020;
  --calcite-color-danger-hover: #a82b1e;
  --calcite-color-danger-press: #851012;
  --calcite-color-text-1: #3a3335;
  --calcite-color-text-2: #3d3638;
  --calcite-color-text-3: #463d40;
  --calcite-color-text-inverse: #ffffff;
  --calcite-color-text-link: #267121;
  --calcite-color-border-1: #e6ddd1;
  --calcite-color-border-2: #e8e1dc;
  --calcite-color-border-3: #e6ddd1;
  --calcite-color-border-input: #a1a19e;
  background-color: var(--calcite-color-background);
}

calcite-navigation {
  --calcite-navigation-background: var(--calcite-color-foreground-current);
  --calcite-navigation-border-color: var(--calcite-color-background);
}

calcite-menu {
  --calcite-color-foreground-1: var(--calcite-color-foreground-current);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 16:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1417838#M629</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2024-05-02T16:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change the color of the calcite-menu background within a colored nav/header?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1418026#M630</link>
      <description>&lt;P&gt;Thank you KItty, this is really helpful.&amp;nbsp; I was getting tripped up by trying to use something like --calcite-menu-background in the calcite menu css instead of just changing the calcite-color-foreground-1 variable there.&amp;nbsp; I really appreciate your help.&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 12:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1418026#M630</guid>
      <dc:creator>MichelleStuart</dc:creator>
      <dc:date>2024-05-02T12:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change the color of the calcite-menu background within a colored nav/header?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1529892#M723</link>
      <description>&lt;P&gt;Is it possible to change the font style for a component of the calcite-navigation? For example, can I change the color and font size of just the heading? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 02:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/change-the-color-of-the-calcite-menu-background/m-p/1529892#M723</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-30T02:03:42Z</dc:date>
    </item>
  </channel>
</rss>

