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 167ed87d8a..fe681c06c5 100644 --- a/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBar.vue +++ b/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBar.vue @@ -1,20 +1,39 @@ @@ -65,8 +72,7 @@ defineEmits(['toggle'])
- - +
@@ -95,9 +101,6 @@ defineEmits(['toggle']) padding: 0.7rem 1.5rem 0.7rem 4rem; height: var(--header-height); background-color: $devui-base-bg; - &:hover { - cursor: pointer; - } } @media (min-width: 720px) { @@ -125,6 +128,8 @@ defineEmits(['toggle']) } .custom-nav-item:hover { + cursor: pointer; + svg, path { fill: $devui-brand; diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBarTitle.vue b/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBarTitle.vue index 9a29e7752d..f469c4ee19 100644 --- a/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBarTitle.vue +++ b/packages/devui-vue/docs/.vitepress/devui-theme/components/NavBarTitle.vue @@ -32,6 +32,7 @@ function gopage() { .nav-bar-title:hover { text-decoration: none; + cursor: pointer; } .logo { diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/components/icons/Theme.vue b/packages/devui-vue/docs/.vitepress/devui-theme/components/icons/Theme.vue new file mode 100644 index 0000000000..b7455e44b5 --- /dev/null +++ b/packages/devui-vue/docs/.vitepress/devui-theme/components/icons/Theme.vue @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/packages/devui-vue/docs/.vitepress/devui-theme/styles/layout.scss b/packages/devui-vue/docs/.vitepress/devui-theme/styles/layout.scss index e76abaf8ec..addaa060bc 100644 --- a/packages/devui-vue/docs/.vitepress/devui-theme/styles/layout.scss +++ b/packages/devui-vue/docs/.vitepress/devui-theme/styles/layout.scss @@ -269,3 +269,22 @@ $max-width: 1440px; } } +[ui-theme=infinity-theme], [ui-theme=galaxy-theme] { + .nav-bar { + background-color: $devui-base-bg !important; + } +} + +[ui-theme=sweet-theme], [ui-theme=provence-theme], [ui-theme=deep-theme] { + .nav-bar { + background-color: $devui-brand !important; + + a { + color: #fff !important; + } + + svg, path, polygon { + fill: #fff !important; + } + } +}