Update contact colors

Make default contact color assignments consistent with
WhisperSystems/Textsecure@99d3a76b
This commit is contained in:
lilia 2015-07-31 10:27:48 -07:00
parent b3d93ab334
commit 2f12275cb9
4 changed files with 32 additions and 40 deletions

View file

@ -250,7 +250,7 @@
}
var initials = title.trim()[0];
return {
color: Math.abs(this.hashCode()) % 17,
color: Math.abs(this.hashCode()) % 18,
content: initials
};
} else {

View file

@ -358,20 +358,18 @@ $avatar-size: 44px;
// avatar colors
.avatar.colorgray { background-color: #999999 }
.avatar.color0 { background-color: #e57373 }
.avatar.color1 { background-color: #f06292 }
.avatar.color2 { background-color: #ba68c8 }
.avatar.color3 { background-color: #9575cd }
.avatar.color4 { background-color: #7986cb }
.avatar.color5 { background-color: #64b5f6 }
.avatar.color6 { background-color: #4fc3f7 }
.avatar.color7 { background-color: #4dd0e1 }
.avatar.color8 { background-color: #4db6ac }
.avatar.color9 { background-color: #81c784 }
.avatar.color10 { background-color: #aed581 }
.avatar.color11 { background-color: #ff8a65 }
.avatar.color12 { background-color: #d4e157 }
.avatar.color13 { background-color: #ffd54f }
.avatar.color14 { background-color: #ffb74d }
.avatar.color15 { background-color: #a1887f }
.avatar.color16 { background-color: #90a4ae }
.avatar.color0 { background-color: #EF5350 } // red
.avatar.color1 { background-color: #EC407A } // pink
.avatar.color2 { background-color: #AB47BC } // purple
.avatar.color3 { background-color: #7E57C2 } // deep purple
.avatar.color4 { background-color: #5C6BC0 } // indigo
.avatar.color5 { background-color: #2196F3 } // blue
.avatar.color6 { background-color: #03A9F4 } // light blue
.avatar.color7 { background-color: #00BCD4 } // cyan
.avatar.color8 { background-color: #009688 } // teal
.avatar.color9 { background-color: #4CAF50 } // green
.avatar.color10 { background-color: #7CB342 } // light green
.avatar.color11 { background-color: #FF9800 } // orange
.avatar.color12 { background-color: #FF5722 } // deep orange
.avatar.color13 { background-color: #FFB300 } // amber
.avatar.color14 { background-color: #607D8B } // blue grey

View file

@ -278,55 +278,49 @@ img.emoji {
background-color: #999999; }
.avatar.color0 {
background-color: #e57373; }
background-color: #EF5350; }
.avatar.color1 {
background-color: #f06292; }
background-color: #EC407A; }
.avatar.color2 {
background-color: #ba68c8; }
background-color: #AB47BC; }
.avatar.color3 {
background-color: #9575cd; }
background-color: #7E57C2; }
.avatar.color4 {
background-color: #7986cb; }
background-color: #5C6BC0; }
.avatar.color5 {
background-color: #64b5f6; }
background-color: #2196F3; }
.avatar.color6 {
background-color: #4fc3f7; }
background-color: #03A9F4; }
.avatar.color7 {
background-color: #4dd0e1; }
background-color: #00BCD4; }
.avatar.color8 {
background-color: #4db6ac; }
background-color: #009688; }
.avatar.color9 {
background-color: #81c784; }
background-color: #4CAF50; }
.avatar.color10 {
background-color: #aed581; }
background-color: #7CB342; }
.avatar.color11 {
background-color: #ff8a65; }
background-color: #FF9800; }
.avatar.color12 {
background-color: #d4e157; }
background-color: #FF5722; }
.avatar.color13 {
background-color: #ffd54f; }
background-color: #FFB300; }
.avatar.color14 {
background-color: #ffb74d; }
.avatar.color15 {
background-color: #a1887f; }
.avatar.color16 {
background-color: #90a4ae; }
background-color: #607D8B; }
.gutter {
padding: 36px 0 0; }

File diff suppressed because one or more lines are too long