Skip to content

Commit 584ab1c

Browse files
committed
(theme) add border color
1 parent bc40dff commit 584ab1c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/ChatWindow/ChatWindow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export default {
154154
}
155155
156156
// General
157-
$borderStyle: 1px solid #d3dde7;
157+
$borderStyle: 1px solid var(--chat-border-color);
158158
159159
.app-border {
160160
border: $borderStyle;

src/ChatWindow/MessagesList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ export default {
467467
bottom: 0;
468468
width: 100%;
469469
background: var(--chat-color-input);
470-
border-top: 1px solid #d3dde7;
470+
border-top: 1px solid var(--chat-border-color);
471471
z-index: 10;
472472
}
473473

src/themes/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const defaultThemeColors = {
1212
textColor: '#0a0a0a',
1313
inputBg: '#fff',
1414
spinnerColor: '#333',
15+
borderColor: '#d3dde7',
1516
iconsColor: {
1617
search: '#9ca6af',
1718
add: '#1976d2',
@@ -44,6 +45,7 @@ export const defaultThemeColors = {
4445
textColor: '#fff',
4546
inputBg: '#34343b',
4647
spinnerColor: '#fff',
48+
borderColor: '#63686e',
4749
iconsColor: {
4850
search: '#9ca6af',
4951
add: '#fff',
@@ -78,6 +80,7 @@ export const cssThemeVars = ({
7880
textColor,
7981
inputBg,
8082
spinnerColor,
83+
borderColor,
8184
iconsColor
8285
}) => {
8386
return {
@@ -93,6 +96,7 @@ export const cssThemeVars = ({
9396
'--chat-bg-menu-hover': menuBgHover,
9497
'--chat-color-input': inputBg,
9598
'--chat-color-spinner': spinnerColor,
99+
'--chat-border-color': borderColor,
96100
'--chat-icon-color-search': iconsColor.search,
97101
'--chat-icon-color-add': iconsColor.add,
98102
'--chat-icon-color-menu': iconsColor.menu,

0 commit comments

Comments
 (0)