<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Mohit Parmar — Writing</title>
  <link>https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/writing/</link>
  <atom:link href="https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/rss.xml" rel="self" type="application/rss+xml"/>
  <description>Notes from production by Mohit Parmar — full stack development, React, Node.js and AI-assisted workflows.</description>
  <language>en</language>
  <lastBuildDate>Thu, 13 Aug 2026 03:30:00 GMT</lastBuildDate>

  <item>
    <title>The flash of wrong theme, and why React alone cannot fix it</title>
    <link>https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/writing/theme-flash-react-cannot-fix/</link>
    <guid isPermaLink="true">https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/writing/theme-flash-react-cannot-fix/</guid>
    <pubDate>Thu, 13 Aug 2026 03:30:00 GMT</pubDate>
    <description>I made my portfolio default to dark on laptops and light on phones. Deciding the theme inside React guarantees a flash of the wrong one — the fix is a blocking inline script, and a MutationObserver to prove the flash is gone.</description>
  </item>

  <item>
    <title>Your gradient button probably fails WCAG — mine hit 1.81:1</title>
    <link>https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/writing/gradient-button-fails-wcag/</link>
    <guid isPermaLink="true">https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/writing/gradient-button-fails-wcag/</guid>
    <pubDate>Thu, 06 Aug 2026 03:30:00 GMT</pubDate>
    <description>Contrast checkers test one colour pair. A gradient is an infinite number of pairs, and my indigo-to-cyan button passed at one end while failing badly at the other. The fix was a second gradient reserved for filled surfaces.</description>
  </item>

  <item>
    <title>GITHUB_TOKEN cannot enable GitHub Pages — and neither error tells you that</title>
    <link>https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/writing/github-pages-token-cannot-enable/</link>
    <guid isPermaLink="true">https://mohitparmarcoder.github.io/Personal-Portfolio-Mohit-Parmar/writing/github-pages-token-cannot-enable/</guid>
    <pubDate>Sat, 01 Aug 2026 03:30:00 GMT</pubDate>
    <description>My Pages deploy failed twice with two different errors that both pointed nowhere. The real cause: the default Actions token is not allowed to create a Pages site, and the fix lives in a settings screen, not in the workflow.</description>
  </item>
</channel>
</rss>
