11const { css } = require ( 'styled-components' ) ; // eslint-disable-line
22
3- const primary = 'rgb(133, 47, 255)' ;
4- const altPrimary = 'rgba(200, 57, 236, 1)' ;
5- const primaryText = 'rgba(255, 255, 255, 0.95)' ;
6- const background = `linear-gradient(135deg, ${ altPrimary } 25%, ${ primary } 100%)` ;
3+ const primary = 'rgba(157, 0, 255, 0.8)' ;
4+ const darkText = 'rgba(41, 52, 98, 0.85)' ;
5+ const lightText = 'rgba(255, 255, 255, 0.9)' ;
76
87module . exports = {
9- title : 'element motion for React.js 💨✨ ' ,
8+ title : 'element motion' ,
109 description : 'element motion for React.js 💨✨' ,
1110 typescript : true ,
1211 dest : '/docs' ,
@@ -16,9 +15,9 @@ module.exports = {
1615 themeConfig : {
1716 colors : {
1817 primary,
19- sidebarBg : background ,
20- sidebarText : primaryText ,
21- sidebarPrimary : primaryText ,
18+ sidebarBg : '#fff' ,
19+ sidebarText : darkText ,
20+ sidebarPrimary : primary ,
2221 sidebarBorder : 'transparent' ,
2322 link : primary ,
2423 } ,
@@ -28,9 +27,10 @@ module.exports = {
2827 'Fira Sans' , 'Droid Sans' , 'Helvetica Neue' , sans-serif;
2928 font-size : 16px ;
3029 line-height : 1.6 ;
30+ color : ${ darkText } !important ;
3131
32- input ::placeholder {
33- color : rgba (255 , 255 , 255 , 0.7 );
32+ input [ class ^= 'Search__Input-' ] ::placeholder {
33+ color : rgba (41 , 52 , 98 , 0.64 );
3434 }
3535
3636 div [class ^= 'Logo__Wrapper-' ] {
@@ -46,6 +46,7 @@ module.exports = {
4646 a [class ^= 'MenuLink__LinkAnchor-' ],
4747 a [class ^= 'MenuLink__createLink-' ] {
4848 font-weight : 400 ;
49+ color : ${ darkText } !important ;
4950
5051 : hover ,
5152 : focus {
@@ -61,14 +62,22 @@ module.exports = {
6162 opacity : 0.9 ;
6263 }
6364 }
65+
66+ [class ^= 'Logo__LogoText-' ] {
67+ font-size : 2em ;
68+ }
69+
70+ p {
71+ color : ${ darkText } ;
72+ }
6473 ` ,
6574 h1 : css `
6675 display : inline-block;
6776 margin : 60px 0 20px ;
6877 font-size : 48px ;
6978 font-weight : 600 ;
7079 letter-spacing : -0.06em ;
71- color : ${ primaryText } ;
80+ color : ${ lightText } ;
7281 position : relative;
7382 z-index : 1 ;
7483
@@ -79,7 +88,7 @@ module.exports = {
7988 right : 1px ;
8089 left : 6px ;
8190 bottom : 0 ;
82- background : ${ background } ;
91+ background : ${ primary } ;
8392 transform : skew (-1deg , 1deg );
8493 z-index : -1 ;
8594 }
@@ -90,6 +99,7 @@ module.exports = {
9099 font-weight : 500 ;
91100 font-size : 28px ;
92101 letter-spacing : -0.02em ;
102+ color : ${ darkText } ;
93103 ` ,
94104 } ,
95105 } ,
0 commit comments