MatheusrdSantos / vue-quick-chat

A simple chat component created with Vue.js
MIT License
129 stars 46 forks source link

Text color #14

Closed martinandersen3d closed 4 years ago

martinandersen3d commented 4 years ago

I've tried to change the text color. But I think this one is overriding the text color?

https://github.com/MatheusrdSantos/vue-quick-chat/blob/e6009932e30693fa6c9815090d423de1cb1c92ca/src/components/MessageDisplay.vue#L139

Here is my colors:


colors:{
        header:{
          bg: '#0099ff',
          text: '#fff'
        },
        message:{
          myself: {
            bg: '#0099ff',
            text: '#fff'
          },
          others: {
            bg: '#f1f0f0',
            text: '#3e3e3e'
          },
          messagesDisplay: {
            bg: '#fff'
          }
        },

text colors, should be: other=black, and myself=white

s

MatheusrdSantos commented 4 years ago

Hi, @martinandersen3d! Thanks for your report. I really forgot to implement that functionality. However, @Tofandel solved this issue here: 5b0312873dae261da402b4c60eb7fe560946e5e2 Now you just have to update the npm package to version 1.0.3