---
title: "Comment by Bhargav Ponnapalli on \"How I added dark mode to my portfolio website 🌗\" | Hashnode"
description: "Super smart to use CSS variables in conjunction to localStorage. Good one Aman Pandey! Keep it coming!"
url: "https://hashnode.com/posts/how-i-added-dark-mode-to-my-portfolio-website/600878bb394f022604c1124b/comment/60098cf9a8e40542d6a732a8"
---

[Discussion](https://hashnode.com/posts/how-i-added-dark-mode-to-my-portfolio-website/600878bb394f022604c1124b)

Comment [How I added dark mode to my portfolio website 🌗](https://hashnode.com/posts/how-i-added-dark-mode-to-my-portfolio-website/600878bb394f022604c1124b)

[Bhargav Ponnapalli](https://hashnode.com/@codewithbhargav)

[Jan 21, 2021](https://hashnode.com/posts/how-i-added-dark-mode-to-my-portfolio-website/600878bb394f022604c1124b/comment/60098cf9a8e40542d6a732a8)

Super smart to use CSS variables in conjunction to localStorage.

Good one Aman Pandey! Keep it coming!

[Aman Pandey](https://hashnode.com/@amanpandey)

[Jan 21, 2021](https://hashnode.com/posts/how-i-added-dark-mode-to-my-portfolio-website/600878bb394f022604c1124b/comment/60098cf9a8e40542d6a732a8#reply-6009a12373a48b42ffd436c4)

Thank you so much Bhargav! I'm super glad you liked it. 😇
