diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb6e22bc8..f1bd3b8a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,11 @@ jobs: - name: Install npm dependencies run: npm ci - - name: Test - run: npm test + - name: Lint + run: npm run lint + + - name: Build + run: npm run build - name: Upload build files uses: actions/upload-artifact@v2 diff --git a/src/css/_main-layout.scss b/src/css/_main-layout.scss index 26e4b654a..be642d66d 100644 --- a/src/css/_main-layout.scss +++ b/src/css/_main-layout.scss @@ -154,19 +154,17 @@ } .output-switcher { - filter: contrast(0) brightness(150%) saturate(100%); opacity: 0; &.transition { - transition: filter 0.5s ease-out 0.5s, opacity 0.5s ease-out 0.5s; + transition: opacity 0.5s ease-out 0.5s; @media (min-width: 640px) and (max-width: 900px) { - transition: filter 0.5s ease-out 0.6s, opacity 0.5s ease-out 0.6s; + transition: opacity 0.5s ease-out 0.6s; } } &.active { opacity: 1; - filter: none; } } diff --git a/src/index.html b/src/index.html index 66adc5ff5..f7766fc7b 100644 --- a/src/index.html +++ b/src/index.html @@ -86,7 +86,7 @@

SVGOMG

diff --git a/src/js/page/ui/bg-fill-button.js b/src/js/page/ui/bg-fill-button.js index 22d922a4c..5460671f5 100644 --- a/src/js/page/ui/bg-fill-button.js +++ b/src/js/page/ui/bg-fill-button.js @@ -8,8 +8,7 @@ export default class BgFillButton extends FloatingActionButton { title, iconSvg: // prettier-ignore - '' + - `${title}` + + '', }); diff --git a/src/js/page/ui/copy-button.js b/src/js/page/ui/copy-button.js index 9a715da60..b0a3bb09e 100644 --- a/src/js/page/ui/copy-button.js +++ b/src/js/page/ui/copy-button.js @@ -8,8 +8,7 @@ export default class CopyButton extends FloatingActionButton { title, iconSvg: // prettier-ignore - '' + - `${title}` + + '', }); diff --git a/src/js/page/ui/download-button.js b/src/js/page/ui/download-button.js index e4e7b8758..0e56377b9 100644 --- a/src/js/page/ui/download-button.js +++ b/src/js/page/ui/download-button.js @@ -10,8 +10,7 @@ export default class DownloadButton extends FloatingActionButton { href: './', iconSvg: // prettier-ignore - '' + - `${title}` + + '', major: true, diff --git a/src/partials/icons/menu.svg b/src/partials/icons/menu.svg index 6f8405a7d..47492924e 100644 --- a/src/partials/icons/menu.svg +++ b/src/partials/icons/menu.svg @@ -1 +1 @@ -Menu +