How to re-enable the Dark Developer Theme in Firefox 40 and newer

Martin Brinkmann
Aug 12, 2015
Firefox
|
21

When Mozilla relaunched the Aurora channel as the Developer channel in 2014, it included a dark theme with it to distinguish that version from others.

The dark theme was designed specifically for the Developer edition of the browser but users could enable it in other versions of Firefox as well.

This changed with the release of Firefox 40 as options to enable the developer theme in the browser were removed from it.

All you had to do previously was to set a preference on Firefox's about:config page to true, and enable the dark theme afterwards in the Developer Tool settings.

The theme's appearance depends on the operating system and version that you are running. If you run Windows 10, it looks like the following when enabled:

firefox dev edition black theme

A workaround for non-Developer edition versions of Firefox was published soon thereafter on Bugzilla@Mozilla, but it enables the theme only for the active session and not permanently.

firefox 40 developer edition theme

To enable the dark theme for the session, do the following:

  1. Tap on the F12 key to open the Developer Tools.
  2. Select the settings icon in the top right corner of the screen.
  3. Locate and check "Enable browser chrome and add-on debugging toolboxes".
  4. Alternatively, set devtools.chrome.enabled to true on about:config.
  5. Open the browser console with Ctrl-Shift-J or by tapping on Alt, and selecting it under Tools > Web Developer.
  6. Paste the following code into it and hit enter:
    LightweightThemeManager.addBuiltInTheme({
              id: "firefox-devedition@mozilla.org",
              name: "Developer Edition",
              headerURL: "resource:///chrome/browser/content/browser/defaultthemes/devedition.header.png",
              iconURL: "resource:///chrome/browser/content/browser/defaultthemes/devedition.icon.png",
              author: "Mozilla"
            });
  7. Open about:addons and switch to Appearance.
  8. Click enable next to Developer Edition.

Permanent Solution

stylish dark theme

There is a permanent solution that enables the dark theme across sessions. You do need the Firefox add-on Stylish for it which you can download from Mozilla AMO.

Once you have installed Stylish in Firefox and restarted it, click on the Stylish icon and select Write New Style > Blank Style.

Copy and paste the CSS style information from Pastebin into the Stylish form, give the new style a new and click save afterwards.

Repeat the process for this second style which you also find listed on Pastebin.

Once you have done all that, Firefox should display the dark developer theme all the time.

We have uploaded both files as a packed archive to our own server for safe keeping. Download the archive containing both style sheets with a click on the following link: (Download Removed)

Now You: Do you prefer the light or dark Firefox theme?

Summary
How to re-enable the Dark Developer Theme in Firefox 40 and newer
Article Name
How to re-enable the Dark Developer Theme in Firefox 40 and newer
Description
Find out how to re-enable the dark theme of Firefox's Developer edition in other browser editions.
Author
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Anonymous said on February 25, 2017 at 3:01 pm
    Reply

    I have used Firefox for more than 15 years . Now I have to stop by the black ugly layout.

  2. MapleMap said on September 9, 2015 at 11:39 am
    Reply

    It’s amazing!. Thank you.

  3. MelAlvarado said on August 16, 2015 at 7:09 pm
    Reply
    1. James said on September 30, 2015 at 11:18 pm
      Reply

      @MelAlvarado
      Awesome find – thanks.

  4. G-Simon said on August 15, 2015 at 1:19 pm
    Reply

    Thank U! Thanks to you, switched to version 40)

  5. Vincent said on August 14, 2015 at 8:23 am
    Reply

    Doesn’t work as of Firefox 40. I used the Stylish permanent solution and while the tabs seem to look like Windows 10-ish, the (X) buttons look huge and out of place. The color also isn’t black but white. Too bad :(

  6. Patrick said on August 13, 2015 at 5:53 am
    Reply

    Any suggestions for a dark theme like this, that includes the address bar, for Firefox on Android?

  7. greg said on August 13, 2015 at 4:18 am
    Reply

    Just to make clear, the Stylish addon is not an exact replica of the mozilla-built dark theme, right? Isn’t it just an approximation?

  8. greg said on August 13, 2015 at 4:09 am
    Reply

    Thank you, Martin.

    The Dark Theme should be the default theme for firefox. It is soooo good.

    I’m still holding out hope that the dark theme will be brought back. I loathe to have to install more extensions. It’s a shame the light theme is as bad as it is: terrible color and space hog.

  9. Doc said on August 12, 2015 at 9:23 pm
    Reply

    I’ve been using the Just Black theme from AMO, along with Classic Theme Restorer (and a few other small addons) to get rid of Australis.

  10. Sean said on August 12, 2015 at 8:56 pm
    Reply

    How about instead of putting the Stylish code on Pastebin and having people copy and paste from place to place, just upload it to userstyles.org.

    1. nonqu said on August 13, 2015 at 12:58 am
      Reply

      I’d guess that it’s because of potential licensing issues.

      1. Sean said on August 13, 2015 at 1:21 am
        Reply

        What licensing, he (or someone else) is taking the css that is in Firefox already and bringing it outside to a site that moreorless allows one click installs of the same css.

  11. Neal said on August 12, 2015 at 7:41 pm
    Reply

    Do you have a CSS style that only brings back square tabs? Using Firefox and Chrome both, I often have to do a double take to determine which one I am using if they are both open b/c of the curved tabs. Back when it was square, it was instant recognition.

    1. Sean said on August 13, 2015 at 7:13 am
      Reply

      Try out the Classic Theme Restorer addon (https://addons.mozilla.org/firefox/addon/classicthemerestorer/) there is an option in there to have the good ol’ square tabs.

      1. Neal said on August 13, 2015 at 8:56 am
        Reply

        I would like to exclusively use CSS for these cosmetic changes. CTR is a big addon, and I don’t want the potential overhead for something so little. TY

      1. Neal said on August 13, 2015 at 8:53 am
        Reply

        I see they have a repository of these things. After fiddling with it, is there one where it has both square tabs and buttons? Like the dark theme, except without the dark color. I think the round back/foward button clashes with the square tabs and I don’t know enough about CSS to selectively omit the color in Martin’s code.

  12. Earl said on August 12, 2015 at 5:05 pm
    Reply

    This is sad, really. Mozilla seems to keep looking for ways to drive me (and others) away. I like the DevEd light theme for the simple, square tabs and thinner, space-saving nav-bar (don’t care at all about “dark” since it does *nothing* for normal browsing). Granted, before DevEd I’d use CSS in Stylish to trim the chrome, and it’s not a problem to do it again (just taking the same CSS that Mozilla uses anyway). Still, Mozilla making it harder to “Keep It Simple” (KISS) just makes them look “stupid” to me.

  13. Boozed said on August 12, 2015 at 5:03 pm
    Reply

    Or just use NASA Night Launch Theme.

    Which I’ve used on and off for years, works fine with current version (40) Firefox on Win 7.

    No need for all that fooling in the article.

    Toss in the add on Night Mode and you have all the black one could want.

  14. ZzzZombi said on August 12, 2015 at 3:59 pm
    Reply

    I suggest using FT Deep Dark. Only beta version of it works with Firefox 40 at the moment. It covers more areas of the UI in terms of making it dark.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.