Applies a dark theme to your PDF viewer
PDF Dark Theme Extension
⚠️IMPORTANT⚠️: This extension will only work on PDFs that you have installed locally on your computer. If you want it to work on PDFs you find online as well i.e. http://www.africau.edu/images/default/sample.pdf, I recommend you use Arshpreet Buttar's DarkPDF extension instead @ https://chrome.google.com/webstore/detail/darkpdf/cfemcmeknmapecneeeaajnbhhgfgkfhp?hl=en.
⚠️IMPORTANT⚠️: Your PDF viewer should be set to light theme for this extension to work. If you try to open up a light PDF document in a dark PDF viewer, this extension is going to invert the colors for both of them. Leaving you with a dark PDF document and a light PDF viewer. You need to have both of a light PDF document and a light PDF viewer for the desired results.
EDIT: As pointed out in the reviews, you can't change the theme for chrome's default PDF viewer without changing the theme of your browser (as of May 2024 at least). I use the Vimium C PDF Viewer chrome extension instead, which gives me a different PDF viewer that can have a theme independent of the browser. Put chrome in dark theme, put vimium C pdf viewer in light theme, and it should work out. You can find that extension here.
https://chromewebstore.google.com/detail/pdf-viewer-for-vimium-c/nacjakoppgmdcpemlfnfegmlhipddanj
https://chromewebstore.google.com/detail/vimium-c-all-by-keyboard/hfjbmagddngcpeloejdejnfgbamkjaeg
This extension is a fork of Buttar's extension (from above) except it's one file only.
```js
let darkPdfDivStyles = `
pointer-events: none;
width: 100vw;
height: 100vh;
background-color: #e6e6e6;
mix-blend-mode: difference;
z-index: 1;
`;
let darkPdfDiv = document.createElement('div');
darkPdfDiv.setAttribute(\"style\", darkPdfDivStyles);
document.body.appendChild(darkPdfDiv)
```
EDIT: I ended up switching to Buttar's extension myself, but in case people still want this one I'll leave it up. If anyone wants to use my logo, it's public domain no attribution required (no warranty). Code is GPLv3.
https://github.com/chris-straka/pdf-dark-theme
Source Manifest.json
How to download and manually install PDF Dark Theme extension for Chrome
Looking for a way to install PDF Dark Theme extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install PDF Dark Theme extensions manually, this article outlines two simple methods to effortlessly install PDF Dark Theme extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download PDF Dark Theme extension and manually install through Drag &Drop
If you ever need to manually install a PDF Dark Theme extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the PDF Dark Theme Extension by clicking the "Download CRX" button on the website.
Look for the PDF Dark Theme extension you wish to install. Go to the website and download the PDF Dark Theme extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for PDF Dark Theme extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the PDF Dark Theme extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download PDF Dark Theme extension for Chrome and install in Developer Mode
This is another method to install PDF Dark Theme extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the PDF Dark Theme extension file
Select and download the PDF Dark Theme extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the PDF Dark Theme extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your PDF Dark Theme extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the PDF Dark Theme extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install PDF Dark Theme extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
DarkPDF 3,000+ 12 ★ 14.38KiB
PDF Color Inverter 3,000+ 37 ★ 27.25KiB
Dark Mode - Night Eye 3,000+ 2320 ★ 1.19MiB
DarkPDF by Waseem Akram 3,000+ 7 ★ 95.64KiB
PDF Dark Mode 3,000+ 1 ★ 27.39KiB
Dark Theme - Dark Reader for Web 3,000+ 377 ★ 347KiB
ANTDR: ANother Trivial Dark Reader 3,000+ 1 ★ 12.17KiB
Lunar Reader - Dark Theme & Night Shift Mode 3,000+ 1338 ★ 405KiB
doqment PDF Reader 3,000+ 21 ★ 4.28MiB
Invert! 3,000+ 96 ★ 22.53KiB
DarkX PDF 3,000+ 10 ★ 54.06KiB
Dark Theme - Dark mode for Chrome 3,000+ 3029 ★ 249KiB
Flexi PDF Reader 3,000+ 10 ★ 3.8MiB
Dark Mode for Chrome 3,000+ 857 ★ 187KiB
dark.pdf 3,000+ 0 ★ 39.86KiB
PDF Dark Mode 3,000+ 4 ★ 19.08KiB
Dark Mode - Dark Reader for Сhrome 3,000+ 2555 ★ 658KiB
Dark Mode Google Docs 3,000+ 261 ★ 606KiB
PDF Reader 3,000+ 78 ★ 5.87MiB
DocsAfterDark 3,000+ 210 ★ 351KiB
PDF Viewer 3,000+ 374 ★ 2.51MiB
Dark Mode for Web 3,000+ 445 ★ 76.08KiB
Super dark mode 3,000+ 7757 ★ 571KiB
Instant Dark Mode 3,000+ 4 ★ 36.68KiB