From 1b5089a4cef703b155c622b23458c77aeef682d6 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 28 Oct 2024 22:36:01 +0300 Subject: [PATCH] Move icon inside the parent --- packages/themes/src/presets/aura/menubar/index.js | 14 +++++++------- packages/themes/src/presets/lara/menubar/index.js | 14 +++++++------- .../themes/src/presets/material/menubar/index.js | 14 +++++++------- packages/themes/src/presets/nora/menubar/index.js | 14 +++++++------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/themes/src/presets/aura/menubar/index.js b/packages/themes/src/presets/aura/menubar/index.js index bebe867d0..e43590d01 100644 --- a/packages/themes/src/presets/aura/menubar/index.js +++ b/packages/themes/src/presets/aura/menubar/index.js @@ -34,13 +34,13 @@ export default { borderColor: '{content.border.color}', borderRadius: '{content.border.radius}', shadow: '{overlay.navigation.shadow}', - mobileIndent: '1rem' - }, - submenuIcon: { - size: '{navigation.submenu.icon.size}', - color: '{navigation.submenu.icon.color}', - focusColor: '{navigation.submenu.icon.focus.color}', - activeColor: '{navigation.submenu.icon.active.color}' + mobileIndent: '1rem', + icon: { + size: '{navigation.submenu.icon.size}', + color: '{navigation.submenu.icon.color}', + focusColor: '{navigation.submenu.icon.focus.color}', + activeColor: '{navigation.submenu.icon.active.color}' + } }, separator: { borderColor: '{content.border.color}' diff --git a/packages/themes/src/presets/lara/menubar/index.js b/packages/themes/src/presets/lara/menubar/index.js index c5f544626..00ef973ad 100644 --- a/packages/themes/src/presets/lara/menubar/index.js +++ b/packages/themes/src/presets/lara/menubar/index.js @@ -33,13 +33,13 @@ export default { borderColor: '{content.border.color}', borderRadius: '{content.border.radius}', shadow: '{overlay.navigation.shadow}', - mobileIndent: '1.25rem' - }, - submenuIcon: { - size: '{navigation.submenu.icon.size}', - color: '{navigation.submenu.icon.color}', - focusColor: '{navigation.submenu.icon.focus.color}', - activeColor: '{navigation.submenu.icon.active.color}' + mobileIndent: '1.25rem', + icon: { + size: '{navigation.submenu.icon.size}', + color: '{navigation.submenu.icon.color}', + focusColor: '{navigation.submenu.icon.focus.color}', + activeColor: '{navigation.submenu.icon.active.color}' + } }, separator: { borderColor: '{content.border.color}' diff --git a/packages/themes/src/presets/material/menubar/index.js b/packages/themes/src/presets/material/menubar/index.js index 2196f0577..3bf151987 100644 --- a/packages/themes/src/presets/material/menubar/index.js +++ b/packages/themes/src/presets/material/menubar/index.js @@ -34,13 +34,13 @@ export default { borderColor: 'transparent', borderRadius: '{content.border.radius}', shadow: '{overlay.navigation.shadow}', - mobileIndent: '1rem' - }, - submenuIcon: { - size: '{navigation.submenu.icon.size}', - color: '{navigation.submenu.icon.color}', - focusColor: '{navigation.submenu.icon.focus.color}', - activeColor: '{navigation.submenu.icon.active.color}' + mobileIndent: '1rem', + icon: { + size: '{navigation.submenu.icon.size}', + color: '{navigation.submenu.icon.color}', + focusColor: '{navigation.submenu.icon.focus.color}', + activeColor: '{navigation.submenu.icon.active.color}' + } }, separator: { borderColor: '{content.border.color}' diff --git a/packages/themes/src/presets/nora/menubar/index.js b/packages/themes/src/presets/nora/menubar/index.js index bebe867d0..e43590d01 100644 --- a/packages/themes/src/presets/nora/menubar/index.js +++ b/packages/themes/src/presets/nora/menubar/index.js @@ -34,13 +34,13 @@ export default { borderColor: '{content.border.color}', borderRadius: '{content.border.radius}', shadow: '{overlay.navigation.shadow}', - mobileIndent: '1rem' - }, - submenuIcon: { - size: '{navigation.submenu.icon.size}', - color: '{navigation.submenu.icon.color}', - focusColor: '{navigation.submenu.icon.focus.color}', - activeColor: '{navigation.submenu.icon.active.color}' + mobileIndent: '1rem', + icon: { + size: '{navigation.submenu.icon.size}', + color: '{navigation.submenu.icon.color}', + focusColor: '{navigation.submenu.icon.focus.color}', + activeColor: '{navigation.submenu.icon.active.color}' + } }, separator: { borderColor: '{content.border.color}'