-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolor-mappings.ts
27 lines (25 loc) · 926 Bytes
/
color-mappings.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
Color mappings for color coding various UI elements
---------------------------------------------------
*/
import { ProjectCategory } from '../types/content/projects.ts';
import { RoleCategory } from '../types/content/roles.ts';
import type { ColorMappingsConfig } from '../types/other.ts';
export const COLOR_MAPPINGS_CONFIG: ColorMappingsConfig = {
default: 'bg-rose-600',
projectCategory: {
[ProjectCategory.App]: 'bg-red-600',
[ProjectCategory.Container]: 'bg-blue-600',
[ProjectCategory.Document]: 'bg-purple-600',
[ProjectCategory.Extension]: 'bg-amber-600',
[ProjectCategory.Library]: 'bg-green-600',
[ProjectCategory.Other]: 'bg-rose-600',
[ProjectCategory.Plugin]: 'bg-orange-600',
[ProjectCategory.Script]: 'bg-lime-600',
[ProjectCategory.Website]: 'bg-sky-600',
},
roleCategory: {
[RoleCategory.Internship]: 'bg-rose-600',
[RoleCategory.SeasonalJob]: 'bg-rose-600',
},
} as const;