mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-04 05:24:43 +00:00
fix when to use default colorVariant (#535)
* fix pagination not enabling next button when total changes #482. (#517) * refactor property names to make more sense #517 (#521) * Added watchers on mdTotal and mdPage. Changed the binding for the disabled attribute of the next page arrow to use a computed property. Fix issue #482. * Improve code readability for the fix done for #482. * Fix - when to use default colorVariant Solves issue https://github.com/marcosmoura/vue-material/issues/533.
This commit is contained in:
parent
93bcf58502
commit
8bc28b59b9
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ const parseStyle = (style, theme, name) => {
|
|||
if (colorType === 'COLOR') {
|
||||
let isDefault = palette[theme[type]];
|
||||
|
||||
if (!hue && !isDefault) {
|
||||
if (!colorVariant && !isDefault) {
|
||||
if (type === 'accent') {
|
||||
colorVariant = 'A200';
|
||||
} else if (type === 'background') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue