mirror of
https://github.com/documize/community.git
synced 2025-07-21 06:09:42 +02:00
Implement new refactored color scheme
This commit is contained in:
parent
da0861b3fd
commit
d7a46ceee6
70 changed files with 934 additions and 521 deletions
|
@ -76,37 +76,37 @@ export default Model.extend({
|
|||
|
||||
switch (this.get('activityType')) {
|
||||
case constants.UserActivityType.Created:
|
||||
color = 'color-blue';
|
||||
color = 'color-gray-700';
|
||||
break;
|
||||
case constants.UserActivityType.Read:
|
||||
color = 'color-black';
|
||||
break;
|
||||
case constants.UserActivityType.Edited:
|
||||
color = 'color-green';
|
||||
color = 'color-green-700';
|
||||
break;
|
||||
case constants.UserActivityType.Deleted:
|
||||
color = 'color-red';
|
||||
color = 'color-red-600';
|
||||
break;
|
||||
case constants.UserActivityType.Archived:
|
||||
color = 'color-gray';
|
||||
color = 'color-gray-700';
|
||||
break;
|
||||
case constants.UserActivityType.Approved:
|
||||
color = 'color-green';
|
||||
color = 'color-green-700';
|
||||
break;
|
||||
case constants.UserActivityType.Reverted:
|
||||
color = 'color-red';
|
||||
color = 'color-red-600';
|
||||
break;
|
||||
case constants.UserActivityType.PublishedTemplate:
|
||||
color = 'color-blue';
|
||||
color = 'color-gray-700';
|
||||
break;
|
||||
case constants.UserActivityType.PublishedBlock:
|
||||
color = 'color-blue';
|
||||
color = 'color-gray-700';
|
||||
break;
|
||||
case constants.UserActivityType.Rejected:
|
||||
color = 'color-red';
|
||||
color = 'color-red-600';
|
||||
break;
|
||||
case constants.UserActivityType.Published:
|
||||
color = 'color-green';
|
||||
color = 'color-green-700';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue