---
title: "Discussion on \"How to add dark mode to gatsby website\" | Hashnode"
description: "Discussion on \"How to add dark mode to gatsby website\". to add dark mode to your gatsby blog you would need to install gatsby-plugin-dark-mode and react-dark-mode-toggle. to do this run the following your terminal.\nfor NPM\nnpm i gatsby-plugin-dark-mode react-dark-mode-toggle\nif your using yarn you need to..."
url: "https://hashnode.com/posts/how-to-add-dark-mode-to-gatsby-website/60bd3de5fffc4c13b9cd83eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to add dark mode to gatsby website](https://ekajionah.hashnode.dev/how-to-add-dark-mode-to-gatsby-website?utm_source=hashnode&utm_medium=feed)

to add dark mode to your gatsby blog you would need to install gatsby-plugin-dark-mode and react-dark-mode-toggle. to do this run the following your terminal. for NPM npm i gatsby-plugin-dark-mode react-dark-mode-toggle if your using yarn you need to...

Feb 28, 2021 · 2 min read · ekajionah.hashnode.dev  
Updated Aug 10, 2023  
Read the article

-   [#gatsby](https://hashnode.com/tag/gatsby)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#theme](https://hashnode.com/tag/theme)

## Written by

[Ekaji Onah](https://hashnode.com/@Ekaji)

@Ekaji · Abuja, Nigeria

  
[View profile](https://hashnode.com/@Ekaji)

Front-end developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
