mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Bugfix
This commit is contained in:
@@ -861,7 +861,7 @@ let paletteAppSpec = {
|
||||
* @param {string} hue - Hue (literal or semantic)
|
||||
*/
|
||||
setRoleColor(role, hue) {
|
||||
if (!this.seedHues[hue] && hue !== 'gray') {
|
||||
if (!this.seedHues[hue] && hue !== 'gray' && !ROLES.includes(hue)) {
|
||||
// We're also adding it
|
||||
this.addColor(this.coreColors[hue]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user