diff --git a/theme/components/GLConfig.vue b/theme/components/GLConfig.vue new file mode 100644 index 0000000..eeeec73 --- /dev/null +++ b/theme/components/GLConfig.vue @@ -0,0 +1,10 @@ + + + diff --git a/theme/components/GLIntro.vue b/theme/components/GLIntro.vue index a420f69..48d2095 100644 --- a/theme/components/GLIntro.vue +++ b/theme/components/GLIntro.vue @@ -7,9 +7,9 @@ const config = useConfig() diff --git a/theme/components/GLNav.vue b/theme/components/GLNav.vue index 0234f16..ae035d1 100644 --- a/theme/components/GLNav.vue +++ b/theme/components/GLNav.vue @@ -31,4 +31,21 @@ const themeConfig = useThemeConfig() background-color: black; } } + +.dark { + .gl-nav-item { + color: white; + border-color: #666; + background-color: #222; + + &:hover { + background-color: #333; + } + + &.active { + color: black; + background-color: white; + } + } +} diff --git a/theme/layouts/home.vue b/theme/layouts/home.vue index 45d7ecd..c6def3b 100644 --- a/theme/layouts/home.vue +++ b/theme/layouts/home.vue @@ -1,5 +1,5 @@