Skip to content

Commit 5b6056c

Browse files
committed
Colors: 3-role semantic bg system (neutral/brand/emphasis)
Add --ifm-bg-neutral/brand/emphasis to :root. Replace all raw color vars used as backgrounds with semantic vars throughout. Remove bg="light" variant, add bg="yellow". Home: TrustedBy→white, WhatWeDo→white, ProjectsOverview gets yellow header, AboutQS→dark consistently. Page intros (about, projects, services) use bg="yellow". Add card_transparent variant; TopicsCard uses it on white section.
1 parent bb18594 commit 5b6056c

25 files changed

Lines changed: 68 additions & 65 deletions

src/components/about/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function getTeamByPageName(name: string) {
1919
export function About() {
2020
return (
2121
<>
22-
<Section pageTop bg="light">
22+
<Section pageTop bg="yellow">
2323
<h1>About QuantStack</h1>
2424
<FourValues />
2525
</Section>

src/components/about/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
top: 50%;
1414
left: 50%;
1515
transform: translate(-50%, -50%);
16-
background-color: white;
16+
background-color: var(--ifm-bg-neutral);
1717
border: 1px solid #ccc;
1818
box-shadow: var(--ifm-shadow-dialog);
1919
border-radius: 20px;

src/components/careers/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828

2929
.link_to_WTJ {
30-
background-color: var(--ifm-color-secondary-s2);
30+
background-color: var(--ifm-bg-emphasis);
3131
color: white;
3232
width: 358px;
3333
font-weight: 700;
@@ -36,7 +36,7 @@
3636
.interview_card {
3737
width: 280px;
3838
height: 300px;
39-
background-color: var(--ifm-background-color);
39+
background-color: var(--ifm-bg-neutral);
4040
border-radius: 10px;
4141
box-shadow: var(--ifm-shadow-card);
4242
padding: var(--ifm-spacing-sm);

src/components/contact/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.form_label {
1414
font-size: 12px;
1515
color: var(--ifm-text-color);
16-
background-color: var(--ifm-background-color);
16+
background-color: var(--ifm-bg-neutral);
1717
}
1818

1919

src/components/fundable/styles.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
}
2828

2929
.filter_tag_active {
30-
background: var(--ifm-color-secondary-s2);
30+
background: var(--ifm-bg-emphasis);
3131
color: white;
32-
border-color: var(--ifm-color-secondary-s2);
32+
border-color: var(--ifm-bg-emphasis);
3333
}
3434

3535

@@ -145,7 +145,7 @@
145145
top: 50%;
146146
left: 50%;
147147
transform: translate(-50%, -50%);
148-
background-color: white;
148+
background-color: var(--ifm-bg-neutral);
149149
border: 1px solid #ccc;
150150
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
151151
border-radius: 20px;
@@ -216,7 +216,7 @@
216216
.form_label {
217217
font-size: 12px;
218218
color: var(--ifm-text-color);
219-
background-color: var(--ifm-background-color);
219+
background-color: var(--ifm-bg-neutral);
220220
}
221221

222222
.project_information_container {
Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,33 @@
1-
@media (max-width: 996px) {
2-
.aboutQS_outer {
3-
background-color: var(--ifm-color-secondary-s2);
4-
color: white;
5-
padding: var(--ifm-spacing-2xl) 0;
6-
}
1+
.aboutQS_outer {
2+
background: var(--ifm-bg-emphasis);
3+
color: white;
4+
padding: var(--ifm-spacing-2xl) 0;
5+
}
76

8-
.aboutQS_text {
9-
font-size: 14px;
10-
text-align: center;
11-
margin-bottom: var(--ifm-spacing-xl);
12-
}
7+
.aboutQS_text {
8+
font-size: 14px;
9+
text-align: center;
10+
margin-bottom: var(--ifm-spacing-xl);
11+
}
1312

14-
.learn_more_button_container {
15-
display: flex;
16-
justify-content: center;
17-
margin-top: var(--ifm-spacing-xl);
18-
}
13+
.learn_more_button_container {
14+
display: flex;
15+
justify-content: center;
16+
margin-top: var(--ifm-spacing-xl);
17+
}
18+
19+
.learn_more_button_container :global(.link-to-button) {
20+
background: var(--ifm-bg-brand);
21+
color: var(--ifm-color-primary-p2);
1922
}
2023

2124
@media (min-width: 996px) {
2225
.aboutQS_outer {
23-
background: linear-gradient(180deg, var(--ifm-color-primary-p0) 0%, #ffffff 100%);
24-
color: var(--ifm-color-primary-p2);
2526
padding: var(--ifm-spacing-4xl) 0;
2627
}
2728

2829
.aboutQS_text {
2930
font-size: 24px;
30-
text-align: center;
3131
margin-bottom: var(--ifm-spacing-lg);
3232
}
33-
34-
.learn_more_button_container {
35-
display: flex;
36-
justify-content: center;
37-
margin-top: var(--ifm-spacing-xl);
38-
}
3933
}

src/components/home/Hero/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010

1111
.hero_container {
12-
background-color: var(--ifm-color-primary-p0);
12+
background-color: var(--ifm-bg-brand);
1313
padding-bottom: var(--ifm-spacing-3xl);
1414
}
1515

src/components/home/Home.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
import Hero from "./Hero";
3+
import TrustedBy from "./TrustedBy";
34
import WhatWeDo from "./WhatWeDo";
45
import ProjectsOverview from "./ProjectsOverview";
56
import AboutQS from "./AboutQS";
@@ -11,6 +12,7 @@ export function Home(): JSX.Element {
1112
return (
1213
<>
1314
<Hero />
15+
<TrustedBy />
1416
<WhatWeDo />
1517
<ProjectsOverview />
1618
<AboutQS />

src/components/home/ProjectsOverview/DataAnalysis.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import ApacheArrowPicture from "@site/static/img/projects/apache_arrow.svg";
66
export default function DataAnalysisProjects() {
77
return (
88
<SplitSection
9-
bg="light"
109
reverse
1110
image={<ApacheArrowPicture style={{ maxWidth: "100%" }} />}
1211
>

src/components/home/ProjectsOverview/Robotics.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import RoboticsPictureUrl from "@site/static/img/projects/robotics.png";
66
export default function RoboticsProjects() {
77
return (
88
<SplitSection
9-
bg="light"
109
reverse
1110
image={<img src={RoboticsPictureUrl} alt={"Picture showing two jupyterlab user interfaces displaying robotics projects."} style={{ maxWidth: "100%" }} />}
1211
>

0 commit comments

Comments
 (0)