-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
53 lines (51 loc) · 1.31 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
42
43
44
45
46
47
48
49
50
51
52
53
const radixColors = require("@radix-ui/colors");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
// "./docs/**/*.md"
],
darkMode: ["class", '[data-theme="dark"]'],
theme: {
extend: {
boxShadow: {
button:
"inset 0px -1px 1px rgba(0, 0, 0, 0.2), inset 0px 1px 1px rgba(255, 255, 255, 0.2)",
},
animation: {
float: "float 12s infinite linear",
"float-fast": "float 10s infinite linear",
"float-fastest": "float 8s infinite linear",
},
keyframes: {
float: {
"0%": {
transform:
" rotate(-0.001deg) translate3d(15px, 0, 0) rotate(-0.001deg)",
},
"100%": {
transform:
"rotate(360.001deg) translate3d(15px, 0, 0) rotate(-360.001deg)",
},
},
},
},
},
corePlugins: {
preflight: false,
container: false,
},
plugins: [
require("windy-radix-palette")({
colors: {
gray: radixColors.gray,
grayDark: radixColors.grayDark,
grayA: radixColors.grayA,
grayDarkA: radixColors.grayDarkA,
purple: radixColors.purple,
purpleDark: radixColors.purpleDark,
},
}),
// require("@tailwindcss/typography"),
],
};