Skip to content

Commit

Permalink
Fix: Adjust fontSize, some colors / change the font-family, some svg (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nbass3 authored and atodorov committed Nov 28, 2023
1 parent 30b940f commit c5c48e3
Show file tree
Hide file tree
Showing 60 changed files with 5,474 additions and 124 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
*.md
*.ico
*.ttf
*.woff
*.woff2
*.eot
*.otf
*.xml
*.txt
*.html
Expand Down
Binary file added src/asset/font/Mondwest-Bold.eot
Binary file not shown.
Binary file added src/asset/font/Mondwest-Bold.otf
Binary file not shown.
Binary file added src/asset/font/Mondwest-Bold.ttf
Binary file not shown.
Binary file added src/asset/font/Mondwest-Bold.woff
Binary file not shown.
Binary file added src/asset/font/Mondwest-Bold.woff2
Binary file not shown.
Binary file added src/asset/font/Mondwest-Regular.eot
Binary file not shown.
Binary file added src/asset/font/Mondwest-Regular.otf
Binary file not shown.
Binary file added src/asset/font/Mondwest-Regular.ttf
Binary file not shown.
Binary file added src/asset/font/Mondwest-Regular.woff
Binary file not shown.
Binary file added src/asset/font/Mondwest-Regular.woff2
Binary file not shown.
Binary file added src/asset/font/NeueBit-Bold.eot
Binary file not shown.
Binary file added src/asset/font/NeueBit-Bold.otf
Binary file not shown.
Binary file added src/asset/font/NeueBit-Bold.ttf
Binary file not shown.
Binary file added src/asset/font/NeueBit-Bold.woff
Binary file not shown.
Binary file added src/asset/font/NeueBit-Bold.woff2
Binary file not shown.
Binary file added src/asset/font/NeueBit-Regular.eot
Binary file not shown.
Binary file added src/asset/font/NeueBit-Regular.otf
Binary file not shown.
Binary file added src/asset/font/NeueBit-Regular.ttf
Binary file not shown.
Binary file added src/asset/font/NeueBit-Regular.woff
Binary file not shown.
Binary file added src/asset/font/NeueBit-Regular.woff2
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Medium.eot
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Medium.otf
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Medium.ttf
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Medium.woff
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Medium.woff2
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Regular.eot
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Regular.otf
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-Regular.ttf
Binary file not shown.
2,594 changes: 2,594 additions & 0 deletions src/asset/font/SF-Pro-Text-Regular.woff

Large diffs are not rendered by default.

2,657 changes: 2,657 additions & 0 deletions src/asset/font/SF-Pro-Text-Regular.woff2

Large diffs are not rendered by default.

Binary file added src/asset/font/SF-Pro-Text-SemiBold.eot
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-SemiBold.otf
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-SemiBold.ttf
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-SemiBold.woff
Binary file not shown.
Binary file added src/asset/font/SF-Pro-Text-SemiBold.woff2
Binary file not shown.
12 changes: 6 additions & 6 deletions src/config/pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const PagesConfig: PagesConfigItems = [
uri: `${BASE_URL}`,
hash: '/overview',
Entry: Overview,
icon: () => <OverviewIcon height="20" width="auto" />,
icon: () => <OverviewIcon width="13.5" height="11.7" />,
},
// Removed temporarily until there is a demand pools
// {
Expand All @@ -45,38 +45,38 @@ export const PagesConfig: PagesConfigItems = [
// uri: `${BASE_URL}pools`,
// hash: '/pools',
// Entry: Pools,
// icon: () => (<PoolsIcon height={'20'} width={'auto'}/>)
// icon: () => (<PoolsIcon height={'12.6'} width={'12.6'}/>)
// },
{
category: 2,
key: 'nominate',
uri: `${BASE_URL}nominate`,
hash: '/nominate',
Entry: Nominate,
icon: () => <NominateIcon height="20" width="auto" />,
icon: () => <NominateIcon width="12.6" height="7.2" />,
},
{
category: 2,
key: 'payouts',
uri: `${BASE_URL}payouts`,
hash: '/payouts',
Entry: Payouts,
icon: () => <PayoutsIcon height="20" width="auto" />,
icon: () => <PayoutsIcon width="12.6" height="10.8" />,
},
{
category: 3,
key: 'validators',
uri: `${BASE_URL}validators`,
hash: '/validators',
Entry: Validators,
icon: () => <ValidatorsIcon height="20" width="auto" />,
icon: () => <ValidatorsIcon width="12.6" height="12.6" />,
},
{
category: 3,
key: 'community',
uri: `${BASE_URL}community`,
hash: '/community',
Entry: Community,
icon: () => <CommunityIcon height="20" width="auto" />,
icon: () => <CommunityIcon width="12.6" height="11.7" />,
},
];
56 changes: 6 additions & 50 deletions src/config/validators/Creditcoin.tsx
Original file line number Diff line number Diff line change
@@ -1,63 +1,19 @@
const Creditcoin = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
xmlSpace="preserve"
width="500"
height="500"
viewBox="0 0 500 500"
fill="none"
>
<path d="M120.107 78.0021H108.107V90.0021H120.107V78.0021Z" fill="white" />
<path d="M132.003 78.0021H120.003V90.0021H132.003V78.0021Z" fill="white" />
<path d="M144.001 78.0021H132.001V90.0021H144.001V78.0021Z" fill="white" />
<path d="M156.005 78.0021H144.005V90.0021H156.005V78.0021Z" fill="white" />
<path d="M168.003 78.0021H156.003V90.0021H168.003V78.0021Z" fill="white" />
<path d="M108.109 78.0021H96.1093V90.0021H108.109V78.0021Z" fill="white" />
<path d="M69.0005 70.4979V100.498H99.0006V70.4979H69.0005Z" fill="white" />
<path d="M72.005 0H60.005V12H72.005V0Z" fill="white" />
<path d="M84.0025 0H72.0025V12H84.0025V0Z" fill="white" />
<path d="M96 0H84V12H96V0Z" fill="white" />
<path d="M108.001 0H96.001V12H108.001V0Z" fill="white" />
<path
d="M4.57764e-05 96.002L4.57764e-05 108.002H12V96.002H4.57764e-05Z"
d="M423.115 350.219C388.501 409.877 323.948 450 250.002 450C139.553 450 50.0003 360.448 50.0003 250C50.0003 139.552 139.553 50 250.002 50C324.014 50 388.633 90.2107 423.225 149.956L466.509 124.89C423.247 50.2414 342.496 0 250.002 0C111.941 0 0 111.94 0 250C0 388.082 111.941 500 250.002 500C342.452 500 423.159 449.824 466.421 375.219L423.115 350.219Z"
fill="white"
/>
<path
d="M4.57764e-05 84.001L4.57764e-05 96.001H12V84.001H4.57764e-05Z"
d="M500.001 225H293.261C284.613 210.075 268.502 200 249.999 200C222.387 200 199.999 222.388 199.999 250C199.999 277.612 222.387 300 249.999 300C268.502 300 284.613 289.925 293.261 275H500.001V225Z"
fill="white"
/>
<path d="M4.57764e-05 72L4.57764e-05 84H12V72H4.57764e-05Z" fill="white" />
<path
d="M4.57764e-05 59.999L4.57764e-05 71.999H12V59.999H4.57764e-05Z"
fill="white"
/>
<path d="M120.006 12.001H108.006V24.001H120.006V12.001Z" fill="white" />
<path d="M132.003 12.001H120.003V24.001H132.003V12.001Z" fill="white" />
<path d="M48.003 12.001H36.003V24.001H48.003V12.001Z" fill="white" />
<path d="M36.0055 24.0024H24.0055V36.0024H36.0055V24.0024Z" fill="white" />
<path d="M24.001 36.0021H12.001V48.0021H24.001V36.0021Z" fill="white" />
<path d="M24.001 47.9979H12.001V59.9979H24.001V47.9979Z" fill="white" />
<path d="M156.005 36.0021H144.005V48.0021H156.005V36.0021Z" fill="white" />
<path d="M156.005 47.9979H144.005V59.9979H156.005V47.9979Z" fill="white" />
<path d="M144.001 24.0024H132.001V36.0024H144.001V24.0024Z" fill="white" />
<path d="M60.0005 12.001H48.0005V24.001H60.0005V12.001Z" fill="white" />
<path d="M96.0055 168H108.006V156H96.0055V168Z" fill="white" />
<path d="M84.001 168H96.001V156H84.001V168Z" fill="white" />
<path d="M72 168H84V156H72V168Z" fill="white" />
<path d="M60.0025 168H72.0025V156H60.0025V168Z" fill="white" />
<path d="M48.005 155.999H60.005V143.999H48.005V155.999Z" fill="white" />
<path d="M36.0005 155.999H48.0005V143.999H36.0005V155.999Z" fill="white" />
<path d="M120.001 155.999H132.001V143.999H120.001V155.999Z" fill="white" />
<path d="M132.005 143.998H144.005V131.998H132.005V143.998Z" fill="white" />
<path d="M144.003 131.998H156.003V119.998H144.003V131.998Z" fill="white" />
<path d="M144.003 120.002H156.003V108.002H144.003V120.002Z" fill="white" />
<path
d="M12.0055 131.998H24.0055V119.998H12.0055L12.0055 131.998Z"
fill="white"
/>
<path
d="M12.0055 120.002H24.0055V108.002H12.0055L12.0055 120.002Z"
fill="white"
/>
<path d="M24.003 143.998H36.003V131.998H24.003V143.998Z" fill="white" />
<path d="M108.003 155.999H120.003V143.999H108.003V155.999Z" fill="white" />
</svg>
);

