-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.ts
49 lines (44 loc) · 1022 Bytes
/
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
'use client';
import { Workbench } from 'next/font/google';
import localFont from 'next/font/local';
import { createTheme } from '@mantine/core';
// Google fonts
export const workbench = Workbench({
subsets: ['latin'],
axes: ['BLED', 'SCAN'],
});
// Local font
export const ppEditorialNew = localFont({
src: [
{
path: 'public/fonts/PPEditorialNew-Variable.ttf',
weight: '100 900',
},
],
});
export const ppNeueMontreal = localFont({
src: [
{
path: 'public/fonts/PPNeueMontreal-Variable.ttf',
weight: '200 800',
},
],
});
export const theme = createTheme({
fontFamily: `${ppNeueMontreal.style.fontFamily}, ${ppEditorialNew.style.fontFamily}, ${workbench.style.fontFamily}, sans-serif`,
colors: {
dark: [
'#f8f9fa', // Lightest
'#e9ecef',
'#dee2e6',
'#ced4da',
'#adb5bd',
'#6c757d', // Neutral
'#495057',
'#101010',
'#100000', // Darker
'#000000', // Darkest
],
},
primaryColor: 'dark',
});