Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ class MyDocument extends Document {
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
{ /* eslint-disable-next-line max-len */ }
<link
href="https://fonts.googleapis.com/css2?family=Spline+Sans+Mono:ital,wght@0,300..700;1,300..700&family=Spline+Sans:wght@300..700&display=swap"
rel="stylesheet"
/>

{ /* eslint-disable-next-line @next/next/no-sync-scripts */ }
<script src="/assets/envs.js"/>
Expand Down
3 changes: 3 additions & 0 deletions theme/foundations/typography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ import { theme } from '@chakra-ui/react';

export const BODY_TYPEFACE = 'Spline Sans';
export const HEADING_TYPEFACE = 'Spline Sans';
export const MONO_TYPEFACE = 'Spline Sans Mono';

const typography = {
fonts: {
heading: `${ HEADING_TYPEFACE }, ${ theme.fonts.heading }`,
body: `${ BODY_TYPEFACE }, ${ theme.fonts.body }`,
mono: `${ MONO_TYPEFACE }, ${ theme.fonts.mono }`,
},

textStyles: {
h2: {
fontSize: [ '32px' ],
Expand Down
15 changes: 14 additions & 1 deletion ui/tx/details/TxInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,18 @@ const TxInfo = ({ data, isLoading, socketStatus }: Props) => {
<Box minWidth="120px" flexShrink={ 0 }>
<WvmTxTag tag={ tag[0] }/>
</Box>
<Text flexGrow={ 1 } wordBreak="break-word">{ tag[1] }</Text>
<Text
color="#fff"
fontSize="14px"
padding="2px 5px"
width="fit-content"
fontWeight="normal"
wordBreak="break-word"
backgroundColor="#161625"
fontFamily="Spline Sans Mono"
>
{ tag[1] }
</Text>
</Box>
)) }
</Box>
Expand All @@ -544,6 +555,8 @@ const TxInfo = ({ data, isLoading, socketStatus }: Props) => {
isTxDataLoading={ isLoading }
/>

{ !txTags && <DetailsInfoItemDivider/> }

<DetailsInfoItem.Label
hint="Address (external or contract) sending the transaction"
isLoading={ isLoading }
Expand Down