Skip to content

Commit c6c7084

Browse files
authored
style: update styling, colors, and visuals per new brand guide (#120)
1 parent e2a52e1 commit c6c7084

File tree

8 files changed

+24711
-142
lines changed

8 files changed

+24711
-142
lines changed

package-lock.json

Lines changed: 24186 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/HomepageFeatures/index.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ function Feature({title, Svg, description, linkTo, buttonTitle}: FeatureItem) {
6969
const svgClassName = `${styles.featureSvg} white-image`;
7070

7171
return (
72-
<div className={clsx("card", styles.custom__card)} style={{ height: '100%' , color: colorMode === 'dark' ? '#E6F7FF' : '#003366'}}>
72+
<div className={clsx("card", styles.custom__card)} style={{ height: '100%' , color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}>
7373
<div className="card__body custom__body_flex">
7474
<div>
75-
<Svg className={svgClassName} role="img" style={{ color: colorMode === 'dark' ? '#E6F7FF' : '#003366' }}/>
75+
<Svg className={svgClassName} role="img" style={{ color: colorMode === 'dark' ? '#E6F7FF' : '#001623' }}/>
7676
</div>
7777

78-
<Heading as="h2" className="" style={{ fontSize: 22 , color: '#0073E6'}} >{title}</Heading>
78+
<Heading as="h2" className="" style={{ fontSize: 22 , color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}} >{title}</Heading>
7979
<p>{description}</p>
80-
<div className="row" style={{ flex: 1 , color: '#0073E6'}}></div>
81-
<div style={{ width: '100%', display: 'flex', justifyContent: 'center' , color: '#0073E6'}}>
80+
<div className="row" style={{ flex: 1 , color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}></div>
81+
<div style={{ width: '100%', display: 'flex', justifyContent: 'start' , color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}>
8282
<Link
8383
className='tutorial-button minimum'
8484
to={linkTo}>
@@ -141,7 +141,7 @@ export default function HomepageFeatures(): JSX.Element {
141141
</Heading>
142142
</div>
143143
{/* style={{ gap: "20px"}} */}
144-
<div className="row feature_container" style={{ gap: "20px", justifyContent: "space-between" , color: colorMode === 'dark' ? '#E6F7FF' : '#003366'}}>
144+
<div className="row feature_container" style={{ gap: "20px", justifyContent: "space-between" , color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}>
145145
{FeatureList.map((props, idx) => (
146146
<div key={idx} style={{ padding: '0px' }} className="col col--3">
147147
<Feature {...props} />
@@ -154,7 +154,7 @@ export default function HomepageFeatures(): JSX.Element {
154154
<div style={{
155155
position: 'absolute',
156156
top: '-88px',
157-
left: '-68%',
157+
left: '-82%',
158158
width: '800px',
159159
height: '205px',
160160
zIndex: -1,
@@ -173,9 +173,9 @@ export default function HomepageFeatures(): JSX.Element {
173173
</Heading>
174174
</div>
175175
<div className="row" style={{display: 'flex', flexDirection: 'row', justifyContent: 'center', marginTop: '40px', gap: '20px'}}>
176-
<div className={clsx("card", styles.custom__card_1)} style={{ height: '200px', width: '500px', padding: '20px' , color: '#0073E6'}}>
177-
<div className="orb-font" style={{ fontSize: 26, fontWeight: 'bold', color: '#0073E6' }}>Fhenix Developer Updates</div>
178-
<div style={{ color: colorMode === 'dark' ? '#E6F7FF' : '#003366'}}>Stay up-to-date on the latest Fhenix developer news</div>
176+
<div className={clsx("card", styles.custom__card_1)} style={{ height: '200px', width: '500px', padding: '20px' , color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}>
177+
<div className="orb-font" style={{ fontSize: 26, fontWeight: 'bold', color: colorMode === 'dark' ? '#E6F7FF' : '#001623' }}>Fhenix Developer Updates</div>
178+
<div style={{ color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}>Stay up-to-date on the latest Fhenix developer news</div>
179179
<div className="row" style={{ flex: 1 }}></div>
180180
<div style={{ display: 'flex', justifyContent: 'flex-start', marginTop: '10px' }}>
181181
<Link
@@ -186,9 +186,9 @@ export default function HomepageFeatures(): JSX.Element {
186186
</div>
187187

188188
</div>
189-
<div className={clsx("card", styles.custom__card_1)} style={{ height: '200px', width: '500px', padding: '20px', color: '#0073E6'}}>
190-
<div className="orb-font" style={{ fontSize: 26, fontWeight: 'bold', color: '#0073E6' }}>Even More Resources</div>
191-
<div style={{ color: colorMode === 'dark' ? '#E6F7FF' : '#003366'}}>Hear from Fhenix co-founders, engineering and research teams, ecosystem projects, and more. Join us!</div>
189+
<div className={clsx("card", styles.custom__card_1)} style={{ height: '200px', width: '500px', padding: '20px', color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}>
190+
<div className="orb-font" style={{ fontSize: 26, fontWeight: 'bold', color: colorMode === 'dark' ? '#E6F7FF' : '#001623' }}>Even More Resources</div>
191+
<div style={{ color: colorMode === 'dark' ? '#E6F7FF' : '#001623'}}>Hear from Fhenix co-founders, engineering and research teams, ecosystem projects, and more. Join us!</div>
192192
<div className="row" style={{ flex: 1 }}></div>
193193
<div style={{ display: 'flex', justifyContent: 'flex-start', marginTop: '10px' }}>
194194

src/components/HomepageFeatures/styles.module.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
.custom__card {
2525
/* Rectangle 39 */
2626
height: 308px;
27-
background: #D9F0FF;
27+
background: #fff;
2828
/* box-sizing: border-box; */
2929
transition: box-shadow .3s, background .3s;
3030
width: 100%;
@@ -41,13 +41,13 @@
4141
}
4242

4343
html[data-theme='dark'] .custom__card {
44-
background: #1A1A1A;
44+
background: #001623;
4545
color: #E6F7FF;
4646
}
4747

4848
.custom__card_1 {
4949
/* Rectangle 39 */
50-
background: #D9F0FF;
50+
background: #fff;
5151

5252
height: 308px;
5353
box-sizing: border-box;
@@ -68,16 +68,16 @@ html[data-theme='dark'] .custom__card {
6868
}
6969

7070
html[data-theme='dark'] .custom__card_1 {
71-
background: #1A1A1A;
71+
background: #001623;
7272
color: #E6F7FF;
7373
}
7474

7575
html[data-theme='light'] {
76-
background: #E6F7FF;
76+
background: #fafafa;
7777
}
7878

7979
html[data-theme='dark'] {
80-
background: #141414;
80+
background: linear-gradient(270deg, #00253d, #001724);
8181
}
8282

8383

0 commit comments

Comments
 (0)