feat: Support Dark mode for the widget (#4137)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sivin Varghese
2022-04-01 20:59:03 +05:30
committed by GitHub
parent 3813b3b372
commit caee9535f1
36 changed files with 411 additions and 113 deletions

View File

@@ -3,7 +3,10 @@
<div class="agent-message">
<div class="avatar-wrap"></div>
<div class="message-wrap">
<div class="typing-bubble chat-bubble agent">
<div
class="typing-bubble chat-bubble agent"
:class="$dm('bg-white', 'dark:bg-slate-50')"
>
<img
src="~widget/assets/images/typing.gif"
alt="Agent is typing a message"
@@ -15,8 +18,10 @@
</template>
<script>
import darkModeMixing from 'widget/mixins/darkModeMixin.js';
export default {
name: 'AgentTypingBubble',
mixins: [darkModeMixing],
};
</script>