Просмотр исходного кода

Merge pull request #3904 from overleaf/ae-chat-contrast

Fix contrast of chat instructions message

GitOrigin-RevId: 7e5bd375d8bdbf6505a71edc4b1648e2639cd444
Alasdair Smith 5 лет назад
Родитель
Сommit
930d7ba028

+ 2 - 0
services/web/frontend/stylesheets/app/editor/chat.less

@@ -15,6 +15,7 @@
 
 
   .no-messages {
   .no-messages {
     padding: @line-height-computed / 2;
     padding: @line-height-computed / 2;
+    color: @chat-instructions-color;
   }
   }
 
 
   .first-message {
   .first-message {
@@ -22,6 +23,7 @@
     bottom: 0;
     bottom: 0;
     width: 100%;
     width: 100%;
     padding: @line-height-computed / 2;
     padding: @line-height-computed / 2;
+    color: @chat-instructions-color;
   }
   }
 
 
   .messages {
   .messages {

+ 1 - 0
services/web/frontend/stylesheets/core/ol-light-variables.less

@@ -119,6 +119,7 @@
 
 
 // Chat
 // Chat
 @chat-bg: #fff;
 @chat-bg: #fff;
+@chat-instructions-color: @ol-blue-gray-3;
 @chat-message-color: #fff;
 @chat-message-color: #fff;
 @chat-message-name-color: @ol-blue-gray-3;
 @chat-message-name-color: @ol-blue-gray-3;
 @chat-message-date-color: @ol-blue-gray-3;
 @chat-message-date-color: @ol-blue-gray-3;

+ 1 - 0
services/web/frontend/stylesheets/core/variables.less

@@ -1049,6 +1049,7 @@
 
 
 // Chat
 // Chat
 @chat-bg: @ol-blue-gray-5;
 @chat-bg: @ol-blue-gray-5;
+@chat-instructions-color: @ol-blue-gray-1;
 @chat-message-color: #fff;
 @chat-message-color: #fff;
 @chat-message-date-color: @ol-blue-gray-2;
 @chat-message-date-color: @ol-blue-gray-2;
 @chat-message-name-color: #fff;
 @chat-message-name-color: #fff;