From 628e26c2c2f02716960a15a893f87b812203b860 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 16 Oct 2024 11:06:52 +0300 Subject: [PATCH] Fixed #6585 - MegaMenu ignores token --- packages/themes/src/presets/aura/megamenu/index.js | 5 +++-- packages/themes/src/presets/lara/megamenu/index.js | 5 +++-- packages/themes/src/presets/material/megamenu/index.js | 5 +++-- packages/themes/src/presets/nora/megamenu/index.js | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/packages/themes/src/presets/aura/megamenu/index.js b/packages/themes/src/presets/aura/megamenu/index.js index 9eed7d4e0..b3e907e1a 100644 --- a/packages/themes/src/presets/aura/megamenu/index.js +++ b/packages/themes/src/presets/aura/megamenu/index.js @@ -7,10 +7,11 @@ export default { gap: '0.5rem', verticalOrientation: { padding: '{navigation.list.padding}', - gap: '0' + gap: '{navigation.list.gap}' }, horizontalOrientation: { - padding: '0.5rem 0.75rem' + padding: '0.5rem 0.75rem', + gap: '0.5rem' }, transitionDuration: '{transition.duration}' }, diff --git a/packages/themes/src/presets/lara/megamenu/index.js b/packages/themes/src/presets/lara/megamenu/index.js index 4f3bd8ee4..16f2a1f1d 100644 --- a/packages/themes/src/presets/lara/megamenu/index.js +++ b/packages/themes/src/presets/lara/megamenu/index.js @@ -6,10 +6,11 @@ export default { gap: '0.5rem', verticalOrientation: { padding: '{navigation.list.padding}', - gap: '0' + gap: '{navigation.list.gap}' }, horizontalOrientation: { - padding: '0.75rem 1rem' + padding: '0.75rem 1rem', + gap: '0.5rem' }, transitionDuration: '{transition.duration}' }, diff --git a/packages/themes/src/presets/material/megamenu/index.js b/packages/themes/src/presets/material/megamenu/index.js index 8c91a0d20..6cf065496 100644 --- a/packages/themes/src/presets/material/megamenu/index.js +++ b/packages/themes/src/presets/material/megamenu/index.js @@ -7,10 +7,11 @@ export default { gap: '0.5rem', verticalOrientation: { padding: '{navigation.list.padding}', - gap: '0' + gap: '{navigation.list.gap}' }, horizontalOrientation: { - padding: '0.5rem 0.75rem' + padding: '0.5rem 0.75rem', + gap: '0.5rem' }, transitionDuration: '{transition.duration}' }, diff --git a/packages/themes/src/presets/nora/megamenu/index.js b/packages/themes/src/presets/nora/megamenu/index.js index 9eed7d4e0..b3e907e1a 100644 --- a/packages/themes/src/presets/nora/megamenu/index.js +++ b/packages/themes/src/presets/nora/megamenu/index.js @@ -7,10 +7,11 @@ export default { gap: '0.5rem', verticalOrientation: { padding: '{navigation.list.padding}', - gap: '0' + gap: '{navigation.list.gap}' }, horizontalOrientation: { - padding: '0.5rem 0.75rem' + padding: '0.5rem 0.75rem', + gap: '0.5rem' }, transitionDuration: '{transition.duration}' },