-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
41 lines (39 loc) · 1.02 KB
/
tailwind.config.js
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
// @ts-check
/* eslint-disable @typescript-eslint/no-var-requires */
const { fontFamily } = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
module.exports = /** @satisfies {import('tailwindcss').Config} */ ({
mode: "jit",
content: [
"./src/**/*.{js,ts,jsx,tsx}", //
],
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: "#000",
white: "#fff",
},
fontFamily: {
inter: ["var(--font-inter)", ...fontFamily.sans],
},
screens: {
xs: "360px",
md: "768px",
lg: "1024px",
xl: "1200px",
"2xl": "1440px",
},
extend: {},
},
plugins: [
require("@tailwindcss/typography"),
plugin(({ addBase }) => {
addBase({
"html, body": {
"@apply scroll-smooth scroll-pt-12": {},
},
});
}),
],
});