Skip to content

Commit

Permalink
feat: anime
Browse files Browse the repository at this point in the history
  • Loading branch information
ResetPower committed Jul 9, 2021
1 parent 841ec13 commit 3932ab4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"animate.css": "^4.1.1",
"got": "^11.8.2",
"material-design-icons": "^3.0.1",
"node-stream-zip": "^1.13.6",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function Dialog(props: {
}): JSX.Element {
return (
<div
className={`p-6 w-full shadow-xl rounded-lg bg-card eph-dialog ${
className={`p-6 w-full shadow-xl rounded-lg bg-card animate__animated animate__zoomIn eph-dialog ${
props.indentBottom ? "pb-4" : ""
}`}
>
Expand Down
1 change: 1 addition & 0 deletions src/renderer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "../styles/index.css";
import "material-design-icons/iconfont/material-icons.css";
import "animate.css/animate.css";
import { render } from "react-dom";
import App from "./App";

Expand Down
4 changes: 4 additions & 0 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ body {
background: var(--eph-background-color);
}

:root {
--animate-duration: 0.3s;
}

/* hide scrollbar */
::-webkit-scrollbar {
width: 0 !important;
Expand Down

0 comments on commit 3932ab4

Please sign in to comment.