From c5b9f1aab55ef29a657aa78dcbc61881a3dea702 Mon Sep 17 00:00:00 2001 From: Philipp Kief Date: Wed, 15 Jan 2025 20:59:48 +0100 Subject: [PATCH] Refactor code --- src/core/generator/config/defaultConfig.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/core/generator/config/defaultConfig.ts b/src/core/generator/config/defaultConfig.ts index 657d08adf8..cd60f261d1 100644 --- a/src/core/generator/config/defaultConfig.ts +++ b/src/core/generator/config/defaultConfig.ts @@ -2,18 +2,20 @@ import { merge } from '../../helpers/object'; import type { Config } from '../../models/icons/config'; import type { RecursivePartial } from '../../types/recursivePartial'; +const defaultColor = '#90a4ae'; // blue-gray-300 + /** * The options control the generator and decide which icons are disabled or not. */ export const getDefaultConfig = (): Required => ({ folders: { theme: 'specific', - color: '#90a4ae', + color: defaultColor, associations: {}, customClones: [], }, rootFolders: { - color: '#90a4ae', + color: defaultColor, associations: {}, }, activeIconPack: 'angular', @@ -21,7 +23,7 @@ export const getDefaultConfig = (): Required => ({ opacity: 1, saturation: 1, files: { - color: '#90a4ae', + color: defaultColor, associations: {}, customClones: [], },