<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dark Mode on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/dark-mode/</link><description>Recent content in Dark Mode on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 09 Aug 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/dark-mode/index.xml" rel="self" type="application/rss+xml"/><item><title>React Theming: From CSS Variables to Advanced Solutions $$$</title><link>https://ai-blog.noorshomelab.dev/guides/react---theme/</link><pubDate>Sat, 09 Aug 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/guides/react---theme/</guid><description>&lt;hr&gt;
&lt;h1 id="react-theming-from-css-variables-to-advanced-solutions"&gt;React Theming: From CSS Variables to Advanced Solutions&lt;/h1&gt;
&lt;p&gt;Theming in a web application allows users (or developers) to change the visual appearance of the UI, such as colors, fonts, spacing, and more. This is crucial for branding, accessibility (e.g., dark mode), and user personalization.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;ll cover several approaches, starting simple and moving to more complex scenarios.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="part-1-basic-theming-with-css-variables-beginner-friendly"&gt;Part 1: Basic Theming with CSS Variables (Beginner Friendly)&lt;/h2&gt;
&lt;h3 id="topic-css-variables-for-theming"&gt;Topic: CSS Variables for Theming&lt;/h3&gt;
&lt;h3 id="explanation"&gt;Explanation&lt;/h3&gt;
&lt;p&gt;CSS Variables (also known as Custom Properties) are a native way to define reusable values directly in CSS. They are incredibly powerful for theming because you can change their values based on a parent selector (like &lt;code&gt;body&lt;/code&gt; or a &lt;code&gt;div&lt;/code&gt;) and all child elements using that variable will automatically update.&lt;/p&gt;</description></item></channel></rss>