docs: remove mourn

This commit is contained in:
chenjiahan 2020-04-05 16:10:16 +08:00
parent c912befa62
commit 0081edcc1e
3 changed files with 0 additions and 14 deletions

View File

@ -1,4 +1,3 @@
import './mourn';
import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './App';

View File

@ -1,12 +0,0 @@
const now = new Date();
if (now.getFullYear() === 2020 && now.getMonth() === 3 && now.getDate() === 4) {
const filter = `
html{
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
}
`;
document.head.insertAdjacentHTML('beforeend', `<style>${filter}</style>`);
}

View File

@ -1,4 +1,3 @@
import './mourn';
import Vue from 'vue';
import Preview from './Preview.vue';