@@ -16,14 +16,14 @@ const rotate360 = keyframes`
1616`
1717
1818export const SearchIcon = styled ( searchIcon ) `
19- fill: #014354 ;
19+ fill: ${ props => props . theme . u_panel . search_icon } ;
2020 width: 30px;
2121 height: 30px;
2222 margin-top: 20px;
2323`
2424
2525export const LoadingIcon = styled ( loadingIcon ) `
26- fill: #014354 ;
26+ fill: ${ props => props . theme . u_panel . search_icon } ;
2727 width: 30px;
2828 height: 30px;
2929 margin-top: 20px;
@@ -32,7 +32,6 @@ export const LoadingIcon = styled(loadingIcon)`
3232
3333export const AddOn = styled . div `
3434 margin-left: 15px;
35- color: white;
3635 width: 25px;
3736`
3837
@@ -53,14 +52,14 @@ export const Wraper = styled.div`
5352 overflow: scroll;
5453`
5554
55+ // #001b21;
5656export const BaseBar = styled . div `
57- border: 1px solid white;
5857 box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.4);
59- border: 1px solid #014354 ;
58+ border: 1px solid ${ props => props . theme . u_panel . border } ;
6059 width: 50vw;
6160 max-width: 600px;
6261 height: 70px;
63- background: #001b21 ;
62+ background: ${ props => props . theme . u_panel . bar_bg } ;
6463 color: white;
6564 display: flex;
6665 flex-direction: row;
@@ -86,15 +85,15 @@ export const InfoBar = styled(BaseBar)`
8685 min-height: 100px;
8786`
8887export const InputBar = styled . input `
89- caret-color: #365760; /*cursor color*/
88+ caret-color: ${ props => props . theme . u_panel . search_input } ;
9089 flex-grow: 1;
9190 font-family: '.SFNSText-Light', 'SF UI Text', 'Helvetica Neue', 'Arial',
9291 'Lucida Grande', 'Segoe UI', Noto Sans, sans-serif;
9392 height: 100%;
9493 width: auto;
9594 outline: none;
9695 font-weight: 200;
97- color: #365760 ;
96+ color: ${ props => props . theme . u_panel . search_input } ;
9897 font-size: 24px;
9998 line-height: 70px;
10099 max-height: none;
@@ -119,9 +118,14 @@ export const ContentWraper = styled.div`
119118 text-align: left;
120119 flex-grow: 1;
121120`
122- export const Title = styled . div `color: white;`
121+ export const Title = styled . div `
122+ display: block;
123+ > a {
124+ color: ${ props => props . theme . u_panel . link } ;
125+ }
126+ `
123127export const Desc = styled . div `
124- color: #4c7c8a ;
128+ color: ${ props => props . theme . u_panel . text } ;
125129 text-overflow: ellipsis;
126130 width: 400px;
127131 white-space: nowrap;
@@ -135,19 +139,12 @@ export const SubInfoWraper = styled.div`
135139`
136140
137141export const RepoLang = styled . div `
138- color: #4c7c8a ;
142+ color: ${ props => props . theme . u_panel . text } ;
139143 font-style: italic;
140144`
141145
142146export const RepoStar = styled . div `
143- color: #4c7c8a ;
147+ color: ${ props => props . theme . u_panel . text } ;
144148 font-style: italic;
145149 margin-right: 10px;
146150`
147-
148- /*
149- text-overflow: ellipsis;
150- width: 400px;
151- white-space: nowrap;
152- overflow: hidden;
153- */
0 commit comments