From 0538dc769c45596ad9b4479178b8a6d653bd2d91 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 28 Oct 2024 13:45:20 +0300 Subject: [PATCH] Refactor #6655 - For CascadeSelect --- packages/themes/src/presets/aura/cascadeselect/index.js | 3 +++ packages/themes/src/presets/material/cascadeselect/index.js | 3 +++ packages/themes/src/presets/nora/cascadeselect/index.js | 3 +++ 3 files changed, 9 insertions(+) diff --git a/packages/themes/src/presets/aura/cascadeselect/index.js b/packages/themes/src/presets/aura/cascadeselect/index.js index 85af0e8b1..f28d7ee0e 100644 --- a/packages/themes/src/presets/aura/cascadeselect/index.js +++ b/packages/themes/src/presets/aura/cascadeselect/index.js @@ -66,5 +66,8 @@ export default { focusColor: '{list.option.icon.focus.color}', size: '0.875rem' } + }, + clearIcon: { + color: '{form.field.icon.color}' } }; diff --git a/packages/themes/src/presets/material/cascadeselect/index.js b/packages/themes/src/presets/material/cascadeselect/index.js index 79328a5e3..4f98e4a1a 100644 --- a/packages/themes/src/presets/material/cascadeselect/index.js +++ b/packages/themes/src/presets/material/cascadeselect/index.js @@ -67,6 +67,9 @@ export default { size: '0.875rem' } }, + clearIcon: { + color: '{form.field.icon.color}' + }, css: ({ dt }) => ` .p-cascadeselect.p-variant-filled { border-bottom-left-radius: 0; diff --git a/packages/themes/src/presets/nora/cascadeselect/index.js b/packages/themes/src/presets/nora/cascadeselect/index.js index 85af0e8b1..f28d7ee0e 100644 --- a/packages/themes/src/presets/nora/cascadeselect/index.js +++ b/packages/themes/src/presets/nora/cascadeselect/index.js @@ -66,5 +66,8 @@ export default { focusColor: '{list.option.icon.focus.color}', size: '0.875rem' } + }, + clearIcon: { + color: '{form.field.icon.color}' } };