-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
62 lines (55 loc) · 1.88 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
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
import plugin from 'tailwindcss/plugin';
// Plugins
import headlessuiPlugin from '@headlessui/tailwindcss';
const config: Config = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}"
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#ccc',
secondary: '#999999',
tertiary: '#404040',
content: '#262421',
'content-secondary': '#302e2c',
'content-tertiary': '#24221e',
background: '#161512', // colors.neutral['900'] // '#312e2b' // '#262421'
'theme-red': colors.red['600'],
'theme-orange': 'rgb(214 79 0)',
'theme-yellow': '#bf811d',
'theme-green': '#629924',
'theme-blue': colors.blue['500'],
'board-light': '#f0d9b5',
'board-dark': '#b58863',
'last-move': 'rgba(155, 199, 0, 0.41)',
'active-square': 'rgba(20, 85, 30, 0.5)',
'move-option': 'rgba(20, 85, 30, 0.3)'
},
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '1rem',
lg: '2rem',
xl: '4rem',
'2xl': '6rem'
}
}
}
},
plugins: [
headlessuiPlugin,
plugin(({ addVariant }) => {
addVariant('slider-thumb', ['&::-webkit-slider-thumb', '&::-moz-range-thumb']);
addVariant('scrollbar', ['&::-webkit-scrollbar']);
addVariant('scrollbar-thumb', ['&::-webkit-scrollbar-thumb']);
})
]
}
export default config;