Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

refactor: import prism theme in .style file directly #39

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions global-components/BaseListLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,3 @@ export default {
width 14px
height 14px
</style>

<style src="prismjs/themes/prism-okaidia.css"></style>
2 changes: 0 additions & 2 deletions layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
<Content v-else />
</div>
</template>

<style src="prismjs/themes/prism-okaidia.css"></style>
2 changes: 0 additions & 2 deletions layouts/Post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
</style>

<style src="prismjs/themes/prism-okaidia.css"></style>
2 changes: 2 additions & 0 deletions styles/code.styl
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,5 @@ div[class~="language-bash"]:before

div[class~="language-php"]:before
content "php"

@import '~prismjs/themes/prism-okaidia.css'