<?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 default  background color in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/change-default-background-color/m-p/1254693#M310</link>
    <description>&lt;P&gt;It seems that all components in Design system, like button, fab have a default background color to blue:&lt;/P&gt;&lt;P&gt;--calcite-ui-background #F8F8F8&lt;/P&gt;&lt;P&gt;How can we overwrite the default theme to change the background color to transparent?&lt;/P&gt;&lt;P&gt;For example to change the background color of this fab&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;calcite-dropdown width="m" scale="l" label="Info Widgets" id="info_widgets"&amp;gt;
                        &amp;lt;calcite-fab slot="trigger" scale="l" icon="information" id="info" appearance="solid"&amp;gt;
                        &amp;lt;/calcite-fab&amp;gt;

-----
-----&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;by using this that I saw in another posting as a solution but didn't work.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(async () =&amp;gt; { 
  await customElements.whenDefined("calcite-dropdown");
  await document.querySelectorAll("calcite-fab").forEach((node) =&amp;gt; {
    node.style.setProperty("background-color", "rgb(0, 128, 0)");
  });
})();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 00:01:19 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2023-02-03T00:01:19Z</dc:date>
    <item>
      <title>change default  background color</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/change-default-background-color/m-p/1254693#M310</link>
      <description>&lt;P&gt;It seems that all components in Design system, like button, fab have a default background color to blue:&lt;/P&gt;&lt;P&gt;--calcite-ui-background #F8F8F8&lt;/P&gt;&lt;P&gt;How can we overwrite the default theme to change the background color to transparent?&lt;/P&gt;&lt;P&gt;For example to change the background color of this fab&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;calcite-dropdown width="m" scale="l" label="Info Widgets" id="info_widgets"&amp;gt;
                        &amp;lt;calcite-fab slot="trigger" scale="l" icon="information" id="info" appearance="solid"&amp;gt;
                        &amp;lt;/calcite-fab&amp;gt;

-----
-----&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;by using this that I saw in another posting as a solution but didn't work.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(async () =&amp;gt; { 
  await customElements.whenDefined("calcite-dropdown");
  await document.querySelectorAll("calcite-fab").forEach((node) =&amp;gt; {
    node.style.setProperty("background-color", "rgb(0, 128, 0)");
  });
})();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 00:01:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/change-default-background-color/m-p/1254693#M310</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2023-02-03T00:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: change default  background color</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/change-default-background-color/m-p/1254701#M311</link>
      <description>&lt;P&gt;You can change the &lt;A href="https://developers.arcgis.com/calcite-design-system/core-concepts/#css-variables" target="_self"&gt;CSS Variables&lt;/A&gt;&amp;nbsp;specified in this table:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/calcite-design-system/foundations/colors/#modes" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/foundations/colors/#modes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I suggest reading through the whole Core concepts documentation page, it has some great information!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 00:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/change-default-background-color/m-p/1254701#M311</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2023-02-03T00:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: change default  background color</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/change-default-background-color/m-p/1254704#M312</link>
      <description>&lt;P&gt;THank you. The CSS Variables link was helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 00:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/change-default-background-color/m-p/1254704#M312</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2023-02-03T00:49:49Z</dc:date>
    </item>
  </channel>
</rss>