Expand Down
2 changes: 1 addition & 1 deletion src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const EmptyH256 = new Uint8Array(32);
export const ModPrefix = stringToU8a('modl');
export const U32Opts = { bitLength: 32, isLe: true };

export const SideMenuMaximisedWidth = 200;
export const SideMenuMaximisedWidth = 185;
export const SideMenuMinimisedWidth = 75;
export const SideMenuStickyThreshold = 1150;
export const SectionFullWidthThreshold = 1000;
Expand Down
4 changes: 2 additions & 2 deletions src/library/BarChart/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const Legend = styled.div`
}
> h4 {
font-family: InterSemiBold, sans-serif;
font-family: 'SF-Pro-SB', sans-serif;
display: flex;
align-items: center;
font-size: 1.1rem;
Expand Down Expand Up @@ -95,7 +95,7 @@ export const Bar = styled.div`
transition: width 1.5s cubic-bezier(0, 1, 0, 1);
> span {
font-family: InterBold, sans-serif;
font-family: 'SF-Pro-SB', sans-serif;
position: absolute;
left: 0;
text-overflow: ellipsis;
Expand Down
1 change: 0 additions & 1 deletion src/library/Card/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export const CardHeaderWrapper = styled.div<CardHeaderWrapperProps>`
* Used to separate the main modules throughout the app.
*/
export const CardWrapper = styled.div<CardWrapperProps>`
box-shadow: var(--card-shadow);
background: var(--background-primary);
border-radius: 1.1rem;
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/library/Import/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const QRViewerWrapper = styled.div`
.title {
color: var(--accent-color-primary);
font-family: 'Unbounded';
font-family: 'NeueBit-R';
margin-bottom: 1rem;
}
Expand Down
2 changes: 1 addition & 1 deletion src/library/ListItem/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const ValidatorStatusWrapper = styled.div<{
h5 {
color: ${(props) =>
props.$status === 'active'
? 'var(--status-success-color)'
? '#9CFFAA'
: 'var(--text-color-secondary)'};
opacity: ${(props) => (props.$status === 'active' ? 0.8 : 0.5)};
display: flex;
Expand Down
5 changes: 3 additions & 2 deletions src/library/Modal/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export const TitleWrapper = styled.div<{ $fixed: boolean }>`
> h2 {
display: flex;
align-items: center;
font-family: 'Unbounded', 'sans-serif', sans-serif;
font-size: 1.3rem;
font-family: 'NeueBit-R', 'sans-serif', sans-serif;
font-size: 2.3rem;
margin: 0;
> button {
Expand All @@ -42,6 +42,7 @@ export const TitleWrapper = styled.div<{ $fixed: boolean }>`
}
> svg {
margin-right: 0.9rem;
margin-top: -0.3rem;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/library/Prompt/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const TitleWrapper = styled.div`
> h2 {
display: flex;
align-items: center;
font-family: 'Unbounded', 'sans-serif', sans-serif;
font-family: 'NeueBit-R', 'sans-serif', sans-serif;
font-size: 1.3rem;
> button {
Expand Down
20 changes: 5 additions & 15 deletions src/library/SideMenu/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,11 @@ export const Main = () => {
$minimised={sideMenuMinimised}
onClick={() => window.open(CreditcoinUrl, '_blank')}
>
{sideMenuMinimised ? (
<networkData.brand.icon
style={{ maxHeight: '100%', width: '2rem' }}
/>
) : (
<>
<networkData.brand.logo.svg
style={{
maxHeight: '100%',
height: '100%',
width: networkData.brand.logo.width,
}}
/>
</>
)}
<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT4AAABICAYAAABvNJlYAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA1zSURBVHgB7Z3/dds4EsfHefn/3MGyg3grCFPBuYPTVRBfBVYqiFOBtRXEWwGVCpKtgEwFylbwPU4Armlo8IsiKTKaz3t4kigABEFyOABmhlc0IwCu24+iTWWbfrPfb+zfhZO9adMPm7616Tt/Xl1d7UlRFGXJsLBr012bqjYdMA5VmzZtKkhRFGUJOMJuaioWgqQoinIOrMC7x3iaXQ613XdBiqIoU3NmgedSt+meFEVRpqIVMqUVNkujblNJiqIoYwGj5X3E8uE2XpOiKIrligYAM49W0bEJSipsorIna6JCz2YrLjd2H2/s96ECrGnTu6urq4YURVFygRnaDpnLq9q0bdMNDYTLwqwWf0U+3OZbUhRFyaEVHO+RBwubB0ww19bWWbRph3zuSFEUJQWYVdscgcfa3eRzawMFoK76KooSBnmaXoUz2NINEICq+SmKItMKiNtEQXJYgjCBmQNMnYMsSVEUpY/VolKESI0FeUzYdtcJ7T4sqd2KopwZGDu9FOHBK6yLs5Ozwi9l9bdeYvsVRTkDSDNOXqTQ67DCO0X4fSRFUS4bGFu9VQu9jgzhV5KiKJcL4kNc/r+glYC0YXu9BkGuTIO9Rop+IuVyQNxeb5ULAggv1PD2DSkXC4zd6YsHISm/LK/7P6xA20TKfFijzyu3uT2+D+3X/nwe+wd/atND+/8PWhlWQ72xif2Zr+nZn5mPp2nTFzIh+xtSFOWYBG3vkVYOnqNCV2vUXBmYOdgKeT7TNTRcv5chGp+9XypoFPBs7DX82fbdezoniM+DFbRyYIa8Ja0QGGPy2DlKQV32HHIFH2SrBw2CkQBkp4jzWFbAaAMhVq/trRUYYV1hXGqo9vcPyBd8Ek+kRI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FjRKi/SholZwTKXiD3OLukqvKLkAHn1ySX5DVjnBPFJ246SFEW5bJA2yblo4Zch9B5IURQFaUPeTvgVtDAyhF69ZOGtKMrMwMwVpdgd1UsSfkg3/fglbBMVRRkZpM33dULk7KYuMCYrKcKaUR9kRVFkEHdn6/N4Di0KRsurMtq5WntERVFmAvlW8Y9zCECEfTx9bElRFCUF5Gl+kwpAxB3wfaimpyhKHjDuLLnChuEVVhacgwMEwLgj3WOYyxa3uSRFUS6eKxoAXga0HELn8tK5KUmuQZ2LTOeKU9Lwl6w0ZN7Y1pCiKMpQYObWhkZymBNuo9rpKYoyHjgOdrgUaujQVlGUKYFZ9a1xfn6G4IFqeYqizAGMLd25BKAKPEVRzgtOC5iZQwWzWqwCT1GUZQCjBY4pBA8q7BRFOYVB5iynALPgwLZ8BRlTlc5spXCyNvazM3nh33sykVezI74qiqJ0/B/i6mPM7aAnHgAAAABJRU5ErkJggg=="
alt="Creditcoin"
style={{ width: 106, height: 24 }}
/>
</LogoWrapper>

{pageConfig.categories.map(
Expand Down
15 changes: 7 additions & 8 deletions src/library/SideMenu/Primary/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,18 @@ export const Wrapper = styled(motion.div)`
color: var(--text-color-primary);
margin-left: 0.25rem;
margin-right: 0.65rem;
width: 1.35rem;
height: 1.35rem;
&.minimised {
margin: 0;
width: 1.5rem;
height: 1.5rem;
}
width: 18px;
height: 18px;
display: flex;
justify-content: center;
align-items: center;
}
.name {
font-family: InterSemiBold, sans-serif;
font-family: 'SF-Pro-M';
margin: 0;
padding: 0;
line-height: 1.35rem;
color: #fff;
}
.action {
color: var(--status-success-color);
Expand Down
3 changes: 3 additions & 0 deletions src/library/SideMenu/Secondary/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ export const MinimisedWrapper = styled(motion.button)`
export const IconWrapper = styled.div<{ $minimised: boolean }>`
margin-left: ${(props) => (props.$minimised ? 0 : '0.25rem')};
margin-right: ${(props) => (props.$minimised ? 0 : '0.65rem')};
display: flex;
justify-content: center;
align-items: center;
svg {
.primary {
Expand Down
6 changes: 3 additions & 3 deletions src/library/SideMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const SideMenu = () => {
minimised={sideMenuMinimised}
icon={{
Svg: ResourcesSVG,
size: sideMenuMinimised ? '1.4em' : '1.2em',
size: sideMenuMinimised ? '11.55' : '11.55',
}}
/>
<Secondary
Expand All @@ -92,7 +92,7 @@ export const SideMenu = () => {
minimised={sideMenuMinimised}
icon={{
Svg: FeedbackSVG,
size: sideMenuMinimised ? '1.4em' : '1.2em',
size: sideMenuMinimised ? '12.6' : '12.6',
}}
/>
<Separator />
Expand All @@ -103,7 +103,7 @@ export const SideMenu = () => {
onClick={() => openModal({ key: 'Networks' })}
icon={{
Svg: CreditcoinSVG,
size: networkData.brand.inline.size,
size: '12.6',
}}
minimised={sideMenuMinimised}
action={
Expand Down
2 changes: 1 addition & 1 deletion src/library/Stat/Wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Wrapper = styled.div<{ $isAddress?: boolean }>`
.text {
padding-left: ${(props) => (props.$isAddress ? '3rem' : 0)};
font-family: InterBold, sans-serif;
font-family: 'SF-Pro-SB', sans-serif;
color: var(--text-color-primary);
padding-top: 0.25rem;
position: absolute;
Expand Down
10 changes: 3 additions & 7 deletions src/library/StatBoxList/Wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ export const StatBoxWrapper = styled(motion.div)`
.content {
background: var(--background-primary);
box-shadow: var(--card-shadow-secondary);
@media (max-width: 799px) {
box-shadow: var(--card-shadow);
}
display: flex;
border-radius: 0.95rem;
margin-right: 1.25rem;
Expand Down Expand Up @@ -149,7 +145,7 @@ export const TextTitleWrapper = styled.div<{ $primary?: boolean }>`
props.$primary === true
? 'var(--accent-color-primary)'
: 'var(--text-color-primary)'};
font-family: InterBold, sans-serif;
font-family: 'SF-Pro-SB', sans-serif;
display: flex;
flex-flow: row wrap;
margin-bottom: 0.35rem;
Expand Down Expand Up @@ -178,7 +174,7 @@ export const TimeLeftWrapper = styled.div<{ primary?: boolean }>`
props.primary === true
? 'var(--accent-color-primary)'
: 'var(--text-color-primary)'};
font-family: InterBold, sans-serif;
font-family: 'SF-Pro-SB', sans-serif;
display: flex;
flex-flow: row wrap;
font-size: 1.2rem;
Expand All @@ -190,7 +186,7 @@ export const TimeLeftWrapper = styled.div<{ primary?: boolean }>`
span {
color: var(--text-color-primary);
font-family: InterSemiBold, sans-serif;
font-family: 'SF-Pro-SB', sans-serif;
font-size: 0.95rem;
margin-left: 0.3rem;
margin-top: 0.1rem;
Expand Down
3 changes: 2 additions & 1 deletion src/modals/Accounts/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const AccountWrapper = styled.div`
> div {
background: var(--button-primary-background);
color: var(--text-color-primary);
font-family: InterSemiBold, sans-serif;
font-family: 'SF-Pro-SB', sans-serif;
border: 1px solid transparent;
display: flex;
align-items: flex-start;
Expand Down Expand Up @@ -76,6 +76,7 @@ export const AccountWrapper = styled.div`
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #fff;
> span {
opacity: 0.7;
Expand Down
2 changes: 1 addition & 1 deletion src/modals/Connect/Vault.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Vault = (): React.ReactElement => {
style={{
opacity: 1,
color: 'var(--accent-color-primary)',
fontFamily: 'Unbounded',
// fontFamily: 'NeueBit-R',
}}
/>
</div>
Expand Down
Loading

0 comments on commit c5c48e3

Please sign in to comment.