mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
hotfix(frontend): Fix overriding tailwind animation classes (#7243)
This commit is contained in:
@@ -20,45 +20,6 @@ export default {
|
||||
"content-2": "#F9FBFE",
|
||||
},
|
||||
},
|
||||
animation: {
|
||||
enter: "toastIn 400ms cubic-bezier(0.21, 1.02, 0.73, 1)",
|
||||
leave: "toastOut 100ms ease-in forwards",
|
||||
},
|
||||
keyframes: {
|
||||
toastIn: {
|
||||
"0%": {
|
||||
opacity: "0",
|
||||
transform: "translateY(-100%) scale(0.8)",
|
||||
},
|
||||
"80%": {
|
||||
opacity: "1",
|
||||
transform: "translateY(0) scale(1.02)",
|
||||
},
|
||||
"100%": {
|
||||
opacity: "1",
|
||||
transform: "translateY(0) scale(1)",
|
||||
},
|
||||
},
|
||||
toastOut: {
|
||||
"0%": {
|
||||
opacity: "1",
|
||||
transform: "translateY(0) scale(1)",
|
||||
},
|
||||
"100%": {
|
||||
opacity: "0",
|
||||
transform: "translateY(-100%) scale(0.9)",
|
||||
},
|
||||
},
|
||||
colors: {
|
||||
primary: "#C9B974", // nice yellow
|
||||
base: "#171717", // dark background (neutral-900)
|
||||
"base-secondary": "#262626", // lighter background (neutral-800); also used for tooltips
|
||||
danger: "#E76A5E",
|
||||
success: "#A5E75E",
|
||||
tertiary: "#454545", // gray, used for inputs
|
||||
"tertiary-light": "#B7BDC2", // lighter gray, used for borders and placeholder text
|
||||
},
|
||||
},
|
||||
},
|
||||
darkMode: "class",
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user