Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
Changing WP Admin login colours to vanlig
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrehaut committed Aug 20, 2017
1 parent 0f6e487 commit ea724d1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lib/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,26 +112,29 @@ function login_fail_message() {
**/
function login_custom_css() { ?>
<style type="text/css">
:root {
--palette-primary: #242a39;
}
.login h1 a {
background-image: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/img/halo-logo.png') !important;
height: 44px !important;
width: 100% !important;
}
.button-primary {
background: #1e1e1e !important;
border: 1px solid #1e1e1e !important;
background: var(--palette-primary) !important;
border: 1px solid var(--palette-primary) !important;
text-shadow: none !important;
box-shadow: none !important;
}
input[type=checkbox]:checked:before {
color: #131313 !important;
color: var(--palette-primary) !important;
}
.input:focus {
box-shadow: none !important;
border-color: #1e1e1e !important;
border-color: var(--palette-primary) !important;
}
a:hover {
color: #1e1e1e !important;
color: var(--palette-primary) !important;
}
</style>
<?php }
Expand Down

0 comments on commit ea724d1

Please sign in to comment.