mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat(customizations): more icons
This commit is contained in:
Submodule habitica-images updated: 90bb5934b6...07c050ef33
File diff suppressed because it is too large
Load Diff
@@ -200,8 +200,8 @@ export default {
|
|||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.color, &.bangs, &.beard {
|
&.color, &.bangs, &.beard, &.flower {
|
||||||
background-position-x: -5px;
|
background-position-x: -6px;
|
||||||
background-position-y: -12px;
|
background-position-y: -12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ export default {
|
|||||||
option.none = true;
|
option.none = true;
|
||||||
}
|
}
|
||||||
option.active = this.user.preferences.hair.flower === key;
|
option.active = this.user.preferences.hair.flower === key;
|
||||||
option.class = `hair_flower_${key} flower`;
|
option.class = `icon_hair_flower_${key} flower`;
|
||||||
option.click = () => this.set({ 'preferences.hair.flower': key });
|
option.click = () => this.set({ 'preferences.hair.flower': key });
|
||||||
return option;
|
return option;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user