-
Notifications
You must be signed in to change notification settings - Fork 25
/
tailwind.config.js
53 lines (52 loc) · 1.76 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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
colors: {
'lp-primary': '#23BD8F',
'lp-secondary': '#1BDBAD',
'lp-white': '#FFFFFF',
'lp-silver': '#FCFCFC',
'lp-black': '#000000',
'lp-gray-1': '#CBCBCB',
'lp-gray-2': '#666666',
'lp-gray-3': '#444446',
'lp-gray-4': '#3D3D3D',
'lp-gray-5': '#333336',
'lp-gray-6': '#303030',
'lp-gray-7': '#30313D',
'lp-gray-8': '#161818',
'lp-green-1': '#DCF5F0',
'lp-green-2': '#BFF1E7',
'lp-green-3': '#55E2C3',
'lp-green-4': '#525A5A',
'llama-teal-1': '#f5faf9',
'llama-teal-2': '#E4EDEB',
'llama-gray-100': '#FAFDFC',
'llama-gray-300': '#D1D5DB',
'llama-gray-500': '#9CA3AF',
'llama-gray-600': '#4B5563',
'llama-gray-700': '#374151',
'llama-gray-900': '#111827',
'llama-green-500': '#23C092',
},
},
},
plugins: [
require('@tailwindcss/forms'),
plugin(({ addVariant }) => {
addVariant('enter', '&[data-enter]');
addVariant('leave', '&[data-leave]');
addVariant('active-item', '&[data-active-item]');
addVariant('active', ['&:active', '&[data-active]']);
addVariant('focus-visible', ['&:focus-visible', '&[data-focus-visible]']);
addVariant('aria-invalid', '&[aria-invalid="true"]');
addVariant('aria-disabled', '&[aria-disabled="true"]');
addVariant('aria-selected', '&[aria-selected="true"]');
addVariant('aria-expanded', '&[aria-expanded="true"]');
addVariant('aria-checked', '&[aria-checked="true"]');
}),
],
};