-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
38 lines (37 loc) · 1.1 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
37
38
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: colors.indigo,
accent: colors.red,
gray: colors.slate,
black: colors.black,
white: colors.white,
error: colors.red,
},
fontFamily: {
display: ['RalewayVariable', ...defaultTheme.fontFamily.sans],
subheading: ['"Work SansVariable"', ...defaultTheme.fontFamily.sans],
body: ['Khula', ...defaultTheme.fontFamily.sans],
mono: ['"JetBrains MonoVariable"', ...defaultTheme.fontFamily.mono],
},
extend: {
backgroundImage: {
'radial-at-bl': 'radial-gradient(at 0% 100%, var(--tw-gradient-stops))',
},
transitionTimingFunction: {
'out-cubic': 'cubic-bezier(0.33, 1, 0.68, 1)',
},
spacing: {
grow: 'max(1rem, calc(16vw - 4rem))',
},
},
},
plugins: [require('@tailwindcss/typography')],
}