-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (62 loc) · 1.45 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{tsx,ts}',
],
theme: {
extend: {
// Custom colors
colors: {
primary: '#000000', // Black
secondary: '#EEEEEE', // White
accent: '#d4af37', // Gold
dark: '#242424', // Brown Dark
'red-light': '#B22222', // Firebrick
'red-dark': '#8B0000', // Dark Red
},
// Custom fonts
fontFamily: {
serif: ['Playfair Display', 'serif'], // For headings
sans: ['Roboto', 'sans-serif'], // For body text
},
transitionProperty: {
'transform': 'transform',
},
},
},
variants: {
extend: {
transform: ['hover', 'focus'],
},
},
plugins: [
function ({ addBase }) {
addBase({
'::-webkit-scrollbar': {
width: '12px',
},
'::-webkit-scrollbar-track': {
background: '#242424',
},
'::-webkit-scrollbar-thumb': {
backgroundColor: '#d4af37',
borderRadius: '6px',
border: '2px solid #242424',
},
'*': {
scrollbarWidth: 'thin',
scrollbarColor: '#d4af37 #242424',
},
'::selection': {
backgroundColor: '#d4af37',
color: '#000000',
},
'::-moz-selection': {
backgroundColor: '#d4af37',
color: '#000000',
},
});
},
],
};