From c1335a015115d887102c241128c64b2e29951720 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 10 May 2024 10:38:05 +0300 Subject: [PATCH] Tokens for menu --- components/lib/themes/aura/index.js | 6 ++++-- components/lib/themes/aura/menu/index.js | 4 ++-- components/lib/themes/lara/index.js | 6 ++++-- components/lib/themes/lara/menu/index.js | 4 ++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/components/lib/themes/aura/index.js b/components/lib/themes/aura/index.js index 78d1a04ba..b9cfb66eb 100644 --- a/components/lib/themes/aura/index.js +++ b/components/lib/themes/aura/index.js @@ -172,8 +172,10 @@ export default { borderRadius: '{border.radius.md}' }, navigation: { - padding: '0.25rem 0.25rem', - gap: '2px', + list: { + padding: '0.25rem 0.25rem', + gap: '2px' + }, item: { padding: '0.5rem 0.75rem', borderRadius: '{border.radius.sm}', diff --git a/components/lib/themes/aura/menu/index.js b/components/lib/themes/aura/menu/index.js index d2c5bdbf4..33e4bada7 100644 --- a/components/lib/themes/aura/menu/index.js +++ b/components/lib/themes/aura/menu/index.js @@ -3,9 +3,9 @@ export default { background: '{content.background}', borderColor: '{content.border.color}', color: '{content.color}', - padding: '{navigation.padding}', + padding: '{navigation.list.padding}', borderRadius: '{content.border.radius}', - gap: '{navigation.gap}', + gap: '{navigation.list.gap}', shadow: '{overlay.navigation.shadow}' }, item: { diff --git a/components/lib/themes/lara/index.js b/components/lib/themes/lara/index.js index 459dffd3d..0ed927c24 100644 --- a/components/lib/themes/lara/index.js +++ b/components/lib/themes/lara/index.js @@ -171,8 +171,10 @@ export default { borderRadius: '{border.radius.sm}' }, navigation: { - padding: '0.5rem 0', - gap: '0', + list: { + padding: '0.5rem 0', + gap: '0' + }, item: { padding: '0.625rem 1rem', borderRadius: '0', diff --git a/components/lib/themes/lara/menu/index.js b/components/lib/themes/lara/menu/index.js index d2c5bdbf4..33e4bada7 100644 --- a/components/lib/themes/lara/menu/index.js +++ b/components/lib/themes/lara/menu/index.js @@ -3,9 +3,9 @@ export default { background: '{content.background}', borderColor: '{content.border.color}', color: '{content.color}', - padding: '{navigation.padding}', + padding: '{navigation.list.padding}', borderRadius: '{content.border.radius}', - gap: '{navigation.gap}', + gap: '{navigation.list.gap}', shadow: '{overlay.navigation.shadow}' }, item: {