-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
61 lines (59 loc) · 1.58 KB
/
tailwind.config.js
File metadata and controls
61 lines (59 loc) · 1.58 KB
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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const defaultTheme = require('tailwindcss/defaultTheme')
// eslint-disable-next-line @typescript-eslint/no-var-requires
const colors = require('tailwindcss/colors')
// COLOR THEMES
// ----- Brown
// gray: colors.stone,
// dlight: '#fcf8f7',
// dprimary: '#993a58',
// dsecondary: '#e08560',
// dtertiary: '#d4ad9f',
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
sans: ['var(--global-summora-font)', ...defaultTheme.fontFamily.sans],
serif: [
'var(--global-summora-font-serif)',
...defaultTheme.fontFamily.serif,
],
},
colors: {
gray: colors.slate,
dprimary: '#993a58',
dsecondary: '#4151a3',
dtertiary: '#a0afda',
dlight: '#eff2f8',
},
animation: {
'fade-in': 'fade-in 300ms ease',
},
keyframes: {
'fade-in': {
from: { opacity: 0 },
to: { opacity: 1 },
},
},
},
fontWeight: {
normal: 400,
semibold: 600,
extrabold: 800,
},
},
plugins: [require('@tailwindcss/forms')],
future: {
/**
* Fixes "sticky hover" for touch devices. We e.g. had this problem in the "category selection"
* at the search page where the buttons then just kept their "selected" style.
* See: https://github.com/tailwindlabs/tailwindcss/pull/8394
*/
hoverOnlyWhenSupported: true,
},
}