{"id":13760086,"url":"https://github.com/Log1x/modern-login","last_synced_at":"2025-05-10T10:31:23.120Z","repository":{"id":36517245,"uuid":"228103009","full_name":"Log1x/modern-login","owner":"Log1x","description":"A whitelabeled and modernized wp-login.php","archived":false,"fork":false,"pushed_at":"2022-01-27T09:50:03.000Z","size":447,"stargazers_count":78,"open_issues_count":4,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T20:06:47.143Z","etag":null,"topics":["mu-plugin","wordpress","wp-admin","wp-login","wp-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/log1x/modern-login","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Log1x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"Log1x"}},"created_at":"2019-12-14T23:25:02.000Z","updated_at":"2025-02-25T16:52:26.000Z","dependencies_parsed_at":"2022-08-08T15:17:04.408Z","dependency_job_id":null,"html_url":"https://github.com/Log1x/modern-login","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fmodern-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fmodern-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fmodern-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fmodern-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Log1x","download_url":"https://codeload.github.com/Log1x/modern-login/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253401183,"owners_count":21902622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mu-plugin","wordpress","wp-admin","wp-login","wp-plugin"],"created_at":"2024-08-03T13:01:03.235Z","updated_at":"2025-05-10T10:31:22.763Z","avatar_url":"https://github.com/Log1x.png","language":"CSS","funding_links":["https://github.com/sponsors/Log1x"],"categories":["PHP"],"sub_categories":[],"readme":"# Modern Login\n\n![Latest Stable Version](https://img.shields.io/packagist/v/log1x/modern-login?style=flat-square)\n![Total Downloads](https://img.shields.io/packagist/dt/log1x/modern-login?style=flat-square)\n\nHere 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.\n\n![Screenshot](https://i.imgur.com/UIbCrSZ.png)\n\n## Requirements\n\n- [PHP](https://secure.php.net/manual/en/install.php) \u003e= 7.1.3\n- [Composer](https://getcomposer.org/download/)\n\n## Installation\n\n### Bedrock\n\nInstall via Composer:\n\n```bash\n$ composer require log1x/modern-login\n```\n\n### Manual\n\nDownload the release `.zip` and install into `wp-content/plugins`.\n\n## Customization\n\nTo customize the color palette, simply pass an array containing one or more of the colors you would like to change to the `login_color_palette` filter:\n\n```php\nadd_filter('login_color_palette', function () {\n    return [\n        'brand' =\u003e '#0073aa',\n        'trim' =\u003e '#181818',\n        'trim-alt' =\u003e '#282828',\n    ];\n});\n```\n\nText color will automatically be inverted to `#fff` or `#111` determined by the [relative luminance](https://www.w3.org/TR/WCAG20/relative-luminance.xml) of the element's background color.\n\n### Changing the Logo\n\nThe logo uses the first letter of the login header text set by WordPress. You can customize this using the [`login_headertext`](https://developer.wordpress.org/reference/hooks/login_headertext/) filter:\n\n```php\n/**\n * Change the WordPress login header to the blog name.\n *\n * @return string\n */\nadd_filter('login_headertext', function () {\n    return get_bloginfo('name');\n});\n```\n\n## Development\n\nModern Login is built using TailwindCSS and compiled with Laravel Mix.\n\n```bash\n$ yarn\n```\n\nIn order to ease development, Modern Login makes use of [`wp-env`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env#readme) to quickly setup a WordPress instance with everything needed (this requires Docker).\n\n```bash\n$ npx wp-env start\n```\n\nIn another terminal tab/window, you can start browser sync and webpack to watch for changes:\n\n```bash\n$ yarn start\n```\n\nYou can test color values and other settings in `tests/mu-plugins/mu.php`.\n\n## Bug Reports\n\nIf you discover a bug in Modern Login, please [open an issue](https://github.com/log1x/modern-login/issues).\n\n## Contributing\n\nContributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.\n\n## License\n\nModern Login is provided under the [MIT License](https://github.com/log1x/modern-login/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLog1x%2Fmodern-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLog1x%2Fmodern-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLog1x%2Fmodern-login/lists"}