Modern Login
A whitelabeled and modernized wp-login.php
★ 77stars
6forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/log1x/modern-login/archive/refs/heads/master.zipFrom the readme
Modern Login
Here lives a simple mu-plugin to whitelabel and modernize wp-login.php. No admin panels, no bloat – just a simple filter to optionally customize the CSS properties with your color palette.
Requirements
- PHP = 7.1.3
- Composer
Installation
Bedrock
Install via Composer:
Manual
Download the release .zip and install into wp-content/plugins.
Customization
To customize the color palette, simply pass an array containing one or more of the colors you would like to change to the logincolorpalette filter:
Text color will automatically be inverted to #fff or #111 determined by the relative luminance of the element's background color.
Changing the Logo
The logo uses the first letter of the login header text set by WordPress. You can customize this using the loginheadertext filter:
Development
Modern Login is built using TailwindCSS and compiled with Laravel Mix.
In order to ease development, Modern Login makes use of wp-env to quickly setup a WordPress instance with everything needed (this requires Docker).
In another terminal tab/window, you can start browser sync and webpack to watch for changes:
You can test color values and other settings in tests/mu-plugins
Read the full README on GitHub →