> ## Content Index
> Fetch the complete content index at: https://en.blog.themarfa.name/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to add dark theme to the source code view
- URL: https://en.blog.themarfa.name/how-to-add-dark-theme-to-view-the-source-code/
- Published: 2020-05-21T11:55:33.000Z
- Updated: 2020-05-21T11:55:33.000Z
- Description: I often need to view the source code of different sites. What if you want to add dark theme to the source code view?
- Author: Konstantin Dokuchaev
- Tags: Chrome, Firefox

I often need to view the source code of different sites. What if you want to add dark theme to the source code view?

*This is autotranslated version of [this post](https://blog.themarfa.name/kak-dobavit-tiomnuiu-tiemu-dlia-prosmotra-iskhodnogho-koda/).*

**Night Viewer** will help to view the source code of the page in dark mode.

For extension work you need to go to the page for which you want to view the source code, and click on the extension icon.

![](https://blog.themarfa.name/content/images/2020/05/image-123.png)

In addition, Night Viewer there are several other useful possibilities:

- change font size;
- the beautification of the code;
- display the source code before and after JavaScript execution

[Download for Chrome, Firefox and Edge](https://nighteye.app/view-page-source-dark-mode/)