-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTheme.ts
74 lines (72 loc) · 1.67 KB
/
Theme.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
export enum Color {
DEFAULT = 'DEFAULT', // color used when no color is set
TARGET = 'TARGET', // color of main interactable object
DRAW = 'DRAW', // color of objects drawn by player
WALL = 'WALL', // color of walls and other obstacles
NO_DRAW = 'NO_DRAW', // color of area which forbids drawing
ZONE = 'ZONE', // color of zones other than no-draw zones
BACKGROUND = 'BACKGROUND', // background color
TEXT = 'TEXT', // text colour
}
export interface Theme {
[Color.DEFAULT]: string
[Color.TARGET]: string
[Color.DRAW]: string
[Color.WALL]: string
[Color.NO_DRAW]: string
[Color.ZONE]: string
[Color.BACKGROUND]: string
[Color.TEXT]: string
}
export const themes: Record<string, Theme> = {
DARK: {
DEFAULT: '#FDFDFD',
TARGET: '#FDAD00',
DRAW: '#FDFDFD',
WALL: '#FDFDFD',
NO_DRAW: '#AF4242',
ZONE: '#4242AF',
BACKGROUND: '#000000',
TEXT: '#FAFAFA'
},
LIGHT: {
DEFAULT: '#DADADA',
TARGET: '#FDADA0',
DRAW: '#FFAF77',
WALL: '#DADADA',
NO_DRAW: '#AF4242',
ZONE: '#EFECD2',
BACKGROUND: '#FCFCFC',
TEXT: '#2D2D2D'
},
MOONLIGHT: {
DEFAULT: '#32104D',
TARGET: '#F6DAF5',
DRAW: '#984DAB',
WALL: '#32104D',
NO_DRAW: '#453F54',
ZONE: '#6A2781',
BACKGROUND: '#080321',
TEXT: '#FEFEFE'
},
NAOKI: {
DEFAULT: '#DD4020',
TARGET: '#FD112A',
DRAW: '#811515',
WALL: '#CA0000',
NO_DRAW: '#AF4242',
ZONE: '#EFA16F',
BACKGROUND: '#360000',
TEXT: '#FEFEFE'
},
VERDANT: {
DEFAULT: '#3F5E30',
TARGET: '#DA4031',
DRAW: '#3F5E30',
WALL: '#3F5E30',
NO_DRAW: '#AF4242',
ZONE: '#4242AF',
BACKGROUND: '#C4DD78',
TEXT: '#3F5E30'
}
}