-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
91 lines (88 loc) · 2.72 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
/* eslint-disable global-require */
module.exports = {
mode: 'jit',
purge: {
content: [
'./src/pages/**/**.{js,ts,jsx,tsx}',
'./src/styles/**/**.{js,ts,jsx,tsx}',
'./src/components/**/**.{js,ts,jsx,tsx}',
],
safelist: [],
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
spartan: ['Spartan', 'sans-serif'],
norse: ['Norse', 'sans'],
},
colors: {
'runik-primary-dark': '#003153',
'runik-primary-med': '#D3F4FF',
'runik-primary-light': '#8DDCE3',
'runik-neutral-light': '#f6f6f6',
'runik-neutral-med': '#77797B',
'runik-neutral-dark': '#323232',
'runik-neutral-gray': '#c4c4c4',
'runik-background-blue': '#EDF0F5',
'runik-library-light': '#FFFFFF',
'runik-library-dark': '#EFF2F6',
},
spacing: {
'library-icon-top': '18px',
'library-icon-right': '250px',
'library-children': '120px',
},
width: {
'library-icon-width': '66px',
'library-children-width': '280px',
'details-image-width': '257px',
'content-width': '900px',
},
height: {
'library-icon-height': '66px',
'search-bar-height': '60px',
'details-image-height': '427px',
},
outline: {
dark: '2px solid #323232',
},
zIndex: {
'-50': '-50',
'-40': '-40',
'-30': '-30',
'-20': '-20',
'-10': '-10',
0: 0,
10: 10,
20: 20,
30: 30,
40: 40,
50: 50,
25: 25,
75: 75,
100: 100,
auto: 'auto',
},
screens: {
phone: '360px',
// => @media (min-width: 360px) { ... }
tablet: '640px',
// => @media (min-width: 640px) { ... }
laptop: '1024px',
// => @media (min-width: 1024px) { ... }
desktop: '1280px',
// => @media (min-width: 1280px) { ... }
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/typography'),
],
};