@@ -17,19 +17,19 @@ export const HandbookWrapper = styled.div`
17
17
width:100%;
18
18
padding-bottom: 2rem;
19
19
ul > li {
20
- color: ${ ( props ) => props . theme . text || "#000" } ;
20
+ color: ${ ( props ) => props . theme . text } ;
21
21
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
22
22
}
23
23
ol > li {
24
- color: ${ ( props ) => props . theme . menuColor || "#000" } ;
24
+ color: ${ ( props ) => props . theme . menuColor } ;
25
25
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
26
26
}
27
27
ul > li > span {
28
- color: ${ ( props ) => props . theme . text || "#000" } ;
28
+ color: ${ ( props ) => props . theme . text } ;
29
29
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
30
30
}
31
31
ol > li > span {
32
- color: ${ ( props ) => props . theme . text || "#000" } ;
32
+ color: ${ ( props ) => props . theme . text } ;
33
33
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
34
34
}
35
35
}
@@ -60,7 +60,7 @@ export const HandbookWrapper = styled.div`
60
60
margin: 0;
61
61
padding: 0;
62
62
width: 250px;
63
- background-color:${ ( props ) => props . theme . secondaryLightColor || "#f0f0f0" } ;
63
+ background-color:${ ( props ) => props . theme . secondaryLightColor } ;
64
64
height: auto;
65
65
min-height: 100%;
66
66
flex-shrink: 0;
@@ -76,13 +76,13 @@ export const HandbookWrapper = styled.div`
76
76
}
77
77
78
78
.sidebar a.active {
79
- background-color: ${ ( props ) => props . theme . primaryLightColorTwo || "#007acc" } ;
79
+ background-color: ${ ( props ) => props . theme . primaryLightColorTwo } ;
80
80
color: white;
81
81
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
82
82
}
83
83
84
84
.sidebar a:hover:not(.active) {
85
- background-color:${ ( props ) => props . theme . secondaryLightColor || "#f0f0f0" } ;
85
+ background-color:${ ( props ) => props . theme . secondaryLightColor } ;
86
86
color: white;
87
87
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
88
88
}
@@ -167,7 +167,7 @@ export const HandbookWrapper = styled.div`
167
167
display: block;
168
168
margin-left: auto;
169
169
margin-right: auto;
170
- filter: invert(${ ( props ) => props . theme . meshInterfaceLogoFilter || 0 } );
170
+ filter: invert(${ ( props ) => props . theme . meshInterfaceLogoFilter } );
171
171
}
172
172
.site-icon{
173
173
height: 1.6rem;
@@ -181,7 +181,7 @@ export const HandbookWrapper = styled.div`
181
181
vertical-align: bottom;
182
182
}
183
183
.smp-action{
184
- filter: invert(${ ( props ) => props . theme . meshInterfaceLogoFilter || 0 } );
184
+ filter: invert(${ ( props ) => props . theme . meshInterfaceLogoFilter } );
185
185
}
186
186
}
187
187
@@ -191,7 +191,7 @@ export const HandbookWrapper = styled.div`
191
191
}
192
192
193
193
td, th {
194
- border: 0.05rem solid ${ ( props ) => props . theme . primaryLightColor || "#ccc" } ;
194
+ border: 0.05rem solid ${ ( props ) => props . theme . primaryLightColor } ;
195
195
text-align: left;
196
196
padding: 0.5rem;
197
197
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
@@ -209,7 +209,7 @@ export const HandbookWrapper = styled.div`
209
209
}
210
210
211
211
tbody:nth-child(even) {
212
- background-color: ${ ( props ) => props . theme . secondaryLightColorTwo || "#f9f9f9" } ;
212
+ background-color: ${ ( props ) => props . theme . secondaryLightColorTwo } ;
213
213
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
214
214
}
215
215
@@ -247,7 +247,7 @@ export const HandbookWrapper = styled.div`
247
247
}
248
248
249
249
input[type=checkbox] + label:before {
250
- content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="white" viewBox="0 4 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
250
+ content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="white" viewBox="4 4 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
251
251
border: 0.1em solid #000;
252
252
border-radius: 0.2em;
253
253
display: inline-block;
@@ -266,18 +266,18 @@ export const HandbookWrapper = styled.div`
266
266
transform: scale(0);
267
267
}
268
268
rect {
269
- fill: ${ props => props . theme . grey313131ToGreenC9FCF6 || "#313131" } ;
269
+ fill: ${ props => props . theme . grey313131ToGreenC9FCF6 } ;
270
270
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
271
271
}
272
272
path {
273
- stroke: ${ props => props . theme . green00D3A9ToGreen00B39F || "#00D3A9" } ;
273
+ stroke: ${ props => props . theme . green00D3A9ToGreen00B39F } ;
274
274
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
275
275
}
276
276
277
277
input[type=checkbox]:checked + label:before {
278
278
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="black" viewBox="4 4 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
279
- background-color: ${ ( props ) => props . theme . keppelColor || "#00B39F" } ;
280
- border-color: ${ ( props ) => props . theme . primaryLightColorTwo || "#007acc" } ;
279
+ background-color: ${ ( props ) => props . theme . keppelColor } ;
280
+ border-color: ${ ( props ) => props . theme . primaryLightColorTwo } ;
281
281
color: #fff;
282
282
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
283
283
}
@@ -289,8 +289,8 @@ export const HandbookWrapper = styled.div`
289
289
290
290
input[type=checkbox]:checked:disabled + label:before {
291
291
transform: scale(1);
292
- background-color: ${ ( props ) => props . theme . secondaryLightColor || "#f0f0f0" } ;
293
- border-color: ${ ( props ) => props . theme . secondaryLightColor || "#f0f0f0" } ;
292
+ background-color: ${ ( props ) => props . theme . secondaryLightColor } ;
293
+ border-color: ${ ( props ) => props . theme . secondaryLightColor } ;
294
294
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
295
295
}
296
296
@@ -385,7 +385,7 @@ export const HandbookWrapper = styled.div`
385
385
overflow:hidden;
386
386
.active{
387
387
font-weight:5000;
388
- color: ${ ( props ) => props . theme . secondaryColor || "#333" } ;
388
+ color: ${ ( props ) => props . theme . secondaryColor } ;
389
389
}
390
390
ul{
391
391
list-style: none;
@@ -412,7 +412,7 @@ export const HandbookWrapper = styled.div`
412
412
}
413
413
.text{
414
414
p{
415
- color: ${ props => props . theme . tertiaryColor || "#666" } ;
415
+ color: ${ props => props . theme . tertiaryColor } ;
416
416
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
417
417
}
418
418
}
@@ -425,7 +425,7 @@ export const HandbookWrapper = styled.div`
425
425
vertical-align: top;
426
426
}
427
427
.skill{
428
- color: ${ props => props . theme . tertiaryColor || "#666" } ;
428
+ color: ${ props => props . theme . tertiaryColor } ;
429
429
font-size: 16px;
430
430
padding: 0 0 1.25rem 1.8rem;
431
431
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
@@ -446,11 +446,11 @@ export const HandbookWrapper = styled.div`
446
446
.content_type {
447
447
display: flex;
448
448
flex-direction: column;
449
- background: ${ props => props . theme . grey212121ToWhite || "#212121" } ;
450
- box-shadow: 0px 0px ${ props => props . theme . projectShadowsize || "10px" } ${ props => props . theme . green00D3A9ToGreyE6E6E6 || "#00D3A9" } ;
449
+ background: ${ props => props . theme . grey212121ToWhite } ;
450
+ box-shadow: 0px 0px ${ props => props . theme . projectShadowsize } ${ props => props . theme . green00D3A9ToGreyE6E6E6 } ;
451
451
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
452
452
&:hover{
453
- box-shadow: 0px 0px 5px ${ props => props . theme . primaryColor || "#007acc" } ;
453
+ box-shadow: 0px 0px 5px ${ props => props . theme . primaryColor } ;
454
454
}
455
455
padding: 12% 6% 12% 6%;
456
456
height: 220px;
@@ -461,11 +461,11 @@ export const HandbookWrapper = styled.div`
461
461
margin-bottom: auto;
462
462
margin-top: 0.5rem;
463
463
font-weight: 700;
464
- color: ${ props => props . theme . secondaryColor || "#333" }
464
+ color: ${ props => props . theme . secondaryColor }
465
465
}
466
466
p{
467
467
font-weight: 300;
468
- color: ${ props => props . theme . text || "#000" } ;
468
+ color: ${ props => props . theme . text } ;
469
469
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
470
470
}
471
471
img{
@@ -475,7 +475,7 @@ export const HandbookWrapper = styled.div`
475
475
}
476
476
.process {
477
477
margin: 10px auto;
478
- border-left: solid 2px ${ ( props ) => props . theme . tertiaryColor || "#666" } ;
478
+ border-left: solid 2px ${ ( props ) => props . theme . tertiaryColor } ;
479
479
padding: 0px 20px 0px 20px;
480
480
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
481
481
}
@@ -491,9 +491,9 @@ export const HandbookWrapper = styled.div`
491
491
width: 20px;
492
492
height: 20px;
493
493
display: block;
494
- border: 3px solid ${ ( props ) => props . theme . tertiaryColor || "#666" } ;
494
+ border: 3px solid ${ ( props ) => props . theme . tertiaryColor } ;
495
495
border-radius: 50%;
496
- background-color: ${ ( props ) => props . theme . secondaryColor || "#333" } ;
496
+ background-color: ${ ( props ) => props . theme . secondaryColor } ;
497
497
top: 25px;
498
498
left: -32px;
499
499
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
@@ -508,7 +508,7 @@ export const HandbookWrapper = styled.div`
508
508
details.invite-only {
509
509
margin: 1rem;
510
510
padding: 1rem;
511
- background-color: ${ ( props ) => props . theme . grey313131ToGreenC9FCF6 || "#313131" } ;
511
+ background-color: ${ ( props ) => props . theme . grey313131ToGreenC9FCF6 } ;
512
512
span {
513
513
font-weight: bold;
514
514
display: inline;
0 commit comments