generated from Tailus-UI/vite-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 81
/
tailwind.config.js
39 lines (37 loc) · 973 Bytes
/
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
/** @type {import('tailwindcss').Config} */
import themer from "@tailus/themer";
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: ["./*.html", "./*.js"],
darkMode: "media",
safelist: ["isToggled"],
theme: {
fontFamily: {
sans: ['Geist', 'Inter', ...defaultTheme.fontFamily.sans],
mono : ['GeistMono', 'fira-code', ...defaultTheme.fontFamily.mono],
},
keyframes: {
loop: {
to: {
"offset-distance": "100%",
},
},
},
},
plugins: [
themer({
palette: {
extend : "nature"
},
radius: "smoothest",
background: "light",
border: "light",
padding:"large",
components: {
button: {
rounded : "2xl"
}
}
})
],
};