diff --git a/index.html b/index.html index 90bae70..c456840 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ rel="stylesheet"> - +
diff --git a/public/papi_logo-light.svg b/public/papi_logo-light.svg new file mode 100644 index 0000000..9041daa --- /dev/null +++ b/public/papi_logo-light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/codec-components/EditCodec/CAccountId.tsx b/src/codec-components/EditCodec/CAccountId.tsx index 19dda64..d11295b 100644 --- a/src/codec-components/EditCodec/CAccountId.tsx +++ b/src/codec-components/EditCodec/CAccountId.tsx @@ -107,7 +107,7 @@ export const CAccountId: EditAccountId = ({ value, onValueChanged }) => { /> -
+
The value is not a valid Account ID
diff --git a/src/codec-components/EditCodec/CStruct.tsx b/src/codec-components/EditCodec/CStruct.tsx index 3bcb403..5a5590f 100644 --- a/src/codec-components/EditCodec/CStruct.tsx +++ b/src/codec-components/EditCodec/CStruct.tsx @@ -27,7 +27,7 @@ const StructItem: React.FC<{
  • setHovered({ id: pathStr, hover: true })} onMouseLeave={() => setHovered({ id: pathStr, hover: false })} diff --git a/src/codec-components/EditCodec/Tree/codec-components.tsx b/src/codec-components/EditCodec/Tree/codec-components.tsx index df84603..845b0a2 100644 --- a/src/codec-components/EditCodec/Tree/codec-components.tsx +++ b/src/codec-components/EditCodec/Tree/codec-components.tsx @@ -143,7 +143,7 @@ export const ItemTitle: FC<
    setHovered({ id: pathStr, hover: true })} onMouseLeave={() => setHovered({ id: pathStr, hover: false })} diff --git a/src/codec-components/ViewCodec/ListComponents.tsx b/src/codec-components/ViewCodec/ListComponents.tsx index 15f5ae2..1db360a 100644 --- a/src/codec-components/ViewCodec/ListComponents.tsx +++ b/src/codec-components/ViewCodec/ListComponents.tsx @@ -71,7 +71,7 @@ const ListComponent: FC<{ )) ) : ( - (Empty) + (Empty) )} ) diff --git a/src/codec-components/ViewCodec/codec-components.tsx b/src/codec-components/ViewCodec/codec-components.tsx index 2be6218..62b08cc 100644 --- a/src/codec-components/ViewCodec/codec-components.tsx +++ b/src/codec-components/ViewCodec/codec-components.tsx @@ -20,7 +20,9 @@ export const CEthAccount: ViewEthAccount = ({ value }) => {value} export const COption: ViewOption = ({ value, inner }) => { const selected = value !== undefined return ( -
    {selected ? inner : None}
    +
    + {selected ? inner : None} +
    ) } diff --git a/src/codec-components/common/ListItem.tsx b/src/codec-components/common/ListItem.tsx index 7cd9fdd..fbb5755 100644 --- a/src/codec-components/common/ListItem.tsx +++ b/src/codec-components/common/ListItem.tsx @@ -33,7 +33,7 @@ export const ListItem: React.FC<{
    {children}
    {onDelete ? (
  • ) } diff --git a/src/components/AccountIdDisplay.tsx b/src/components/AccountIdDisplay.tsx index 6c72bec..35a0ce1 100644 --- a/src/components/AccountIdDisplay.tsx +++ b/src/components/AccountIdDisplay.tsx @@ -23,16 +23,19 @@ export const AccountIdDisplay: FC<{ publicKey={getPublicKey(value)} size={28} /> -
    +
    {name && ( {name} {isVerified(identity) && ( - + )} )} - + {value}
    diff --git a/src/components/ActionButton.tsx b/src/components/ActionButton.tsx index 6da5602..dfad5aa 100644 --- a/src/components/ActionButton.tsx +++ b/src/components/ActionButton.tsx @@ -9,8 +9,8 @@ export const ActionButton = forwardRef< {...props} ref={ref} className={twMerge( - "text-polkadot-0 bg-polkadot-700 px-3 py-1", - "cursor-pointer select-none hover:bg-polkadot-500", + "text-primary-foreground bg-primary/90 px-3 py-1", + "cursor-pointer select-none hover:bg-primary/100", props.disabled && "opacity-50 pointer-events-none", props.className, )} diff --git a/src/components/BinaryEditButton.tsx b/src/components/BinaryEditButton.tsx index b01e22a..7248bac 100644 --- a/src/components/BinaryEditButton.tsx +++ b/src/components/BinaryEditButton.tsx @@ -136,12 +136,12 @@ const BinaryEditModalContent: FC< return ( <> -
    +
    -