-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
37 lines (34 loc) · 959 Bytes
/
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
37
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
const brandColor = colors.green;
/** @type {import('tailwindcss').Config} */
const config = {
darkMode: 'class',
content: ['./src/**/*.{js,ts,vue}', './src/app.vue'],
theme: {
extend: {
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
colors: {
gray: colors.gray,
brand: brandColor,
threshold1: colors.yellow['400'],
threshold2: colors.orange['500'],
threshold3: colors.red['600'],
},
ringColor: {
default: brandColor['500'],
},
textColor: {
default: colors.slate['700'],
},
fill: {
default: colors.slate['700'],
},
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
};
module.exports = config;