Skip to content

Commit d148a54

Browse files
authored
Merge pull request #29 from oslabs-beta/styling
Styling
2 parents 26a93f8 + edf4013 commit d148a54

File tree

10 files changed

+38
-32
lines changed

10 files changed

+38
-32
lines changed

app/components/About/PastContributors.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { useStylingContext } from './StylingContext';
33

44
const contributors = [
5-
'Snow', 'Taylor', 'Tim', 'Roberto', 'Nachiket', 'Tiffany', 'Bruno', 'Danny', 'Vince',
5+
'Haoyu', 'Eisha', 'Edwin', 'Tyler', 'Snow', 'Taylor', 'Tim', 'Roberto', 'Nachiket', 'Tiffany', 'Bruno', 'Danny', 'Vince',
66
'Matt', 'Derek', 'Kit', 'Grace', 'Jen', 'Patty', 'Stella', 'Michael', 'Ronelle', 'Todd',
77
'Greg', 'Brianna', 'Brian', 'Alon', 'Alan', 'Ousman', 'Ben', 'Chris', 'Jenae', 'Tim',
88
'Kirk', 'Jess', 'William', 'Alexander', 'Elisa', 'Josh', 'Troy', 'Gahl', 'Brisa', 'Kelsi',

app/components/About/TeamMembers.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { useStylingContext } from './StylingContext';
33

4-
const names = ['Haoyu', 'Eisha', 'Edwin', 'Tyler'];
4+
const names = ['Mike', 'Stephen', 'Ted', 'Sofia'];
55

66
const TeamMembers: React.FC = () => {
77
const currentMode = useStylingContext();

app/components/About/styles.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
.about {
44
min-width: 421px;
55
max-width: 600px;
6-
margin: auto 20px;
6+
margin: auto;
77
display: flex;
88
justify-content: center;
99
align-items: center;
10-
width: 90%;
10+
width: 100%;
1111
height: 100%;
1212
}
1313

@@ -33,7 +33,7 @@
3333
font-size: 20px;
3434
color: $background;
3535
text-align: left;
36-
font-weight: 200;
36+
font-weight: 300;
3737
}
3838

3939
.blurb {

app/components/Contact/Contact.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Contact: React.FC = React.memo(() => {
1717
<h1>Contact Us</h1>
1818
<br />
1919
<p>Please feel free to provide any feedback, concerns, or comments.</p>
20-
<p>You can find issues the team is currently working on
20+
<p>You can find issues the team is currently working on <span></span>
2121
<a id="issueLink" href="https://github.com/open-source-labs/Chronos/issues" target="_blank" rel="noreferrer">
2222
here
2323
</a>.

app/components/Contact/ContactForm.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ContactForm = ({ currentMode }) => {
2626
};
2727

2828
const FormInput: React.FC<FormInputProps> = ({ label, name, placeholder, type = "text", isTextarea = false, accept }) => (
29-
<label htmlFor={name}>
29+
<label htmlFor={name} style={{ fontWeight: 300 }}>
3030
{label}:
3131
{isTextarea ? (
3232
<textarea id={name} name={name} placeholder={placeholder} />

app/components/Contact/styles.scss

+9-4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
justify-content: center;
1717
align-items: center;
1818
color: $background;
19+
1920
}
2021
.contact-border {
2122
display: flex;
@@ -102,12 +103,12 @@
102103

103104
#myfile {
104105
font-size: 16px;
105-
color: $background;
106+
color: $header;
106107
}
107108

108109
#contact-submit {
109110
border: none;
110-
color: $background;
111+
color: $header;
111112

112113
&:hover {
113114
border: none;
@@ -147,9 +148,9 @@ input[type='file'] {
147148
margin-top: 20px;
148149
margin-left: -4px;
149150
padding: 10px;
150-
border: 1px dotted $background;
151+
border: 1px dotted $header;
151152
outline: none;
152-
color: $background;
153+
color: $header;
153154
background-color: transparent;
154155
border-radius: 8px;
155156
&:hover {
@@ -165,3 +166,7 @@ input[type='file'] {
165166
color: blue !important;
166167
}
167168
}
169+
170+
.contact-blurb p{
171+
font-weight: 300;
172+
}

app/components/Occupied/helpers/muiHelper.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11

22
import { makeStyles } from '@mui/styles';
3-
// import { BaseCSSProperties } from '@mui/system';
43

54
// Conditional Rendering of UI Modals for Light and Dark Mode
6-
// Theme, StyleProps
5+
// StyleProps
76

87
export const useStylesDark = makeStyles(theme => ({
98
// ALL CARDS

app/components/Styling.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
const lightAndDark = {
22
lightModeMain: {
3-
backgroundColor: '#eeeeee',
3+
backgroundColor: '#f3f3f7',
44
flex: '1',
55
minHeight: '100vh',
66
FlexDirection: 'column',
77
},
88
lightModeHeader: {
9-
backgroundColor: '#eeeeee',
10-
color: '#444d56',
9+
backgroundColor: '#f3f3f7',
10+
color: '#181818',
1111
},
1212
darkModeHeader: {
13-
backgroundColor: '#181818',
13+
backgroundColor: '#161b22',
1414
color: 'white',
1515
},
1616
darkModeMain: {
17-
backgroundColor: '#181818',
17+
backgroundColor: '#161b22',
1818
backgroundSize: 'contain',
1919
flex: '1',
2020
minHeight: '100vh',
2121
FlexDirection: 'column',
2222
},
2323
lightModeText: {
24-
color: '#36454F',
24+
color: '#181818',
2525
},
2626
darkModeText: {
27-
color: 'gainsboro',
27+
color: '#fcfefb',
2828
},
2929
};
3030

app/modals/EnvModal/EnvModal.scss

+7-6
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@
55
}
66

77
.env-button {
8-
background-color: transparent;
8+
background-color: rgb(201, 198, 198);
99
border: 0;
1010
outline: none;
1111
white-space: nowrap;
1212
margin: 10px;
1313
// padding: 0px;
14-
color: $gblue !important;
14+
color: white;
1515
box-shadow: $boxshadow;
1616
padding: 2rem;
1717
&:hover {
18-
background-color: $lightpurple;
18+
background-color: $gblue;
1919
}
2020
}
2121

2222
.env-button2 {
23-
background-color: transparent;
23+
background-color: rgb(201, 198, 198);
2424
border: 0;
2525
outline: none;
2626
white-space: nowrap;
2727
margin: 10px;
2828
// padding: 0px;
29-
color: $gblue !important;
29+
color: white;
3030
box-shadow: $boxshadow;
3131
padding: 2rem;
3232
&:hover {
33-
background-color: $lightpurple;
33+
background-color: $gblue;
3434
}
3535
}
3636

@@ -41,3 +41,4 @@ p {
4141
#card-env {
4242
margin: 40px 20px;
4343
}
44+

app/modals/EnvModal/EnvModal.tsx

+7-6
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,27 @@ const EnvModal: React.FC<TModalSetter> = React.memo(
1111
<div className="add-container">
1212

1313
<div className="card" id="card-env">
14-
<button
14+
<Button
1515
className="env-button"
1616
onClick={() => setModal({isOpen:true,type:'awsModal'})}
17+
1718
>
1819
<Typography>
1920
<CloudQueue fontSize="large" />
2021
</Typography>
21-
<Typography>Cloud-Based</Typography>
22-
</button>
22+
<Typography>&emsp;Cloud-Based</Typography>
23+
</Button>
2324

2425

25-
<button
26+
<Button
2627
className="env-button2"
2728
onClick={() => setModal({isOpen:true,type:'addModal'})}
2829
>
2930
<Typography>
3031
<Computer fontSize="large" />
3132
</Typography>
32-
<Typography>Local Hosted</Typography>
33-
</button>
33+
<Typography>&emsp;Local Hosted</Typography>
34+
</Button>
3435
</div>
3536
</div>
3637
);

0 commit comments

Comments
 (0)