Skip to content

Commit

Permalink
fix(css): Fix trim-alt-invert variable name (Fixes #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Sep 11, 2020
1 parent 18bace9 commit 29c58fe
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 227 deletions.
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Modern Login
* Plugin URI: https://github.com/log1x/modern-login
* Description: A whitelabeled and modernized wp-login.php
* Version: 1.0.5
* Version: 1.0.6
* Author: Brandon Nifong
* Author URI: https://github.com/log1x
* Licence: MIT
Expand Down
2 changes: 1 addition & 1 deletion public/css/login.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"/css/login.css": "/css/login.css?id=8d633d9cbabde53ce1d0"
"/css/login.css": "/css/login.css?id=49235b2b6e29018b357f"
}
31 changes: 17 additions & 14 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
theme: {
extend: {
fontSize: {
'none': '0',
none: '0',
},
colors: {
brand: {
Expand All @@ -13,22 +13,25 @@ module.exports = {
default: 'var(--login-trim, #191919)',
alt: 'var(--login-trim-alt, #282828)',
invert: 'var(--login-trim-invert, #fff)',
'alt-invert': 'var(--login-alt-invert, #fff)',
'alt-invert': 'var(--login-trim-alt-invert, #fff)',
},
}
}
},
},
},
variants: {},
plugins: [
({ addUtilities }) => {
addUtilities({
'.indent-none': {
'text-indent': '0',
},
'.bg-none': {
'background-image': 'none',
addUtilities(
{
'.indent-none': {
'text-indent': '0',
},
'.bg-none': {
'background-image': 'none',
},
},
}, ['responsive'])
}
]
}
['responsive']
);
},
],
};
Loading

0 comments on commit 29c58fe

Please sign in to comment.