-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
45 lines (44 loc) · 973 Bytes
/
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
import { type Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
export default {
content: ['./src/**/*.tsx'],
theme: {
colors: {
inherit: 'inherit',
current: 'currentColor',
white: '#FFF',
yellow: '#F1C22D',
pink: '#FF7757',
orange: '#FB8A4C',
brown: '#764502',
red: '#EE3333',
darkBrown: '#291105',
darkGray: '#0F0D0C',
darkerGray: '#181412',
darkPurple: '#271F30',
purple: '#403561',
gray: '#5E5B55',
lightGray: '#9E9783',
blueGray: '#929391',
warmGreen: '#C5CB63',
green: '#8DD958',
darkGreen: '#358D3E'
},
extend: {
fontFamily: {
fontin: ['var(--fontin-font)'],
din: ['var(--din-font)']
}
}
},
plugins: [
plugin(({ addVariant, addComponents, theme }) => {
addVariant('hocus', ['&:hover', '&:focus']);
addVariant('hocus-within', ['&:hover', '&:focus-within']);
addComponents({
'.tw-surface': {},
'.tw-color': {}
});
})
]
} satisfies Config;