-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
102 lines (88 loc) · 3.57 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// module.exports = {
// theme: {
// extend: {},
// colors: {
// background: {
// primary: 'var(--bg-background-primary)',
// secondary: 'var(--bg-background-secondary)',
// tertiary: 'var(--bg-background-tertiary)',
// ruthieslight: 'rgba(255,122,0,0.1)',
// ruthiesdark: 'rgb(255,122,0)',
// form: 'var(--bg-background-form)',
// },
// copy: {
// primary: 'var(--text-copy-primary)',
// secondary: 'var(--text-copy-secondary)',
// },
// },
// pagination: {
// link: 'bg-background-primary px-3 py-1 border-r border-t border-b text-copy-primary no-underline',
// linkActive: 'bg-background-secondary font-bold',
// linkSecond: 'rounded-l border-l',
// linkBeforeLast: 'rounded-r',
// linkFirst: {
// '@apply mr-3 pl-5 border': {},
// 'border-top-left-radius': '999px',
// },
// linkLast: {
// '@apply ml-3 pr-5 border': {},
// 'border-top-right-radius': '999px',
// },
// },
// },
// variants: {},
// plugins: [
// require('tailwindcss-plugins/pagination'),
// ]
// }
module.exports = {
theme: {
extend: {
colors: {
background: {
primary: 'var(--bg-background-primary)',
secondary: 'var(--bg-background-secondary)',
tertiary: 'var(--bg-background-tertiary)',
ruthieslight: 'rgba(255,122,0,0.1)',
ruthiesdark: 'rgb(255,122,0)',
form: 'var(--bg-background-form)',
},
copy: {
primary: 'var(--text-copy-primary)',
secondary: 'var(--text-copy-secondary)',
},
},
},
fontFamily: {
'sans': ['-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"'],
'serif': ['Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
'mono': ['SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', '"Courier New"', 'monospace'],
'alegreya': ['alegreyaregular', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
'alegreya-sc': ['alegreya_scregular', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
'alegreya-sans': ['alegreya_sansregular', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
'alegreya-sans-sc': ['alegreya_sans_scregular', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
'fira-code': ['fira_coderegular', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', '"Liberation Mono"', '"Courier New"', 'monospace'],
'hack': ['hackregular', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', '"Liberation Mono"', '"Courier New"', 'monospace'],
'montserrat': ['montserratregular', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
'quicksand': ['quicksandregular', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
},
pagination: {
link: 'bg-background-primary px-3 py-1 border-r border-t border-b text-copy-primary no-underline',
linkActive: 'bg-background-secondary font-bold',
linkSecond: 'rounded-l border-l',
linkBeforeLast: 'rounded-r',
linkFirst: {
'@apply mr-3 pl-5 border': {},
'border-top-left-radius': '999px',
},
linkLast: {
'@apply ml-3 pr-5 border': {},
'border-top-right-radius': '999px',
},
},
},
variants: {},
plugins: [
require('tailwindcss-plugins/pagination'),
]
}