forked from AppFlowy-IO/AppFlowy-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
67 lines (64 loc) · 2.16 KB
/
tailwind.config.ts
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
import { Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
const config: Config = {
important: '#body',
darkMode: ['class'],
content: ['./components/**/*.{js,ts,jsx,tsx,mdx}', './app/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
colors: {
primary: {
DEFAULT: 'var(--color-primary)',
20: 'var(--color-primary-20)',
10: 'var(--color-primary-10)',
},
'night-blue': '#000212',
midnight: '#12101E',
'dark-card': 'rgba(38, 32, 59, 0.80)',
'purple-dream': '#A952FF',
'royal-purple': '#8427E0',
'magic-orchid': '#7D26DE',
'deep-indigo': '#7033B2',
'midnight-plum': '#571a99',
'deep-violet': '#593388',
'fresh-purple': '#A074D0',
'sky-blue': '#D6F9FF',
'fresh-azure': '#00B5FF',
'ice-blue': '#00BCF0',
'lake-blue': '#007297',
'pastel-pink': '#FDDCFA',
'rose-red': '#7F1B4F',
'fresh-red': '#FB006D',
'light-pink': '#FFE6EE',
'rust-brown': '#7E4523',
'pale-yellow': '#FFEFE3',
'olive-green': '#605D0B',
'mint-green': '#DDFFD6',
'forest-green': '#10672E',
'light-gray': '#F2F2F2',
'light-gray-40': 'rgba(229, 229, 229, 0.40)',
'gray-10': 'rgba(247, 248, 248, 0.10)',
'gray-15': 'rgba(247, 248, 248, 0.15)',
'gray-03': 'rgba(247, 248, 248, 0.03)',
'gray-40': 'rgba(242, 241, 241, 0.40)',
'light-blue-gray': '#EEF1FF',
'lavender-purple': '#8A5EB7',
'dark-gray': 'rgba(247, 248, 248, 0.2)',
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'translate-z': (value) => ({
'--tw-translate-z': value,
transform: ` translate3d(var(--tw-translate-x), var(--tw-translate-y), var(--tw-translate-z)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))`,
}), // this is actual CSS
},
{ values: theme('translate'), supportsNegativeValues: true }
);
}),
],
};
export default config;