mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-22 09:56:57 +00:00
* fix: Changed axis label color * fix: linting issues * chore: helpers is updated Co-authored-by: Palash Gupta <palashgdev@gmail.com>
9 lines
216 B
TypeScript
9 lines
216 B
TypeScript
import { themeColors } from 'constants/theme';
|
|
|
|
export const getAxisLabelColor = (currentTheme: string): string => {
|
|
if (currentTheme === 'light') {
|
|
return themeColors.black;
|
|
}
|
|
return themeColors.whiteCream;
|
|
};
|