From 487b4e206aec000a27b78bde0d4ec9432f2d88fd Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Wed, 8 Jan 2020 14:32:53 +0100 Subject: [PATCH] refactor: import prism theme in .style file directly --- global-components/BaseListLayout.vue | 2 -- layouts/Layout.vue | 2 -- layouts/Post.vue | 2 -- styles/code.styl | 2 ++ 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/global-components/BaseListLayout.vue b/global-components/BaseListLayout.vue index f6ff2fe..55d083d 100644 --- a/global-components/BaseListLayout.vue +++ b/global-components/BaseListLayout.vue @@ -145,5 +145,3 @@ export default { width 14px height 14px - - diff --git a/layouts/Layout.vue b/layouts/Layout.vue index 383bf3d..6335cf1 100644 --- a/layouts/Layout.vue +++ b/layouts/Layout.vue @@ -4,5 +4,3 @@ - - diff --git a/layouts/Post.vue b/layouts/Post.vue index 8428bf7..4e45db3 100644 --- a/layouts/Post.vue +++ b/layouts/Post.vue @@ -37,5 +37,3 @@ export default { @media (min-width: $MQNarrow) box-shadow 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.07) - - diff --git a/styles/code.styl b/styles/code.styl index abdb167..d53356b 100644 --- a/styles/code.styl +++ b/styles/code.styl @@ -133,3 +133,5 @@ div[class~="language-bash"]:before div[class~="language-php"]:before content "php" + +@import '~prismjs/themes/prism-okaidia.css'