Commit 6d97590c authored by pp-hh-ii-ll's avatar pp-hh-ii-ll Committed by GitHub

fix: adjustments to /about font size (#5614)

* Adjustments to font size

Changes font weights and sizes of text elements in the about page

* fixes

* fixes
Co-authored-by: default avatarVignesh Mohankumar <me@vig.xyz>
parent 8e7ab6f8
...@@ -5,8 +5,9 @@ const StyledStep = styled.div<{ selected: boolean }>` ...@@ -5,8 +5,9 @@ const StyledStep = styled.div<{ selected: boolean }>`
display: flex; display: flex;
padding: 24px 0; padding: 24px 0;
color: ${({ theme, selected }) => (selected ? theme.textPrimary : theme.textSecondary)}; color: ${({ theme, selected }) => (selected ? theme.textPrimary : theme.textSecondary)};
font-size: 20px; font-size: 28px;
line-height: 28px; font-weight: 500;
line-height: 36px;
&:not(:last-of-type) { &:not(:last-of-type) {
border-bottom: ${({ theme }) => `1px solid ${theme.backgroundOutline}`}; border-bottom: ${({ theme }) => `1px solid ${theme.backgroundOutline}`};
......
...@@ -4,11 +4,11 @@ import { BREAKPOINTS } from 'theme' ...@@ -4,11 +4,11 @@ import { BREAKPOINTS } from 'theme'
export const Title = styled.h1<{ isDarkMode: boolean }>` export const Title = styled.h1<{ isDarkMode: boolean }>`
color: transparent; color: transparent;
font-size: 48px; font-size: 48px;
font-weight: 600; font-weight: 500;
margin-bottom: 0px; margin-bottom: 0px;
background: ${({ isDarkMode }) => background: ${({ isDarkMode }) =>
isDarkMode isDarkMode
? 'linear-gradient(20deg, rgb(255, 244, 207) 10%, rgb(255, 87, 218) 100%)' ? 'conic-gradient(from 180deg at 50% 50%, #FFF4CF 0deg, #EBFFBF 95.62deg, #E3CDFF 175.81deg, #FFCDF4 269.07deg, #FFFBEF 360deg);'
: 'linear-gradient(10deg, rgb(255,79,184) 0%, rgb(255,159,251) 100%)'}; : 'linear-gradient(10deg, rgb(255,79,184) 0%, rgb(255,159,251) 100%)'};
background-clip: text; background-clip: text;
...@@ -22,7 +22,7 @@ export const Title = styled.h1<{ isDarkMode: boolean }>` ...@@ -22,7 +22,7 @@ export const Title = styled.h1<{ isDarkMode: boolean }>`
export const SubTitle = styled.h2<{ isDarkMode?: boolean }>` export const SubTitle = styled.h2<{ isDarkMode?: boolean }>`
margin: 0; margin: 0;
font-weight: 600; font-weight: 500;
max-width: 340px; max-width: 340px;
color: transparent; color: transparent;
font-size: 36px; font-size: 36px;
...@@ -30,7 +30,7 @@ export const SubTitle = styled.h2<{ isDarkMode?: boolean }>` ...@@ -30,7 +30,7 @@ export const SubTitle = styled.h2<{ isDarkMode?: boolean }>`
background: ${({ isDarkMode }) => background: ${({ isDarkMode }) =>
isDarkMode isDarkMode
? 'linear-gradient(20deg, rgb(255, 244, 207) 10%, rgb(255, 87, 218) 100%)' ? 'conic-gradient(from 180deg at 50% 50%, #FFF4CF 0deg, #EBFFBF 95.62deg, #E3CDFF 175.81deg, #FFCDF4 269.07deg, #FFFBEF 360deg);'
: 'linear-gradient(10deg, rgb(255,79,184) 0%, rgb(255,159,251) 100%)'}; : 'linear-gradient(10deg, rgb(255,79,184) 0%, rgb(255,159,251) 100%)'};
background-clip: text; background-clip: text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment