diff --git a/.changeset/quick-beans-join.md b/.changeset/quick-beans-join.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/quick-beans-join.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/apps/dev-wallet/src/App/Layout/SideBar.tsx b/packages/apps/dev-wallet/src/App/Layout/SideBar.tsx index c70ad3c6b6..190fb819ba 100644 --- a/packages/apps/dev-wallet/src/App/Layout/SideBar.tsx +++ b/packages/apps/dev-wallet/src/App/Layout/SideBar.tsx @@ -1,12 +1,16 @@ import { + MonoApps, + MonoBackupTable, MonoContacts, MonoContrast, - MonoDashboardCustomize, + MonoDarkMode, + MonoKey, + MonoLightMode, MonoLogout, MonoNetworkCheck, + MonoSignature, + MonoSwapHoriz, MonoTableRows, - MonoWallet, - MonoWindow, } from '@kadena/kode-icons/system'; import { NetworkSelector } from '@/Components/NetworkSelector/NetworkSelector'; @@ -21,8 +25,6 @@ import { import { SideBarItem, SideBarItemsInline, - SideBarTree, - SideBarTreeItem, SideBar as SideBarUI, useLayout, } from '@kadena/kode-ui/patterns'; @@ -50,45 +52,46 @@ export const SideBar: FC = () => { } navigation={ <> } + visual={} label="Dashboard" component={Link} href="/" /> - } label="My Wallets"> - - - } label="Transactions"> - - - } label="Utilities"> - - - + } + label="Transfer" + component={Link} + href="/transfer" + /> + + } + label="Sig Builder" + component={Link} + href="/sig-builder" + /> + + } + label="Transactions" + component={Link} + href="/transactions" + /> + + } + /> } @@ -96,6 +99,13 @@ export const SideBar: FC = () => { component={Link} href="/contacts" /> + + } + label="Backup" + component={Link} + href="/backup-recovery-phrase/write-down" + /> } context={ @@ -105,8 +115,8 @@ export const SideBar: FC = () => { } > {isExpanded ? 'Profile' : undefined} @@ -130,9 +140,11 @@ export const SideBar: FC = () => { label="Change theme" > + ), +); +Button.displayName = 'Button'; diff --git a/packages/libs/kode-ui/src/styles/tokens/contract.css.ts b/packages/libs/kode-ui/src/styles/tokens/contract.css.ts index 9f8edf719d..a72a656db2 100644 --- a/packages/libs/kode-ui/src/styles/tokens/contract.css.ts +++ b/packages/libs/kode-ui/src/styles/tokens/contract.css.ts @@ -688,6 +688,67 @@ export const tokens = createThemeContract({ */ toast: '', }, + effect: { + shadow: { + /** + * This is the shadow 1 description + * @light `"4px 0.5rem tokens.kda.foundation.size.n2 4px #000000"` + * @dark `"4px 0.5rem tokens.kda.foundation.size.n2 4px #000000"` + */ + level1: '', + /** + * This is the shadow 2 description + * @light `"4rem 4rem tokens.kda.foundation.size.n2 2rem #000000"` + * @dark `"4rem 4rem tokens.kda.foundation.size.n2 2rem #000000"` + */ + level2: '', + /** + * This is the shadow 3 description updated + * @light `"0px 0px tokens.kda.foundation.size.n2 24px #000000"` + * @dark `"0px 0px tokens.kda.foundation.size.n2 24px #000000"` + */ + level3: '', + }, + }, + icon: { + size: { + /** + * @light {@link tokens.kda.foundation.size.n3} + * @dark {@link tokens.kda.foundation.size.n3} + */ + xxs: '', + /** + * @light {@link tokens.kda.foundation.size.n4} + * @dark {@link tokens.kda.foundation.size.n4} + */ + xs: '', + /** + * @light {@link tokens.kda.foundation.size.n5} + * @dark {@link tokens.kda.foundation.size.n5} + */ + sm: '', + /** + * @light {@link tokens.kda.foundation.size.n6} + * @dark {@link tokens.kda.foundation.size.n6} + */ + base: '', + /** + * @light {@link tokens.kda.foundation.size.n8} + * @dark {@link tokens.kda.foundation.size.n8} + */ + lg: '', + /** + * @light {@link tokens.kda.foundation.size.n10} + * @dark {@link tokens.kda.foundation.size.n10} + */ + xl: '', + /** + * @light {@link tokens.kda.foundation.size.n16} + * @dark {@link tokens.kda.foundation.size.n16} + */ + xxl: '', + }, + }, color: { accent: { /** @@ -3408,12 +3469,32 @@ export const tokens = createThemeContract({ * @dark {@link tokens.kda.foundation.color.neutral.n100@alpha40} */ default: '', + /** + * @light {@link tokens.kda.foundation.color.neutral.n60} + * @dark {@link tokens.kda.foundation.color.neutral.n60} + */ + lighter: '', + /** + * @light {@link tokens.kda.foundation.color.neutral.n80} + * @dark {@link tokens.kda.foundation.color.neutral.n80} + */ + bolder: '', inverse: { /** * @light {@link tokens.kda.foundation.color.neutral.n0@alpha40} * @dark {@link tokens.kda.foundation.color.neutral.n0@alpha40} */ default: '', + /** + * @light {@link tokens.kda.foundation.color.neutral.n40} + * @dark {@link tokens.kda.foundation.color.neutral.n40} + */ + lighter: '', + /** + * @light {@link tokens.kda.foundation.color.neutral.n20} + * @dark {@link tokens.kda.foundation.color.neutral.n20} + */ + bolder: '', }, }, brand: { @@ -4940,67 +5021,6 @@ export const tokens = createThemeContract({ maxWidth: '', }, }, - effect: { - shadow: { - /** - * This is the shadow 1 description - * @light `"4px 0.5rem tokens.kda.foundation.size.n2 4px #000000"` - * @dark `"4px 0.5rem tokens.kda.foundation.size.n2 4px #000000"` - */ - level1: '', - /** - * This is the shadow 2 description - * @light `"4rem 4rem tokens.kda.foundation.size.n2 2rem #000000"` - * @dark `"4rem 4rem tokens.kda.foundation.size.n2 2rem #000000"` - */ - level2: '', - /** - * This is the shadow 3 description updated - * @light `"0px 0px tokens.kda.foundation.size.n2 24px #000000"` - * @dark `"0px 0px tokens.kda.foundation.size.n2 24px #000000"` - */ - level3: '', - }, - }, - icon: { - size: { - /** - * @light {@link tokens.kda.foundation.size.n3} - * @dark {@link tokens.kda.foundation.size.n3} - */ - xxs: '', - /** - * @light {@link tokens.kda.foundation.size.n4} - * @dark {@link tokens.kda.foundation.size.n4} - */ - xs: '', - /** - * @light {@link tokens.kda.foundation.size.n5} - * @dark {@link tokens.kda.foundation.size.n5} - */ - sm: '', - /** - * @light {@link tokens.kda.foundation.size.n6} - * @dark {@link tokens.kda.foundation.size.n6} - */ - base: '', - /** - * @light {@link tokens.kda.foundation.size.n8} - * @dark {@link tokens.kda.foundation.size.n8} - */ - lg: '', - /** - * @light {@link tokens.kda.foundation.size.n10} - * @dark {@link tokens.kda.foundation.size.n10} - */ - xl: '', - /** - * @light {@link tokens.kda.foundation.size.n16} - * @dark {@link tokens.kda.foundation.size.n16} - */ - xxl: '', - }, - }, typography: { family: { /** diff --git a/packages/libs/kode-ui/src/styles/tokens/dark.css.ts b/packages/libs/kode-ui/src/styles/tokens/dark.css.ts index f3b03e8bf5..8eaccd6f73 100644 --- a/packages/libs/kode-ui/src/styles/tokens/dark.css.ts +++ b/packages/libs/kode-ui/src/styles/tokens/dark.css.ts @@ -188,6 +188,24 @@ export const darkThemeValues = { sticky: '100', toast: '10000', }, + effect: { + shadow: { + level1: `4px 0.5rem ${tokens.kda.foundation.size.n2} 4px #000000`, + level2: `4rem 4rem ${tokens.kda.foundation.size.n2} 2rem #000000`, + level3: `0px 0px ${tokens.kda.foundation.size.n2} 24px #000000`, + }, + }, + icon: { + size: { + xxs: tokens.kda.foundation.size.n3, + xs: tokens.kda.foundation.size.n4, + sm: tokens.kda.foundation.size.n5, + base: tokens.kda.foundation.size.n6, + lg: tokens.kda.foundation.size.n8, + xl: tokens.kda.foundation.size.n10, + xxl: tokens.kda.foundation.size.n16, + }, + }, color: { accent: { blue: tokens.kda.foundation.color.palette.blue.n50, @@ -904,8 +922,12 @@ export const darkThemeValues = { }, gray: { default: tokens.kda.foundation.color.neutral['n100@alpha40'], + lighter: tokens.kda.foundation.color.neutral.n60, + bolder: tokens.kda.foundation.color.neutral.n80, inverse: { default: tokens.kda.foundation.color.neutral['n0@alpha40'], + lighter: tokens.kda.foundation.color.neutral.n40, + bolder: tokens.kda.foundation.color.neutral.n20, }, }, brand: { @@ -1292,24 +1314,6 @@ export const darkThemeValues = { maxWidth: '42.5rem', }, }, - effect: { - shadow: { - level1: `4px 0.5rem ${tokens.kda.foundation.size.n2} 4px #000000`, - level2: `4rem 4rem ${tokens.kda.foundation.size.n2} 2rem #000000`, - level3: `0px 0px ${tokens.kda.foundation.size.n2} 24px #000000`, - }, - }, - icon: { - size: { - xxs: tokens.kda.foundation.size.n3, - xs: tokens.kda.foundation.size.n4, - sm: tokens.kda.foundation.size.n5, - base: tokens.kda.foundation.size.n6, - lg: tokens.kda.foundation.size.n8, - xl: tokens.kda.foundation.size.n10, - xxl: tokens.kda.foundation.size.n16, - }, - }, typography: { family: { primaryFont: 'Inter', diff --git a/packages/libs/kode-ui/src/styles/tokens/light.css.ts b/packages/libs/kode-ui/src/styles/tokens/light.css.ts index 1ae38636fd..7963493822 100644 --- a/packages/libs/kode-ui/src/styles/tokens/light.css.ts +++ b/packages/libs/kode-ui/src/styles/tokens/light.css.ts @@ -188,6 +188,24 @@ export const lightThemeValues = { sticky: '100', toast: '10000', }, + effect: { + shadow: { + level1: `4px 0.5rem ${tokens.kda.foundation.size.n2} 4px #000000`, + level2: `4rem 4rem ${tokens.kda.foundation.size.n2} 2rem #000000`, + level3: `0px 0px ${tokens.kda.foundation.size.n2} 24px #000000`, + }, + }, + icon: { + size: { + xxs: tokens.kda.foundation.size.n3, + xs: tokens.kda.foundation.size.n4, + sm: tokens.kda.foundation.size.n5, + base: tokens.kda.foundation.size.n6, + lg: tokens.kda.foundation.size.n8, + xl: tokens.kda.foundation.size.n10, + xxl: tokens.kda.foundation.size.n16, + }, + }, color: { accent: { blue: tokens.kda.foundation.color.palette.blue.n50, @@ -904,8 +922,12 @@ export const lightThemeValues = { }, gray: { default: tokens.kda.foundation.color.neutral['n100@alpha40'], + lighter: tokens.kda.foundation.color.neutral.n60, + bolder: tokens.kda.foundation.color.neutral.n80, inverse: { default: tokens.kda.foundation.color.neutral['n0@alpha40'], + lighter: tokens.kda.foundation.color.neutral.n40, + bolder: tokens.kda.foundation.color.neutral.n20, }, }, brand: { @@ -1292,24 +1314,6 @@ export const lightThemeValues = { maxWidth: '42.5rem', }, }, - effect: { - shadow: { - level1: `4px 0.5rem ${tokens.kda.foundation.size.n2} 4px #000000`, - level2: `4rem 4rem ${tokens.kda.foundation.size.n2} 2rem #000000`, - level3: `0px 0px ${tokens.kda.foundation.size.n2} 24px #000000`, - }, - }, - icon: { - size: { - xxs: tokens.kda.foundation.size.n3, - xs: tokens.kda.foundation.size.n4, - sm: tokens.kda.foundation.size.n5, - base: tokens.kda.foundation.size.n6, - lg: tokens.kda.foundation.size.n8, - xl: tokens.kda.foundation.size.n10, - xxl: tokens.kda.foundation.size.n16, - }, - }, typography: { family: { primaryFont: 'Inter',