Skip to content

Commit 48231cc

Browse files
authored
Merge pull request ashutosh1919#253 from tamojit-123/master
Theme Patch🚀 : New theme added in theme.js and new Theme attributes added.
2 parents 8c4cf01 + b3c3cf5 commit 48231cc

File tree

5 files changed

+87
-5
lines changed

5 files changed

+87
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
24+
!/package-lock.json

src/components/experienceCard/ExperienceCard.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class ExperienceCard extends Component {
3434
href={experience["company_url"]}
3535
target="_blank"
3636
rel="noopener noreferrer"
37+
style={{ color: theme.text }}
3738
>
3839
{experience["company"]}
3940
</a>
@@ -42,13 +43,13 @@ class ExperienceCard extends Component {
4243
<div className="experience-card-heading-right">
4344
<p
4445
className="experience-card-duration"
45-
style={{ color: theme.secondaryText }}
46+
style={{ color: theme.text }}
4647
>
4748
{experience["duration"]}
4849
</p>
4950
<p
5051
className="experience-card-location"
51-
style={{ color: theme.secondaryText }}
52+
style={{ color: theme.text }}
5253
>
5354
{experience["location"]}
5455
</p>

src/containers/experienceAccordion/ExperienceAccordion.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ class ExperienceAccordion extends Component {
2424
borderColor: `${theme.headerColor}`,
2525
marginBottom: `3px`,
2626
fontFamily: "Google Sans Regular",
27+
color: `${theme.text}`,
28+
":hover": {
29+
color: `${theme.secondaryText}`,
30+
},
2731
}),
2832
},
2933
Content: {

src/pages/splash/Splash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import LoaderLogo from "../../components/Loader/LoaderLogo.js";
66
function AnimatedSplash(props) {
77
return (
88
<div className="logo_wrapper">
9-
<div className="screen" style={{ backgroundColor: props.theme.text }}>
9+
<div className="screen" style={{ backgroundColor: props.theme.splashBg }}>
1010
<LoaderLogo id="logo" theme={props.theme} />
1111
</div>
1212
</div>

src/theme.js

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,121 +2,197 @@
22
export const blueTheme = {
33
body: "#EDF9FE",
44
text: "#001C55",
5+
expTxtColor: "#000a12",
56
highlight: "#A6E1FA",
67
dark: "#00072D",
78
secondaryText: "#7F8DAA",
89
imageHighlight: "#0E6BA8",
910
compImgHighlight: "#E6E6E6",
1011
jacketColor: "#0A2472",
1112
headerColor: "#0E6BA877",
13+
splashBg: "#001C55",
1214
};
1315

1416
export const brownTheme = {
1517
body: "#FFFEFD",
1618
text: "#5D2A42",
19+
expTxtColor: "#000a12",
1720
highlight: "#FFF9EC",
1821
dark: "#00072D",
1922
secondaryText: "#8D697A",
2023
imageHighlight: "#E29F95",
2124
compImgHighlight: "#E6E6E6",
2225
jacketColor: "#FB6376",
2326
headerColor: "#E29F9577",
27+
splashBg: "#5D2A42",
2428
};
2529

2630
export const purpleTheme = {
2731
body: "#F8EFF4",
2832
text: "#231942",
33+
expTxtColor: "#000a12",
2934
highlight: "#E0B1CB",
3035
dark: "#00072D",
3136
secondaryText: "#655E7A",
3237
imageHighlight: "#BE95C4",
3338
compImgHighlight: "#E6E6E6",
3439
jacketColor: "#5E548E",
3540
headerColor: "#BE95C477",
41+
splashBg: "#231942",
3642
};
3743

38-
export const yelGreenTheme = {
44+
export const greenTheme = {
3945
body: "#FFFFEB",
4046
text: "#003F2F",
47+
expTxtColor: "#000a12",
4148
highlight: "#dddf00",
4249
dark: "#00072D",
4350
secondaryText: "#4CA58F",
4451
imageHighlight: "#55a630",
4552
compImgHighlight: "#E6E6E6",
4653
jacketColor: "#007f5f",
4754
headerColor: "#55a63077",
55+
splashBg: "#003F2F",
4856
};
4957

5058
export const redTheme = {
5159
body: "#FFF8E6",
5260
text: "#6a040f",
61+
expTxtColor: "#000a12",
5362
highlight: "#ffba08",
5463
dark: "#03071e",
5564
secondaryText: "#964F56",
5665
imageHighlight: "#dc2f02",
5766
compImgHighlight: "#E6E6E6",
5867
jacketColor: "#9d0208",
5968
headerColor: "#dc2f0277",
69+
splashBg: "#6a040f",
6070
};
6171

6272
export const blackTheme = {
6373
body: "#E5E5E5",
6474
text: "#14213d",
75+
expTxtColor: "#000a12",
6576
highlight: "#ffffff",
6677
dark: "#000000",
6778
secondaryText: "#5A6377",
6879
imageHighlight: "#fca311",
6980
compImgHighlight: "#E6E6E6",
7081
jacketColor: "#8d99ae",
7182
headerColor: "#fca31177",
83+
splashBg: "#14213d",
7284
};
7385

7486
export const pinkTheme = {
7587
body: "#FEE9F2",
7688
text: "#620E34",
89+
expTxtColor: "#000a12",
7790
highlight: "#FBA7CD",
7891
dark: "#31071A",
7992
secondaryText: "#ef476f",
8093
imageHighlight: "#ef476f",
8194
compImgHighlight: "#E6E6E6",
8295
jacketColor: "#8d99ae",
8396
headerColor: "#ef476f77",
97+
splashBg: "#620E34",
8498
};
8599

86100
export const violetTheme = {
87101
body: "#F4EEFC",
88102
text: "#430A58",
103+
expTxtColor: "#000a12",
89104
highlight: "#D6BEF4",
90105
dark: "#21052C",
91106
secondaryText: "#875599",
92107
imageHighlight: "#9b5de5",
93108
compImgHighlight: "#E6E6E6",
94109
jacketColor: "#763D8B",
95110
headerColor: "#9b5de577",
111+
splashBg: "#430A58",
96112
};
97113

98-
export const greenTheme = {
114+
export const tealTheme = {
99115
body: "#E6FAF5",
100116
text: "#084c61",
117+
expTxtColor: "#000a12",
101118
highlight: "#9BEED8",
102119
dark: "#031E26",
103120
secondaryText: "#528190",
104121
imageHighlight: "#07beb8",
105122
compImgHighlight: "#E6E6E6",
106123
jacketColor: "#56a3a6",
107124
headerColor: "#07beb877",
125+
splashBg: "#084c61",
108126
};
109127

110128
export const orangeTheme = {
111129
body: "#FFF0EA",
112130
text: "#99401F",
131+
expTxtColor: "#000a12",
113132
highlight: "#FFB59A",
114133
dark: "#33150A",
115134
secondaryText: "#CC552A",
116135
imageHighlight: "#FF6B35",
117136
compImgHighlight: "#E6E6E6",
118137
jacketColor: "#d7263d",
119138
headerColor: "#FF6B3577",
139+
splashBg: "#99401F",
140+
};
141+
142+
export const yellowTheme = {
143+
body: "#FFD95D",
144+
text: "#5f4339",
145+
expTxtColor: "#000a12",
146+
highlight: "#ffff73",
147+
dark: "#8d6e63",
148+
secondaryText: "#5f4339",
149+
imageHighlight: "#ffea3d",
150+
compImgHighlight: "#E6E6E6",
151+
jacketColor: "#4e342e",
152+
headerColor: "#FFEA3D",
153+
splashBg: "#5f4339",
154+
};
155+
156+
export const materialDarkTheme = {
157+
body: "#263238",
158+
text: "#aeaeae",
159+
expTxtColor: "#000a12",
160+
highlight: "#4f5b62",
161+
dark: "#000a12",
162+
secondaryText: "#aeaeae",
163+
imageHighlight: "#607d8b",
164+
compImgHighlight: "#E6E6E6",
165+
jacketColor: "#8eacbb",
166+
headerColor: "#34515e",
167+
splashBg: "#4f5b62",
168+
};
169+
170+
export const materialLightTheme = {
171+
body: "#ffffff",
172+
text: "#4c2b91",
173+
expTxtColor: "#000000",
174+
highlight: "#E9E3F5",
175+
dark: "#1d0c41",
176+
secondaryText: "#7d56c2",
177+
imageHighlight: "#2b1958",
178+
compImgHighlight: "#E1E2E1",
179+
jacketColor: "#E1E2E1",
180+
headerColor: "#E1E2E1",
181+
splashBg: "#7d56c2",
182+
};
183+
184+
export const materialTealTheme = {
185+
body: "#ffffff",
186+
text: "#05505E",
187+
expTxtColor: "#000000",
188+
highlight: "#a1dded",
189+
dark: "#07292c",
190+
secondaryText: "#05505E",
191+
imageHighlight: "#0a343c",
192+
compImgHighlight: "#E1E2E1",
193+
jacketColor: "#E1E2E1",
194+
headerColor: "#E1E2E1",
195+
splashBg: "#05505E",
120196
};
121197

122198
export const chosenTheme = blueTheme;

0 commit comments

Comments
 (0)