workflow: update deploy workflow [deploy]

This commit is contained in:
Vben
2021-02-24 00:21:29 +08:00
parent 7e564c2984
commit 8ccf778fb7
6 changed files with 343 additions and 250 deletions

View File

@@ -44,14 +44,15 @@ function createEnterPlugin(maxOutput = 10) {
};
};
const handler = ({ addBase }) => {
const addRawCss = {};
for (let index = 1; index < maxOutput; index++) {
addBase({
Object.assign(addRawCss, {
...createCss(index, 'x'),
...createCss(index, 'y'),
});
}
addBase({
...addRawCss,
[`@keyframes enter-x-animation`]: {
to: {
opacity: '1',