@ziadshalaby/ngx-zs-component 3.1.8 → 3.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -352,8 +352,9 @@ class NavItem {
352
352
  // Helper Methods
353
353
  // ==============================================
354
354
  getItemClasses = (item) => {
355
- const defaultTextClass = 'zs:text-gray-600 zs:dark:text-gray-300 zs:hover:text-gray-900 zs:dark:hover:text-gray-100';
356
- const defaultBgClass = 'zs:hover:bg-gray-100 zs:dark:hover:bg-gray-700';
355
+ const base = 'zs:text-gray-600 zs:dark:text-gray-300';
356
+ const defaultTextClass = base + ' zs:hover:text-gray-900 zs:dark:hover:text-gray-100';
357
+ const defaultBgClass = base + ' zs:hover:bg-gray-100 zs:dark:hover:bg-gray-700';
357
358
  if (item.colorClass) {
358
359
  return item.colorClass;
359
360
  }