File tree Expand file tree Collapse file tree 6 files changed +23
-3
lines changed Expand file tree Collapse file tree 6 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ const DropZoneContainer = styled.div`
12
12
` ;
13
13
14
14
const DropZoneWithBorder = styled . div `
15
- border: dashed 4px var(--primary -color);
16
- background-color: var(--message-link-preview -background-color);
15
+ border: dashed 4px var(--file-dropzone-border -color);
16
+ background-color: var(--file-dropzone -background-color);
17
17
position: absolute;
18
18
top: 0;
19
19
bottom: 0;
@@ -29,7 +29,11 @@ export const SessionFileDropzone = () => {
29
29
< DropZoneContainer >
30
30
< DropZoneWithBorder >
31
31
< Flex container = { true } justifyContent = "space-around" height = "100%" alignItems = "center" >
32
- < SessionIcon iconColor = "var(--primary-color)" iconSize = { 'max' } iconType = "circlePlus" />
32
+ < SessionIcon
33
+ iconColor = "var(--file-dropzone-border-color)"
34
+ iconSize = { 'max' }
35
+ iconType = "circlePlus"
36
+ />
33
37
</ Flex >
34
38
</ DropZoneWithBorder >
35
39
</ DropZoneContainer >
Original file line number Diff line number Diff line change @@ -153,4 +153,7 @@ export const classicDark: ThemeColorVariables = {
153
153
'--call-buttons-icon-disabled-color' : 'var(--text-primary-color)' ,
154
154
'--call-buttons-dropdown-color' : 'var(--text-primary-color)' ,
155
155
'--call-buttons-dropdown-shadow' : '0 0 4px 0 var(grey-color)' ,
156
+
157
+ '--file-dropzone-background-color' : 'var(--message-link-preview-background-color)' ,
158
+ '--file-dropzone-border-color' : 'var(--primary-color)' ,
156
159
} ;
Original file line number Diff line number Diff line change @@ -153,4 +153,7 @@ export const classicLight: ThemeColorVariables = {
153
153
'--call-buttons-icon-disabled-color' : 'var(--disabled-color)' ,
154
154
'--call-buttons-dropdown-color' : 'var(--text-primary-color)' ,
155
155
'--call-buttons-dropdown-shadow' : '0 0 4px 0 var(grey-color)' ,
156
+
157
+ '--file-dropzone-background-color' : 'var(--message-link-preview-background-color)' ,
158
+ '--file-dropzone-border-color' : 'var(--text-primary-color)' ,
156
159
} ;
Original file line number Diff line number Diff line change @@ -154,4 +154,7 @@ export const oceanDark: ThemeColorVariables = {
154
154
'--call-buttons-icon-disabled-color' : THEMES . OCEAN_DARK . COLOR7 ! ,
155
155
'--call-buttons-dropdown-color' : 'var(--text-primary-color)' ,
156
156
'--call-buttons-dropdown-shadow' : '0 0 4px 0 var(grey-color)' ,
157
+
158
+ '--file-dropzone-background-color' : 'var(--message-link-preview-background-color)' ,
159
+ '--file-dropzone-border-color' : 'var(--primary-color)' ,
157
160
} ;
Original file line number Diff line number Diff line change @@ -154,4 +154,7 @@ export const oceanLight: ThemeColorVariables = {
154
154
'--call-buttons-icon-disabled-color' : 'var(--disabled-color)' ,
155
155
'--call-buttons-dropdown-color' : 'var(--text-primary-color)' ,
156
156
'--call-buttons-dropdown-shadow' : '0 0 4px 0 var(grey-color)' ,
157
+
158
+ '--file-dropzone-background-color' : 'var(--message-link-preview-background-color)' ,
159
+ '--file-dropzone-border-color' : 'var(--text-primary-color)' ,
157
160
} ;
Original file line number Diff line number Diff line change @@ -189,6 +189,10 @@ export type ThemeColorVariables = {
189
189
'--call-buttons-icon-disabled-color' : string ;
190
190
'--call-buttons-dropdown-color' : string ;
191
191
'--call-buttons-dropdown-shadow' : string ;
192
+
193
+ /* File Dropzone */
194
+ '--file-dropzone-background-color' : string ;
195
+ '--file-dropzone-border-color' : string ;
192
196
} ;
193
197
194
198
export function loadThemeColors ( variables : ThemeColorVariables ) {
You can’t perform that action at this time.
0 commit comments