Skip to content

Commit d12d560

Browse files
authored
feat(chat): file icon colors (#463)
1 parent d9bacbb commit d12d560

1 file changed

Lines changed: 23 additions & 9 deletions

File tree

sass/themes/schemas/components/light/_chat.scss

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
/// @prop {Map} message-color [color: ('gray', 800)] - The text color of the chat messages.
1818
/// @prop {Map} message-actions-color [color: ('gray', 700)] - The icon color of the chat message actions.
1919
/// @prop {Map} file-background [contrast-color: ('gray', 900)] - The background color of the image message container.
20+
/// @prop {Map} file-icon-color [color: ('gray', 500)] - The color of the attached file icon.
21+
/// @prop {Map} file-icon-accent-color [color: ('gray', 600)] - The accent color of the attached file icon.
2022
/// @prop {Map} image-background [color: ('gray', 100)] - The background color of the image message container.
2123
/// @prop {Map} image-border [color: ('gray', 300)] - The border color of the image message container.
24+
/// @prop {Map} image-attachment-icon [color: ('gray', 900)] - The color of the message attachment icon.
2225
/// @prop {Map} chat-input-border [color: ('gray', 400)] - The border color of the chat input area.
2326
/// @prop {Map} progress-indicator-color [color: ('secondary', 500)] - The color of the progress indicator in the chat component.
24-
/// @prop {Map} attachment-icon [color: ('gray', 900)] - The color of the message attachment icon.
2527
$light-chat: (
2628
background: (
2729
color: (
@@ -70,6 +72,18 @@ $light-chat: (
7072
900,
7173
),
7274
),
75+
file-icon-color: (
76+
color: (
77+
'gray',
78+
500,
79+
),
80+
),
81+
file-icon-accent-color: (
82+
color: (
83+
'gray',
84+
600,
85+
),
86+
),
7387
image-background: (
7488
color: (
7589
'gray',
@@ -82,6 +96,12 @@ $light-chat: (
8296
300,
8397
),
8498
),
99+
image-attachment-icon: (
100+
color: (
101+
'gray',
102+
900,
103+
),
104+
),
85105
chat-input-border: (
86106
color: (
87107
'gray',
@@ -94,12 +114,6 @@ $light-chat: (
94114
500,
95115
),
96116
),
97-
attachment-icon: (
98-
color: (
99-
'gray',
100-
900,
101-
),
102-
),
103117
);
104118

105119
/// Generates a light material chat schema.
@@ -183,7 +197,7 @@ $bootstrap-chat: extend(
183197
/// @prop {Map} file-background [color: ('gray', 100)] - The background color of the image message container.
184198
/// @prop {Map} message-actions-color [color: ('gray', 600)] - The icon color of the chat message actions.
185199
/// @prop {Map} progress-indicator-color [color: ('info', 500)] - The color of the progress indicator in the chat component.
186-
/// @prop {Map} attachment-icon [color: ('info', 500)] - The color of the message attachment icon.
200+
/// @prop {Map} image-attachment-icon [color: ('info', 500)] - The color of the message attachment icon.
187201
/// @requires {Map} $light-chat
188202
$indigo-chat: extend(
189203
$light-chat,
@@ -218,7 +232,7 @@ $indigo-chat: extend(
218232
500,
219233
),
220234
),
221-
attachment-icon: (
235+
image-attachment-icon: (
222236
color: (
223237
'info',
224238
500,

0 commit comments

Comments
 (0)