experiment: disco border (#6531)
* Had a play, looking good (now needs isLoading state or however we want to do that) * Also add tailwind config.. * Don't show conic bg on lightmode * Slow down animation, show on light mode * Apply disco border both on light/dark mode & only on success page * 5s->8s animation speed, remove border crisping up the corners
This commit is contained in:
1 parent
6c3ae984fc
commit
b5f274d663
2 files changed
+383
-357
No files matched your search
@@ -2,5 +2,23 @@ const base = require("@calcom/config/tailwind-preset");
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
...base,
|
||||
theme: {
|
||||
...base.theme,
|
||||
extend: {
|
||||
...base.theme.extend,
|
||||
backgroundImage: {
|
||||
"gradient-conic": "conic-gradient(var(--tw-gradient-stops))",
|
||||
},
|
||||
keyframes: {
|
||||
disco: {
|
||||
"0%": { transform: "translateY(-50%) rotate(0deg)" },
|
||||
"100%": { transform: "translateY(-50%) rotate(360deg)" },
|
||||
},
|
||||
},
|
||||
animation: {
|
||||
disco: "disco 8s linear infinite",
|
||||
},
|
||||
},
|
||||
},
|
||||
content: [...base.content],
|
||||
};
|
||||
Reference in new issue
Block a user