diff --git a/src/components/Button/InternalButton.tsx b/src/components/Button/InternalButton.tsx index fa2b8db..b9f11e1 100644 --- a/src/components/Button/InternalButton.tsx +++ b/src/components/Button/InternalButton.tsx @@ -32,7 +32,7 @@ export const InternalButton = < wallet: "ink:bg-background-light-transparent ink:px-1.5 ink:py-2 ink:text-body-2 ink:font-bold ink:text-text-default ink:hover:bg-background-light ink:disabled:bg-background-light-transparent-disabled ink:disabled:text-muted ink:active:bg-background-light", "wallet-inside": - "ink:bg-background-light-invisible ink:px-1.5 ink:rounded-8 ink:text-body-2 ink:font-bold ink:text-text-default ink:hover:bg-background-container ink:disabled:bg-background-light-transparent-disabled ink:disabled:text-muted ink:active:bg-background-light", + "ink:bg-background-light-invisible ink:px-1.5 ink:rounded-xs ink:text-body-2 ink:font-bold ink:text-text-default ink:hover:bg-background-container ink:disabled:bg-background-light-transparent-disabled ink:disabled:text-muted ink:active:bg-background-light", }), className )} diff --git a/src/components/Input/Input.tsx b/src/components/Input/Input.tsx index f6f8d3c..bb24b56 100644 --- a/src/components/Input/Input.tsx +++ b/src/components/Input/Input.tsx @@ -12,7 +12,7 @@ export const Input = forwardRef( ({ transition className={classNames( "ink:flex ink:flex-col ink:justify-between ink:gap-3 ink:p-3", - "ink:bg-background-light ink:shadow-modal ink:rounded-24", + "ink:bg-background-light ink:shadow-modal ink:rounded-lg", "ink:duration-200 ink:ease-out ink:data-closed:scale-95 ink:data-closed:opacity-0", variantClassNames(size, { lg: "ink:min-w-[320px] ink:sm:min-w-[640px] ink:min-h-[480px] ink:max-w-4xl", diff --git a/src/components/Wallet/ConnectWallet.tsx b/src/components/Wallet/ConnectWallet.tsx index d3d0d01..124dd57 100644 --- a/src/components/Wallet/ConnectWallet.tsx +++ b/src/components/Wallet/ConnectWallet.tsx @@ -38,7 +38,7 @@ export const ConnectWallet: React.FC = ({ className }) => { { return ( <> {(isLoading || isSuccess) && ( -
+
Balance diff --git a/src/layout/InkLayout/InkLayout.tsx b/src/layout/InkLayout/InkLayout.tsx index 720333c..faf9e53 100644 --- a/src/layout/InkLayout/InkLayout.tsx +++ b/src/layout/InkLayout/InkLayout.tsx @@ -37,7 +37,7 @@ export const InkLayout: React.FC = ({ {sideNavigation}
)} -
+
{children}
diff --git a/src/layout/InkLayout/InkNavLink.tsx b/src/layout/InkLayout/InkNavLink.tsx index 2721637..7f0c90f 100644 --- a/src/layout/InkLayout/InkNavLink.tsx +++ b/src/layout/InkLayout/InkNavLink.tsx @@ -35,7 +35,7 @@ export const InkNavLink = < href={href} className={classNames( Component === DEFAULT_COMPONENT_TYPE && - "ink:flex ink:items-center ink:gap-1.5 ink:px-1.5 ink:py-1.5 ink:text-inherit ink:no-underline ink:rounded-16 ink:transition-colors ink:duration-200 ink:hover:bg-background-container", + "ink:flex ink:items-center ink:gap-1.5 ink:px-1.5 ink:py-1.5 ink:text-inherit ink:no-underline ink:rounded-md ink:transition-colors ink:duration-200 ink:hover:bg-background-container", className )} {...asProps} diff --git a/src/tailwind.css b/src/tailwind.css index 64d444a..29b2193 100644 --- a/src/tailwind.css +++ b/src/tailwind.css @@ -50,9 +50,11 @@ @theme { /* Fonts */ + --font-*: initial; --font-default: "Plus Jakarta Sans"; /* Colors */ + --color-*: initial; --color-background-dark: var(--ink-background-dark); --color-background-dark-transparent: var(--ink-background-dark-transparent); --color-background-container: var(--ink-background-container); @@ -84,6 +86,7 @@ --color-default-app-icon-gradient: var(--ink-default-app-icon-gradient); /* Typography */ + --text-*: initial; --text-h1: 72px; --text-h1--line-height: 72px; @@ -128,12 +131,15 @@ --spacing-16: 128px; /* Radius */ + --radius-*: initial; --radius-full: 9999px; - --radius-24: 24px; - --radius-16: 16px; - --radius-8: 8px; + --radius-lg: 24px; + --radius-md: 16px; + --radius-sm: 12px; + --radius-xs: 8px; /* Shadows */ + --shadow-*: initial; --shadow-menu: 0px 8px 24px -8px #160f1f1a; --shadow-modal: 0px 16px 64px -32px #160f1f1a; --shadow-layout: 0px 16px 64px -32px #160f1f0d; diff --git a/src/util/classes.ts b/src/util/classes.ts index c51b085..a97bbb5 100644 --- a/src/util/classes.ts +++ b/src/util/classes.ts @@ -31,7 +31,13 @@ const colors = [ const customTwMerge = extendTailwindMerge({ override: { classGroups: { - rounded: ["rounded-8", "rounded-16", "rounded-24", "rounded-full"], + rounded: [ + "rounded-xs", + "rounded-sm", + "rounded-md", + "rounded-lg", + "rounded-full", + ], "font-size": [ "text-h1", "text-h2",