-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
65 lines (63 loc) · 1.41 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
'use strict';
/*
* This config partially overwrites and extends the default Tailwind config:
* https://github.com/tailwindlabs/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
// eslint-disable-next-line unicorn/prefer-module
module.exports = {
content: ['./components/*.tsx', './pages/*.tsx'],
corePlugins: {
float: false,
clear: false,
skew: false,
caretColor: false,
sepia: false,
},
darkMode: 'media',
theme: {
borderRadius: {
none: '0px',
xs: '0.125rem',
sm: '0.25rem',
DEFAULT: '0.375rem',
md: '0.5rem',
lg: '0.75rem',
xl: '1rem',
'2xl': '1.5rem',
full: '9999px',
},
extend: {
colors: {
// Specify 7 orange colors:
brand: {
100: 'hsl(27deg 100% 82%)',
200: 'hsl(27deg 100% 63%)',
300: 'hsl(27deg 100% 55%)',
400: 'hsl(27deg 100% 41%)',
500: 'hsl(27deg 100% 22%)',
},
// Some in-between shades:
gray: {
350: 'hsl(218deg 12% 79%)',
},
yellow: {
250: 'hsl(53deg 98% 72%)',
},
indigo: {
350: 'hsl(232deg 92% 79%)',
},
neutral: {
350: 'hsl(0deg 0% 73%)',
},
},
brightness: {
70: '.7',
80: '.8',
},
transitionDuration: {
0: '0ms',
},
},
},
plugins: [require('@tailwindcss/forms')],
};