Files
vacancies-trends-front/app/lib/tremor/constants.ts
2024-08-29 02:32:30 +02:00

53 lines
1.1 KiB
TypeScript

import { Color, DeltaType, HorizontalPosition, Size, VerticalPosition } from "./inputTypes";
export const DeltaTypes: { [key: string]: DeltaType } = {
Increase: "increase",
ModerateIncrease: "moderateIncrease",
Decrease: "decrease",
ModerateDecrease: "moderateDecrease",
Unchanged: "unchanged",
};
export const BaseColors: { [key: string]: Color } = {
Slate: "slate",
Gray: "gray",
Zinc: "zinc",
Neutral: "neutral",
Stone: "stone",
Red: "red",
Orange: "orange",
Amber: "amber",
Yellow: "yellow",
Lime: "lime",
Green: "green",
Emerald: "emerald",
Teal: "teal",
Cyan: "cyan",
Sky: "sky",
Blue: "blue",
Indigo: "indigo",
Violet: "violet",
Purple: "purple",
Fuchsia: "fuchsia",
Pink: "pink",
Rose: "rose",
};
export const Sizes: { [key: string]: Size } = {
XS: "xs",
SM: "sm",
MD: "md",
LG: "lg",
XL: "xl",
};
export const HorizontalPositions: { [key: string]: HorizontalPosition } = {
Left: "left",
Right: "right",
};
export const VerticalPositions: { [key: string]: VerticalPosition } = {
Top: "top",
Bottom: "bottom",
};