<?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: Calcite-notice background color in Angular in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/calcite-notice-background-color-in-angular/m-p/1588970#M804</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/621009"&gt;@BikkiGeisler&lt;/a&gt;&amp;nbsp;Notice's CSS variables were introduced with version 3.0, as long as you've upgraded to version 3 you should be able to use the&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/components/notice/#styles" target="_self"&gt;&lt;SPAN&gt;--calcite-notice-background-color CSS variable&lt;/SPAN&gt;&lt;/A&gt;. Also be sure to check out the &lt;A href="https://developers.arcgis.com/calcite-design-system/get-started/#use-the-npm-package" target="_self"&gt;get started page&lt;/A&gt;, as there have been some small improvements to get started with version 3.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 15:36:58 GMT</pubDate>
    <dc:creator>KittyHurley</dc:creator>
    <dc:date>2025-02-25T15:36:58Z</dc:date>
    <item>
      <title>Calcite-notice background color in Angular</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/calcite-notice-background-color-in-angular/m-p/1588874#M803</link>
      <description>&lt;P&gt;I'm working on an Angular project and I would like to change the background color of a calcite notice component.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried applying a CSS variable, but it doesn't seem to work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;calcite-notice {
    --calcite-notice-background-color: red;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since this didn't work, I implemented a workaround by wrapping the calcite notice in a div and applying a background color to the wrapper. However, I would prefer to change the actual notice component’s background instead.&lt;/P&gt;&lt;P&gt;Does anyone know a proper way to achieve this? Is there a CSS variable or ::part() selector that can be used for styling the background directly?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 09:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/calcite-notice-background-color-in-angular/m-p/1588874#M803</guid>
      <dc:creator>BikkiGeisler</dc:creator>
      <dc:date>2025-02-25T09:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calcite-notice background color in Angular</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/calcite-notice-background-color-in-angular/m-p/1588970#M804</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/621009"&gt;@BikkiGeisler&lt;/a&gt;&amp;nbsp;Notice's CSS variables were introduced with version 3.0, as long as you've upgraded to version 3 you should be able to use the&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/components/notice/#styles" target="_self"&gt;&lt;SPAN&gt;--calcite-notice-background-color CSS variable&lt;/SPAN&gt;&lt;/A&gt;. Also be sure to check out the &lt;A href="https://developers.arcgis.com/calcite-design-system/get-started/#use-the-npm-package" target="_self"&gt;get started page&lt;/A&gt;, as there have been some small improvements to get started with version 3.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 15:36:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/calcite-notice-background-color-in-angular/m-p/1588970#M804</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2025-02-25T15:36:58Z</dc:date>
    </item>
  </channel>
</rss>

