diff --git a/src/components/styles/About.styled.ts b/src/components/styles/About.styled.ts
index 36c8863..e927a6f 100644
--- a/src/components/styles/About.styled.ts
+++ b/src/components/styles/About.styled.ts
@@ -4,52 +4,74 @@ export const StyledAbout = styled.section`
img {
max-width: 90px;
}
-`;
-export const StyledAboutItem = styled.li`
- display: flex;
- justify-content: flex-start;
+ ul.about-list {
+ display: flex;
+ flex-wrap: wrap;
- gap: 1em;
- margin-top: 50px;
+ li {
+ margin: 0.5em 0;
+ }
- h2 {
- margin: 0;
+ h2 {
+ display: inline-block;
+ background-color: ${({ theme }) => theme.colors['600']};
+ padding: 0.25em;
+ margin: 0;
+ }
+
+ p {
+ background-color: ${({ theme }) => theme.colors['400']};
+ padding: 1em;
+ margin: 0;
+ }
}
`;
-export const StyledAboutImageWrapper = styled.div`
- display: inline-block;
- position: relative;
+// export const StyledAboutItem = styled.li`
+// display: flex;
+// background-color: ${({ theme }) => theme.colors['400']};
- &::before {
- position: absolute;
- top: -25px;
- left: 50%;
- height: calc(100% + 52px);
-
- content: '';
- width: 5px;
- background-color: ${({ theme }) => theme.colors.primary};
- border-radius: 2px;
+// gap: 1em;
+// margin-top: 50px;
- z-index: -1;
- transform: translateX(-50%);
- }
-`;
+// h2 {
+// margin: 0;
+// }
+// `;
-export const StyledAboutContentWrapper = styled.div``;
+// export const StyledAboutImageWrapper = styled.div`
+// display: inline-block;
+// position: relative;
-export const StyledAboutTitle = styled.h2`
- display: inline-block;
- margin: 1em 0;
- padding: 0.1em 2em 0.1em 0.5em;
+// &::before {
+// position: absolute;
+// top: -25px;
+// left: 50%;
+// height: calc(100% + 52px);
- background-color: ${({ theme }) => theme.colors.primary};
-`;
+// content: '';
+// width: 5px;
+// background-color: ${({ theme }) => theme.colors['400']};
+// border-radius: 2px;
-export const StyledAboutDescription = styled.p`
- margin: 0;
- margin-top: 1em;
- text-align: justify;
-`;
+// z-index: -1;
+// transform: translateX(-50%);
+// }
+// `;
+
+// export const StyledAboutContentWrapper = styled.div``;
+
+// export const StyledAboutTitle = styled.h2`
+// display: inline-block;
+// margin: 1em 0;
+// padding: 0.1em 2em 0.1em 0.5em;
+
+// background-color: ${({ theme }) => theme.colors['600']};
+// `;
+
+// export const StyledAboutDescription = styled.p`
+// margin: 0;
+// margin-top: 1em;
+// text-align: justify;
+// `;
diff --git a/src/components/styles/Button.styled.ts b/src/components/styles/Button.styled.ts
index 2126f5d..9f8be91 100644
--- a/src/components/styles/Button.styled.ts
+++ b/src/components/styles/Button.styled.ts
@@ -3,10 +3,10 @@ import styled from 'styled-components';
const StyledButton = styled.button<{ $primary?: boolean }>`
font-size: 1em;
padding: 0.25em 1em;
- border: 2px solid ${({ theme }) => theme.colors.primary};
+ border: 2px solid ${({ theme }) => theme.colors.accent};
- background: ${({ $primary, theme }) => ($primary ? theme.colors.primary : 'white')};
- color: ${({ $primary, theme }) => ($primary ? 'white' : theme.colors.primary)};
+ background: ${({ $primary, theme }) => ($primary ? theme.colors.accent : 'white')};
+ color: ${({ $primary, theme }) => ($primary ? 'white' : theme.colors.accent)};
`;
export default StyledButton;
diff --git a/src/components/styles/Cursor.styled.ts b/src/components/styles/Cursor.styled.ts
index f54ec42..dfb4e5b 100644
--- a/src/components/styles/Cursor.styled.ts
+++ b/src/components/styles/Cursor.styled.ts
@@ -7,7 +7,7 @@ export const StyledCursor = styled.span`
width: 15px;
height: 100%;
- background-color: ${({ theme }) => theme.colors.primary};
+ background-color: ${({ theme }) => theme.colors.accent};
animation: blinking 1s infinite;
`;
diff --git a/src/components/styles/Global.styled.ts b/src/components/styles/Global.styled.ts
index dbd5d76..2f01993 100644
--- a/src/components/styles/Global.styled.ts
+++ b/src/components/styles/Global.styled.ts
@@ -8,7 +8,7 @@ export const GlobalStyles = createGlobalStyle`
color-scheme: light dark;
color: white;
- background-color: ${({ theme }) => theme.colors.bg};
+ background-color: ${({ theme }) => theme.colors['500']};
font-synthesis: none;
text-rendering: optimizeLegibility;
@@ -23,17 +23,25 @@ export const GlobalStyles = createGlobalStyle`
min-height: 100vh;
width: 100%;
overflow-x: hidden;
+ position: relative;
+ }
+
+
+ #root > .site-content {
+ margin: 0 auto;
+ max-width: 1500px;
+ padding: 0 2em;
}
.text {
&--accent {
- color: ${({ theme }) => theme.colors.primary};
+ color: ${({ theme }) => theme.colors.accent};
}
}
section {
min-height: 100vh;
- padding: 3.5em 2em;
+ padding: 3.5em 0;
}
a {
@@ -43,7 +51,7 @@ export const GlobalStyles = createGlobalStyle`
transition: all 0.25s;
&:hover {
- color: ${({ theme }) => theme.colors.primary};
+ color: ${({ theme }) => theme.colors.accent};
}
}
diff --git a/src/components/styles/Landing.styled.ts b/src/components/styles/Landing.styled.ts
index 2a8d7e5..d863087 100644
--- a/src/components/styles/Landing.styled.ts
+++ b/src/components/styles/Landing.styled.ts
@@ -47,7 +47,7 @@ export const StyledBrandName = styled.div`
height: 100%;
top: 0;
left: 0;
- background-color: ${({ theme }) => theme.colors.bg};
+ background-color: ${({ theme }) => theme.colors['500']};
animation: typing 0.75s steps(11) forwards;
}
@@ -61,8 +61,8 @@ export const StyledBrandName = styled.div`
height: 100%;
top: 0;
left: 0;
- background-color: ${({ theme }) => theme.colors.bg};
- border-left: 10px solid ${({ theme }) => theme.colors.primary};
+ background-color: ${({ theme }) => theme.colors['500']};
+ border-left: 10px solid ${({ theme }) => theme.colors.accent};
animation: typing 0.75s steps(11) forwards, blinking 1.5s infinite;
}
diff --git a/src/components/styles/Navbar.styled.ts b/src/components/styles/Navbar.styled.ts
index 9cf0001..7f5a866 100644
--- a/src/components/styles/Navbar.styled.ts
+++ b/src/components/styles/Navbar.styled.ts
@@ -3,22 +3,28 @@ import { styled } from 'styled-components';
export const StyledNavbar = styled.nav`
position: sticky;
top: 0;
+ left: 0;
z-index: 1000;
+ width: 100%;
+ background-color: ${({ theme }) => theme.colors['600']};
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 3.5em;
+ .navbar-content {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ height: 3.5em;
+ margin: 0 auto;
- color: white;
- background-color: ${({ theme }) => theme.colors.nav};
- padding: 0.75em 2em;
+ color: white;
+ padding: 0.75em 2em;
+ max-width: 1500px;
+ }
`;
export const StyledNavBrand = styled.a`
opacity: 0.85;
font-weight: 700;
- color: ${({ theme }) => theme.colors.primary};
+ color: ${({ theme }) => theme.colors.accent};
font-size: 1.3em;
`;
@@ -45,6 +51,6 @@ export const StyledLangButton = styled.button`
text-transform: uppercase;
cursor: pointer;
- border: 1px solid ${({ theme }) => theme.colors.primary};
+ border: 1px solid ${({ theme }) => theme.colors.accent};
background: none;
`;
diff --git a/src/components/styles/Projects.styled.ts b/src/components/styles/Projects.styled.ts
index 8c505f9..1f39999 100644
--- a/src/components/styles/Projects.styled.ts
+++ b/src/components/styles/Projects.styled.ts
@@ -1,6 +1,11 @@
import { styled } from 'styled-components';
export const StyledProjects = styled.section`
+ .sub-header {
+ letter-spacing: 0.1em;
+ color: ${({ theme }) => theme.colors['200']};
+ }
+
.projects-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
@@ -8,9 +13,9 @@ export const StyledProjects = styled.section`
}
.project-card {
- padding: 0.5em;
- background-color: #3b3b3b;
- box-shadow: #333 10px 7px 11px 0px;
+ padding: 1em;
+ background-color: ${({ theme }) => theme.colors['600']};
+ /* box-shadow: #333 10px 7px 11px 0px; */
h2,
h3 {
@@ -18,11 +23,11 @@ export const StyledProjects = styled.section`
}
h2 {
- color: ${({ theme }) => theme.colors.primary};
+ color: ${({ theme }) => theme.colors.accent};
}
h3 {
- color: #ddd;
+ color: ${({ theme }) => theme.colors['300']};
}
}
diff --git a/src/theme.ts b/src/theme.ts
index 3b52455..af5ad6e 100644
--- a/src/theme.ts
+++ b/src/theme.ts
@@ -1,11 +1,14 @@
export const theme = {
colors: {
- primary: 'lightseagreen',
- bg: '#242424',
- nav: '#1b1b1b',
+ 200: '#e0e1dd',
+ 300: '#778da9',
+ 400: '#415a77',
+ 500: '#1b263b',
+ 600: '#0d1b2a',
+ accent: '#ffbd00',
},
fonts: {
- primary: 'Inter, system-ui, Arial, sans-serif',
+ primary: 'Manrope, system-ui, Arial, sans-serif',
monospace: 'IBM Plex Mono, monospace',
},
};