File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ const CompletedFilesCounter = styled(
56
56
position: fixed;
57
57
bottom: 20px;
58
58
right: 20px;
59
- background: #d5eafd ;
59
+ background: ${ ( { theme } ) => theme . popover . background } ;
60
60
padding: 10px;
61
- border: 1px solid #1890ff ;
61
+ border: 1px solid ${ ( { theme } ) => theme . popover . border } ;
62
62
border-radius: 20px;
63
- color: #7dadda ;
63
+ color: ${ ( { theme } ) => theme . popover . text } ;
64
64
transform: ${ ( { completed } ) =>
65
65
completed ? 'translateY(0px)' : 'translateY(70px)' } ;
66
66
display: flex;
@@ -76,7 +76,7 @@ const CompletedFilesCounter = styled(
76
76
` }
77
77
78
78
.completedAmount {
79
- color: #1890ff ;
79
+ color: ${ ( { theme } ) => theme . popover . border } ;
80
80
}
81
81
`
82
82
Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ export const lightTheme = {
33
33
// Alternating Row Colors for Binary Download component
34
34
rowEven : '#fafbfc' ,
35
35
rowOdd : '#ffffff' ,
36
+
37
+ // The completed files counter
38
+ popover : {
39
+ background : '#d5eafd' ,
40
+ text : '#7dadda' ,
41
+ border : '#1890ff' ,
42
+ } ,
36
43
}
37
44
export const darkTheme = {
38
45
body : '#363537' ,
@@ -68,4 +75,10 @@ export const darkTheme = {
68
75
// Alternating Row Colors for Binary Download component
69
76
rowEven : '#363537' ,
70
77
rowOdd : '#222223' ,
78
+
79
+ popover : {
80
+ text : '#7dadda' ,
81
+ background : '#0E5699' ,
82
+ border : '#aabbca' ,
83
+ } ,
71
84
}
You can’t perform that action at this time.
0 commit comments