Skip to content

Commit

Permalink
refactor(utils): remove getComponentCSSSizeVar function
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonoff committed Nov 15, 2024
1 parent 635722d commit 4bc74cb
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions projects/igniteui-angular/src/lib/core/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,22 +614,6 @@ export function* intoChunks<T>(arr: T[], size: number) {
}
}

/**
* @param size
* @returns string that represents the --component-size default value
*/
export function getComponentCssSizeVar(size: string) {
switch (size) {
case "1":
return 'var(--ig-size, var(--ig-size-small))';
case "2":
return 'var(--ig-size, var(--ig-size-medium))';
case "3":
default:
return 'var(--ig-size, var(--ig-size-large))';
}
}

/**
* @param path - The URI path to be normalized.
* @returns string endoded using the encodeURI function.
Expand Down

0 comments on commit 4bc74cb

Please sign in to comment.