<?php function adminStylesCss() { echo ' <style> /* Admin BG color */ .wp-admin { background-color: #262626; } /* Revert colors and bring back links colors */ .wp-admin #wpbody { filter: invert(0.85) hue-rotate(185deg); } /* Bring back colors to the images */ .wp-admin #wpbody img { filter: invert(0.85) hue-rotate(-185deg); background: white; } /* Gutenberg bring it back */ .block-editor-page #wpbody { filter: unset; } /* Gutenberg topbar */ .block-editor-page .interface-interface-skeleton__header { filter: invert(0.85) hue-rotate(185deg); } .block-editor-page .is-primary { color: black !important; } /* Gutenberg sidebars */ .block-editor-page .interface-interface-skeleton__sidebar, .block-editor-page .interface-interface-skeleton__secondary-sidebar { filter: invert(0.85) hue-rotate(185deg); } /* Gutenberg Content - Manual colors */ .block-editor-page .editor-styles-wrapper { color: lightgray; background: #262626; } /* Gutenberg Links */ .block-editor-page .editor-styles-wrapper a { filter: invert(0.85) hue-rotate(185deg); } /* Gutenberg Metaboxes - Bellow content */ .block-editor-page .edit-post-layout__metaboxes { border-top: 0px; background-color: #262626; } </style>'; } add_action('admin_head', 'adminStylesCss'); ?>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter