Repository navigation
Expand file tree
/
Copy pathsiteThemes.js
More file actions
85 lines (84 loc) · 1.8 KB
/
Copy pathsiteThemes.js
File metadata and controls
85 lines (84 loc) · 1.8 KB
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
75
76
77
78
79
80
81
82
83
84
85
export const SITE_THEMES = [
{
id: 'studio',
name: 'Studio',
description: 'Daylight, soft shapes and a curious mind',
background: '#faf9f6',
foreground: '#16130f',
accent: '#3f7a5c',
},
{
id: 'brutalist',
name: 'Brufez',
description: 'Systemic brutalism',
background: '#050505',
foreground: '#ffffff',
accent: '#10b981',
},
{
id: 'luxe',
name: 'Fezluxe',
description: 'Architectural elegance',
background: '#ffffff',
foreground: '#1a1a1a',
accent: '#8d4004',
},
{
id: 'terracotta',
name: 'Terracotta',
description: 'Bone paper and terra ink',
background: '#f3ece0',
foreground: '#1a1613',
accent: '#c96442',
},
{
id: 'mist',
name: 'Mist',
description: 'Eucalyptus veils and quiet horizons',
background: '#eef2f1',
foreground: '#3c4845',
accent: '#5f837b',
},
{
id: 'ledger',
name: 'Ledger',
description: 'The registrar’s archive',
background: '#fbfaf7',
foreground: '#21222a',
accent: '#0037d0',
},
{
id: 'orbit',
name: 'Orbit',
description: 'A personal observatory',
background: '#f5f4ef',
foreground: '#222d35',
accent: '#3157ce',
},
{
id: 'knit',
name: 'Knit',
description: 'Colourwork wool, row by row',
background: '#4a3527',
foreground: '#f0e6d3',
accent: '#c9952b',
},
{
id: 'kilim',
name: 'Kilim',
description: 'Flat-woven madder, pass by pass',
background: '#570e13',
foreground: '#efe5cf',
accent: '#dca420',
},
{
id: 'bliss',
name: 'Bliss',
description: 'Blue sky, green hill, glossy windows',
background: '#3f86ec',
foreground: '#1a1a1a',
accent: '#2f9e1e',
},
];
export const isSiteTheme = (value) =>
SITE_THEMES.some(({ id }) => id === value);