mirror of
https://github.com/ershisan99/vacancies-trends-front.git
synced 2026-02-03 05:12:12 +00:00
add grouping and totals
This commit is contained in:
52
app/lib/tremor/constants.ts
Normal file
52
app/lib/tremor/constants.ts
Normal file
@@ -0,0 +1,52 @@
|
||||
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",
|
||||
};
|
||||
Reference in New Issue
Block a user