forked from MarseyWorld/MarseyWorld
Change notification bell colors for messages.
Messages bell is now an orange-ish gold. To avoid confusion with the yellowish-goldish modactions bell, modactions are now green.master
parent
7586dfdbc8
commit
1b3c042552
|
@ -632,9 +632,9 @@ class User(Base):
|
||||||
def notifications_color(self):
|
def notifications_color(self):
|
||||||
colors = {
|
colors = {
|
||||||
'': '#dc3545',
|
'': '#dc3545',
|
||||||
'messages': '#dc3545',
|
'messages': '#d8910d',
|
||||||
'posts': '#0000ff',
|
'posts': '#0000ff',
|
||||||
'modactions': '#e5990d',
|
'modactions': '#1ad80d',
|
||||||
'reddit': '#805ad5',
|
'reddit': '#805ad5',
|
||||||
}
|
}
|
||||||
return colors[self.notifications_do] if self.notifications_do \
|
return colors[self.notifications_do] if self.notifications_do \
|
||||||
|
|
Loading…
Reference in New Issue