-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
38 lines (37 loc) · 1.08 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
import { default as themeConstants } from './theme/themeConstants';
import { screens as _screens } from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
heading: themeConstants.font.heading,
body: themeConstants.font.body,
default: themeConstants.font.body,
},
colors: {
gg: themeConstants.background.default,
paper: themeConstants.background.paper,
primary: themeConstants.primary,
secondary: themeConstants.secondary,
error: themeConstants.error,
fg: themeConstants.fg.main,
action: '#EE4444',
danger: '#EE4444',
grey: themeConstants.primary.grey,
darkgrey: themeConstants.primary.darkgrey,
},
screens: {
..._screens,
...themeConstants.breakpoints,
ha: { raw: '(hover: hover)' },
},
},
},
plugins: [],
};