-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.cjs
36 lines (35 loc) · 1.06 KB
/
tailwind.config.cjs
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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./**/*.liquid', './src/**/*.{tsx,ts,jsx,js}'],
theme: {
columns: defaultTheme.columns,
spacing: defaultTheme.spacing,
borderRadius: defaultTheme.borderRadius,
fontSize: defaultTheme.fontSize,
lineHeight: defaultTheme.lineHeight,
maxWidth: defaultTheme.maxWidth,
extend: {
fontFamily: {
body: 'var(--font-body-family)',
heading: 'var(--font-heading-family)',
},
colors: {
text: 'rgba(var(--color-base-text), <alpha-value>)',
accent1: 'rgba(var(--color-base-accent-1), <alpha-value>)',
accent2: 'rgba(var(--color-base-accent-2), <alpha-value>)',
background1: 'rgba(var(--color-base-background-1), <alpha-value>)',
background2: 'rgba(var(--color-base-background-2), <alpha-value>)',
},
screens: {
md: '750px',
lg: '990px',
xl: '1400px',
},
},
},
corePlugins: {
preflight: false,
},
plugins: [],
}