-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
29 lines (28 loc) · 1012 Bytes
/
tailwind.config.mjs
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
import { withAnimations } from 'animated-tailwindcss';
import defaultTheme from 'tailwindcss/defaultTheme';
export default withAnimations({
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
backgroundImage: {
'gradient-top-left': 'radial-gradient(circle at top left, #FFD6E8, transparent)',
'gradient-top-right': 'radial-gradient(circle at top right, #D6EFFF, transparent)',
'gradient-bottom-left': 'radial-gradient(circle at bottom left, #FFECD6, transparent)',
'gradient-bottom-right': 'radial-gradient(circle at bottom right, #D6FFD9, transparent)',
},
fontFamily: {
sans: ['"Onest"', 'sans-serif'], // Use Onest as the primary font
},
},
},
plugins: [
function ({ addUtilities, theme }) {
const newUtilities = {
'.font-sans': {
fontFamily: theme('fontFamily.sans'),
},
};
addUtilities(newUtilities, ['responsive', 'hover']);
},
],
});