-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
37 lines (33 loc) · 1.1 KB
/
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
/** @type {import('tailwindcss').Config} */
import type { Config } from 'tailwindcss';
const path = require('path');
const decanter = require('decanter');
// Path to custom Tailwind plugins for Directory
const dir = path.resolve(__dirname, 'tailwind/plugins');
export default {
presets: [
decanter,
],
content: [
'./app/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
'./utilities/**/*.{js,jsx,ts,tsx}',
],
theme: {
containers: require(`${dir}/theme/gc-containers.js`)(),
// Momentum themes extending our Decanter ones
extend: {
colors: require(`${dir}/theme/gc-colors.js`)(),
fontFamily: require(`${dir}/theme/gc-fontFamily.js`)(),
lineHeight: require(`${dir}/theme/gc-lineHeight.js`)(),
keyframes: require(`${dir}/theme/gc-keyframes.js`)(),
screens: require(`${dir}/theme/gc-screens.js`)(),
},
},
plugins: [
require('@tailwindcss/container-queries'),
require(`${dir}/base/gc-base.js`)(),
require(`${dir}/components/gc-typography.js`)(),
require(`${dir}/components/gc-text-shadow.js`)(),
],
} satisfies Config;