generated from mbozhik/astro_template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.mjs
43 lines (42 loc) · 1.07 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
fontFamily: {
grotesque: ['Mazzard', 'ui-sans-serif', 'system-ui', '-apple-system', 'Roboto', 'sans-serif'],
},
colors: {
custom: {
pink: '#FB6BB3',
peach: '#FD6E66',
},
gray: {
100: '#f0f0f0',
200: '#e4e4e4',
300: '#d1d1d1',
400: '#b4b4b4',
500: '#919191',
600: '#818181',
700: '#6a6a6a',
800: '#5a5a5a',
900: '#4e4e4e',
},
},
},
screens: {
xl: {max: '1536px'},
lg: {max: '1280px'},
sm: {max: '768px'},
xs: {max: '350px'},
},
},
plugins: [
// adds a `s-*` utility to apply the same width and height
plugin(function sizePlugin(api) {
api.matchUtilities({s: (value) => ({width: value, height: value})}, {values: api.theme('width')})
}),
],
}