generated from theodorusclarence/ts-nextjs-tailwind-starter
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.js
124 lines (123 loc) · 3.2 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* eslint-disable @typescript-eslint/no-var-requires */
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import("@types/tailwindcss/tailwind-config").TailwindConfig } */
module.exports = {
content: [
// Example content paths...
'./public/**/*.html',
'./src/**/*.{js,jsx,ts,tsx,vue}',
],
darkMode: false, // or 'media' or 'class'
theme: {
fontSize: {
xs: '.75rem',
sm: '.875rem',
tiny: '.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '3.5rem',
'7xl': '5rem',
},
extend: {
backgroundImage: {
'gradient-hero': 'linear-gradient(to bottom, #62D9FF, #3BF686)',
'gradient-project': 'linear-gradient(0deg, #323443, #323443), #EFF6FF',
'gradient-hr': 'linear-gradient(180deg, #3BF686 0%, #4CA9FF 100%)',
},
fontFamily: {
sora: ['Sora', ...fontFamily.sans],
inter: ['Inter', ...fontFamily.sans],
},
colors: {
primary: {
400: '#00E0F3',
500: '#00c4fd',
},
gray: {
100: '#D6D6D6',
200: '#BDBDBD',
300: '#C9C9C9',
400: '#757575',
500: '#7d7d7d',
600: '#424242',
700: '#212121',
800: '#000000',
900: '#000000',
},
ocean: {
50: '#f6fbff',
100: '#edf6ff',
200: '#d2eaff',
300: '#b7ddff',
400: '#82c3ff',
500: '#4CA9FF',
600: '#4498e6',
700: '#397fbf',
800: '#2e6599',
900: '#25537d',
},
sky: {
50: '#f7fdff',
100: '#effbff',
200: '#d8f6ff',
300: '#c0f0ff',
400: '#91e4ff',
500: '#62d9ff',
600: '#58c3e6',
700: '#4aa3bf',
800: '#3b8299',
900: '#306a7d',
},
leaf: {
50: '#f5fff9',
100: '#ebfef3',
200: '#cefde1',
300: '#b1fbcf',
400: '#76f9aa',
500: '#3BF686',
600: '#35dd79',
700: '#2cb965',
800: '#239450',
900: '#1d7942',
},
dark: {
DEFAULT: '#272727',
100: '#3A3636',
200: '#323443',
300: '#3F4152',
},
light: {
DEFAULT: '#EFF6FF',
},
},
keyframes: {
flicker: {
'0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%': {
opacity: 0.99,
filter:
'drop-shadow(0 0 1px rgba(252, 211, 77)) drop-shadow(0 0 15px rgba(245, 158, 11)) drop-shadow(0 0 1px rgba(252, 211, 77))',
},
'20%, 21.999%, 63%, 63.999%, 65%, 69.999%': {
opacity: 0.4,
filter: 'none',
},
},
},
animation: {
flicker: 'flicker 3s linear infinite',
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
};