diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/Layout.vue b/packages/devui-vue/docs/.vitepress/devui-theme/Layout.vue
index 363dcc842f..0bc37e4f1e 100644
--- a/packages/devui-vue/docs/.vitepress/devui-theme/Layout.vue
+++ b/packages/devui-vue/docs/.vitepress/devui-theme/Layout.vue
@@ -278,7 +278,6 @@ const becomeContributor = () => {
.btn-become-contributor {
margin-top: 1rem;
- width: 80px;
}
.page-contributor {
diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeFooter.vue b/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeFooter.vue
index eb541c4be7..3ae73d85a8 100644
--- a/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeFooter.vue
+++ b/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeFooter.vue
@@ -12,7 +12,9 @@ const { frontmatter } = useData()
-
diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeHero.vue b/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeHero.vue
index d318e606cb..16b010d500 100644
--- a/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeHero.vue
+++ b/packages/devui-vue/docs/.vitepress/devui-theme/components/HomeHero.vue
@@ -45,7 +45,7 @@ const heroText = computed(() => frontmatter.value.heroText || site.value.title)
{{ frontmatter.altActionText }}
@@ -158,16 +158,16 @@ const heroText = computed(() => frontmatter.value.heroText || site.value.title)
}
.action.alt :deep(.item) {
- color: var(--devui-text, #252b3a);
- border-color: #f2f5fc;
- background-color: #f2f5fc;
+ color: $devui-text;
+ border-color: $devui-list-item-hover-bg;
+ background-color: $devui-list-item-hover-bg;
border-style: solid;
}
.action.alt :deep(.item:hover) {
- color: var(--devui-text, #252b3a);
- border-color: #e9edfa;
- background-color: #e9edfa;
+ color: $devui-text;
+ border-color: $devui-list-item-selected-bg;
+ background-color: $devui-list-item-selected-bg;
}
.action :deep(.item:hover) {
diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBar.vue b/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBar.vue
index fe681c06c5..df80fe99d1 100644
--- a/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBar.vue
+++ b/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBar.vue
@@ -14,13 +14,13 @@ import Theme from './icons/Theme.vue'
// 主题切换
const THEME_MAP = {
- 'devui-light-theme': devuiLightTheme,
- 'devui-dark-theme': devuiDarkTheme,
'infinity-theme': infinityTheme,
- 'provence-theme': provenceTheme,
+ 'galaxy-theme': galaxyTheme,
'sweet-theme': sweetTheme,
+ 'provence-theme': provenceTheme,
'deep-theme': deepTheme,
- 'galaxy-theme': galaxyTheme,
+ 'devui-light-theme': devuiLightTheme,
+ 'devui-dark-theme': devuiDarkTheme,
}
const themes = Object.keys(THEME_MAP)
const userCustomTheme = localStorage.getItem('user-custom-theme') || themes[0]
@@ -67,6 +67,7 @@ defineEmits(['toggle'])
class="custom-nav-item ml-m"
style="font-size: 0"
@click="() => useTranslation(defaultLanguage === 'zh-CN' ? 'en-US' : 'zh-CN')"
+ v-if="false"
>
diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/components/Page.vue b/packages/devui-vue/docs/.vitepress/devui-theme/components/Page.vue
index 266dfbb803..147346b40c 100644
--- a/packages/devui-vue/docs/.vitepress/devui-theme/components/Page.vue
+++ b/packages/devui-vue/docs/.vitepress/devui-theme/components/Page.vue
@@ -24,8 +24,10 @@ const contributors = computed(() => {
-
Contributors
-
+