-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
80 lines (79 loc) · 1.69 KB
/
tailwind.config.js
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
const { fontFamily } = require(`tailwindcss/defaultTheme`);
const terminal = require(`./tailwind-plugins/terminal`);
/**
* Tailwind configuration
*
* @type {import("tailwindcss/tailwind-config").TailwindConfig}
*/
module.exports = {
content: [`pages/**/*.{js,ts,jsx,tsx}`, `components/**/*.{js,ts,jsx,tsx}`],
theme: {
colors: {
transparent: `transparent`,
black: `#000000`,
white: `#ffffff`,
gray: {
default: `#555555`,
light: `#aaaaaa`,
},
red: {
default: `#aa0000`,
light: `#ff5555`,
},
green: {
default: `#00aa00`,
light: `#55ff55`,
},
blue: {
default: `#0000aa`,
light: `#5555ff`,
},
cyan: {
default: `#00aaaa`,
light: `#55ffff`,
},
magenta: {
default: `#aa00aa`,
light: `#ff55ff`,
},
yellow: {
default: `#aa5500`,
light: `#ffff55`,
},
},
extend: {
fontFamily: {
mono: [`"DejaVu Sans Mono"`, ...fontFamily.mono],
},
lineHeight: {
terminal: `1.1875rem`,
},
spacing: {
ch: `1ch`,
"1/7": `14.2857%`,
"2/7": `28.5714%`,
"3/7": `42.8571%`,
"4/7": `57.1429%`,
"5/7": `71.4286%`,
"6/7": `85.7143%`,
},
width: {
"full-3": `calc(100% - 0.75rem)`,
"max-content": `max-content`,
},
minHeight: {
10: `2.5rem`,
20: `5rem`,
55: `13.75rem`,
},
},
},
variants: {
textColor: [`responsive`, `hover`, `focus`, `disabled`],
cursor: [`disabled`],
},
plugins: [terminal],
corePlugins: {
animation: false,
},
};