Skip to content

Commit

Permalink
feat: remove import default prose.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
WRXinYue committed Aug 17, 2024
1 parent 18648f8 commit df49b26
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 69 deletions.
2 changes: 1 addition & 1 deletion packages/valaxy-addon-hitokoto
2 changes: 1 addition & 1 deletion packages/valaxy-addon-vercount
126 changes: 63 additions & 63 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions theme/components/SakuraNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ onUnmounted(() => {
</script>

<template>
<header
<nav
class="sakura-navbar" :class="{ 'active-header': isHeaderHighlighted, 'col': col }"
@mouseover="hoverNavbar = true" @mouseleave="hoverNavbar = false"
>
Expand Down Expand Up @@ -80,5 +80,5 @@ onUnmounted(() => {
<div v-if="themeConfig.sidebarOptions?.position === 'right'" i-ri-menu-4-fill mr-2 @click="sakuraAppStore.sidebar.toggle" />
</div>
</slot>
</header>
</nav>
</template>
2 changes: 1 addition & 1 deletion theme/components/themes/ArticleListThemeGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const parts = computed(() => {
<div v-for="items, idx of parts" :key="idx" flex="~ col gap-4">
<ArticleThemeGrid
v-for="({ excerpt, date, cover, path, title }, index) of items" :id="`sakura-article-${index * parts.length + idx}`" :key="date" :link="path" :date="date" :src="cover"
:title="title" :excerpt="excerpt" class="slide-enter sakura-article" :style="{ '--enter-stage': idx + 1 }"
:title="title" :excerpt="excerpt" class="sakura-article slide-enter" :style="{ '--enter-stage': idx + 1 }"
/>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion theme/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
@use './markdown/code.scss' as *;
@use './markdown/code-group.scss' as *;
@use './markdown/custom-block.scss' as *;
@use './markdown/prose.scss' as *;

// --------------- Widgets ---------------
@use './widgets/sidebar.scss' as *;
Expand Down

0 comments on commit df49b26

Please sign in to comment.