-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathtailwind.config.js
93 lines (90 loc) · 2.47 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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.{js,jsx}',
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.5rem' }],
base: ['1rem', { lineHeight: '2rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '2rem' }],
'2xl': ['1.5rem', { lineHeight: '2.5rem' }],
'3xl': ['2rem', { lineHeight: '2.5rem' }],
'4xl': ['2.5rem', { lineHeight: '3rem' }],
'5xl': ['3rem', { lineHeight: '3.5rem' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
extend: {
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
maxWidth: {
'8xl': '88rem',
},
gridTemplateColumns: {
'only-content': 'auto',
'sidebar-content': '20rem auto',
'sidebar-content-toc': '20rem auto 20rem',
'content-toc': 'auto 20rem',
},
colors: {
'storj-blue': {
50: '#e8f7ff',
100: '#d5f0ff',
200: '#b3e1ff',
300: '#85cbff',
400: '#56a6ff',
500: '#2f80ff',
600: '#0c53ff',
700: '#0149ff', // base
800: '#0641cd',
900: '#103e9f',
950: '#0a225c',
},
'storj-blue-dark': '#0218A7',
'storj-black': '#090920',
'smoke-grey': '#F5F6F8',
'storj-green': {
50: '#edfff6',
100: '#d5ffeb',
200: '#aeffd8',
300: '#70ffbc',
400: '#2bfd98',
500: '#00d36e', // base
600: '#00c05f',
700: '#00964e',
800: '#067541',
900: '#076038',
950: '#00371d',
},
'storj-yellow': {
50: '#ffffea',
100: '#fffdc5',
200: '#fffc85',
300: '#fff346',
400: '#ffe61b',
500: '#fac300', // base
600: '#e29a00',
700: '#bb6e02',
800: '#985508',
900: '#7c450b',
950: '#482400',
},
'storj-pink': '#FF458B',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@headlessui/tailwindcss'),
],
}