QChatMessage bg-color custom color
-
bg-color ignore custom color -
<q-chat-message name="Me" :text="[msg.Message]" :stamp="dateFormat(msg.MessageSend)" sent text-color="white" bg-color="myChat" /> <style lang="stylus"> .bg-myChat background-color #dbe5f1 </style>
-
<q-chat-message name="Me" :text="[msg.Message]" :stamp="dateFormat(msg.MessageSend)" sent text-color="white" class="bg-myChat" />
maybe this works for you
-
@Josebas not working.
-
@dan
put your brand color in your<-- didn’t work, look likesrc/css/app.styl
file.text-color / bg-color
only works for preset brands (primary/secondary etc…) and palette colors (blue-grey-1/amber-1 etc…)…
here overriding css withtext-color
combo https://codepen.io/metalsadman/pen/ZEzeOjr. -
@metalsadman thank you. worked for me
<style lang="stylus"> .q-message-sent .q-message-text color #365f91 </style>
I hope that there would be a fix for bg-color.