-
Notifications
You must be signed in to change notification settings - Fork 31
/
tailwind.config.ts
69 lines (68 loc) · 2 KB
/
tailwind.config.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
import type {Config} from 'tailwindcss';
import colors from 'tailwindcss/colors';
// @ts-ignore
import plugin from 'tw-neumorphism';
const config: Config = {
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
screens: {
xs: '375px', // mobile medium
sm: '425px', // mobile large
md: '768px',
lg: '1024px',
ms: '320px', // mobile small
mm: '375px', // mobile medium
ml: '425px', // mobile large
desktop: '600px'
},
extend: {
fontFamily: {
mono: [
'"VT323"',
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace'
],
logo: ['"Black Ops One"', 'cursive'],
digits: ['var(--font-segment)']
},
gridTemplateColumns: {
desktop: '7rem 20rem 7rem',
mobile: '5rem minmax(10rem, 20rem) 5rem'
}
},
colors: {
// default Tailwind colors
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.stone,
red: colors.red,
yellow: colors.amber,
green: colors.emerald,
blue: colors.blue,
indigo: colors.indigo,
purple: colors.violet,
pink: colors.pink,
// Tetromino colors
tetro_i: colors.cyan,
tetro_o: colors.yellow,
tetro_t: colors.purple,
tetro_s: colors.green,
tetro_z: colors.red,
tetro_j: colors.blue,
tetro_l: colors.orange
}
},
plugins: [plugin]
};
export default config;