-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
32 lines (30 loc) · 933 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
const { fontFamily } = require("tailwindcss/defaultTheme")
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
},
},
transitionTimingFunction: {
/**
* See: https://carbondesignsystem.com/guidelines/motion/overview/
*/
"productive-standard": "cubic-bezier(0.2, 0, 0.38, 0.9)",
"productive-entrance": "cubic-bezier(0, 0, 0.38, 0.9)",
"productive-exit": "cubic-bezier(0.2, 0, 1, 0.9)",
"expressive-standard": "cubic-bezier(0.4, 0.14, 0.3, 1)",
"expressive-entrance": "cubic-bezier(0, 0, 0.3, 1)",
"expressive-exit": "cubic-bezier(0.4, 0.14, 1, 1)",
},
},
plugins: [
require("windy-radix-palette"),
require("tailwindcss-radix")({
variantPrefix: "rdx",
}),
],
}