From 87b2ccb3cf950bca5c621a573a7476744a851c5a Mon Sep 17 00:00:00 2001 From: icechen Date: Mon, 14 Mar 2022 03:58:34 +0800 Subject: [PATCH] update --- postcss.config.js | 6 ++++++ tailwind.config.js | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 postcss.config.js create mode 100644 tailwind.config.js diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..7bb69e1 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,24 @@ +module.exports = { + content: ["./src/**/*.{js,jsx,ts,tsx}"], + theme: { + extend: { + keyframes: { + "fade-in-down": { + "0%": { + transform: "scale(0, 1)", + }, + "90%": { + transform: "scale(1.05, 1)", + }, + "100%": { + transform: "scale(1, 1)", + }, + }, + }, + animation: { + "fade-in-down": "fade-in-down 0.3s ease-out", + }, + }, + }, + plugins: [require("@tailwindcss/forms"), require("daisyui")], +};