Site logo

Archived topic

Make GP compatible with Dark Mode

7 replies · Started by Dragomir on December 5, 2018

Viewing posts 1–8 of 8

Could you please consider making GP compatible with the Dark Mode plugin? Here how it currently looks when Dark Mode is enabled:
GeneratePress and Dark Mode

Thank you in advance!

Hi there,

That image doesn't seem to be working - can you double-check?

Hi Tom,

Sorry about that! Please try now.

Strange - is that the only Dark Mode related issue you're experiencing?

This is the most disturbing one :)

There are other minor inconsistencies, like having a white background text areas, tab bars, the GP options page is also mixed white and dark.

I suggest you install the plugin and see for yourself.

It's just a little hard on the eyes when you work some time with the dark mode and suddenly all that white light hits you when you go to a page that is not yet DM-compatible.

Try adding this function:

add_action( 'admin_head', function() {
    ?>
    <style>
        .dark-mode select.select-type:hover {
            background-color: #222;
            color: #fff;
        }
    </style>
    <?php
} );

I'll get this added to GPP 1.8 :)

Thank you very much, Tom!

You're welcome :)

This archived topic is closed to new replies.