updates
This commit is contained in:
parent
7b657fcccd
commit
1723f427f5
21 changed files with 145 additions and 113 deletions
|
@ -155,12 +155,14 @@ const generatePreset = (input) => {
|
|||
colors.cGreen = col.cGreen
|
||||
colors.cOrange = col.cOrange
|
||||
|
||||
colors.cAlertRed = col.cAlertRed || Object.assign({}, col.cRed)
|
||||
colors.alertError = col.alertError || Object.assign({}, col.cRed)
|
||||
colors.badgeNotification = col.badgeNotification || Object.assign({}, col.cRed)
|
||||
colors.badgeNotificationText = col.badgeNotification || Object.assign({}, col.cRed)
|
||||
|
||||
Object.entries(opacity).forEach(([ k, v ]) => {
|
||||
if (typeof v === 'undefined') return
|
||||
if (k === 'alert') {
|
||||
colors.cAlertRed.a = v
|
||||
colors.alertError.a = v
|
||||
return
|
||||
}
|
||||
if (k === 'faint') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue