mirror of
https://github.com/Spythere/spythere-portfolio.git
synced 2026-05-03 05:28:16 +00:00
global colors
This commit is contained in:
@@ -9,7 +9,6 @@ export const GlobalStyles = createGlobalStyle`
|
|||||||
|
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: ${({ theme }) => theme.colors['500']};
|
|
||||||
|
|
||||||
font-synthesis: none;
|
font-synthesis: none;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
@@ -27,6 +26,8 @@ export const GlobalStyles = createGlobalStyle`
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
background-color: ${({ theme }) => theme.colors['bg']};
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: ${deviceSize.md}) {
|
@media screen and (max-width: ${deviceSize.md}) {
|
||||||
font-size: calc(1vw + 0.6rem);
|
font-size: calc(1vw + 0.6rem);
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export const StyledBrandName = styled.div`
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: ${({ theme }) => theme.colors['500']};
|
background-color: ${({ theme }) => theme.colors['bg']};
|
||||||
|
|
||||||
animation: typing 0.75s steps(11) forwards;
|
animation: typing 0.75s steps(11) forwards;
|
||||||
}
|
}
|
||||||
@@ -74,7 +74,7 @@ export const StyledBrandName = styled.div`
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: ${({ theme }) => theme.colors['500']};
|
background-color: ${({ theme }) => theme.colors['bg']};
|
||||||
border-left: 10px solid ${({ theme }) => theme.colors.accent};
|
border-left: 10px solid ${({ theme }) => theme.colors.accent};
|
||||||
|
|
||||||
animation: typing 0.75s steps(11) forwards, blinking 1.5s infinite;
|
animation: typing 0.75s steps(11) forwards, blinking 1.5s infinite;
|
||||||
|
|||||||
+2
-1
@@ -4,7 +4,8 @@ export const theme = {
|
|||||||
300: '#bbc1c9',
|
300: '#bbc1c9',
|
||||||
400: '#415a77',
|
400: '#415a77',
|
||||||
500: '#1b263b',
|
500: '#1b263b',
|
||||||
600: '#0d1b2a',
|
600: '#111',
|
||||||
|
bg: '#22252b',
|
||||||
accent: '#ffbd00',
|
accent: '#ffbd00',
|
||||||
},
|
},
|
||||||
fonts: {
|
fonts: {
|
||||||
|
|||||||
Reference in New Issue
Block a user