adjust default avatar colors

pull/1/head
David Benqué 2019-12-03 10:43:27 +00:00
parent 5657793e9c
commit d7b3a5ce67
1 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@
) {
@avatar-width: @width;
@avatar-font-size: @width / 1.2;
@avatar-default-bg: #D9D8D8;
@avatar-default-fg: darken(@avatar-default-bg, 40%);
}
.avatar_main(@width: 30px) {
--LessLoader_require: LessLoader_currentFile();
@ -36,8 +38,8 @@
}
.cp-avatar-default {
.tools_unselectable();
background: rgb(160, 160, 160); // XXX testing
color: @cryptpad_text_col; // XXX testing
background:@avatar-default-bg; // XXX testing
color: @avatar-default-fg; // XXX testing
font-size: @avatar-font-size;
font-size: var(--avatar-font-size);
text-transform: capitalize;