-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
62 lines (61 loc) · 1.65 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
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
module.exports = {
darkMode: "class",
content: [
"./_drafts/**/*.{html,md}",
"./_posts/**/*.{html,md}",
"./_includes/**/*.{html,md}",
"./_layouts/**/*.{html,md}",
"./*.{html,md}",
],
theme: {
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
'dark-pink-100': '#E93763',
'dark-pink-200': '#990531',
'light-pink-100': '#E87690',
'dark-blue-200': '#0A0324',
'dark-blue-100': '#0C0A81',
'black': '#111111',
'gray': '#676767',
'light-gray-100': '#fafafa',
'light-gray-200': '#f0f0f0',
'light-gray-300': '#ddd',
'light-gray-400': '#ccc'
},
fontFamily: {
sans: ["Rubik", ...defaultTheme.fontFamily.sans],
russo: ["Russo One", "sans-serif"],
lobster: ['Lobster', 'cursive']
},
fontSize: {
'2.5': '0.625rem', // 10px
'3.75': '0.9375rem', // 15px
'5.5': '1.375rem', // 22px
'6.5': '1.625rem', // 26px
'7.5': '1.875rem', // 30px
'8.5': '2.125rem', //34px
'9': '2.25rem', // 36px
'9.5': '2.375rem', // 38px
'20': '5rem', // 80px
},
},
},
plugins: [
require('@tailwindcss/typography'),
plugin(function({ addUtilities }) {
const newUtilities = {
'.vertical-rl': {
writingMode: 'vertical-rl'
},
'.horizontal-tb': {
writingMode: 'horizontal-tb'
}
}
addUtilities(newUtilities)
})
],
}