diff --git a/docs/components.d.ts b/docs/components.d.ts
index b9da3017..a956338a 100644
--- a/docs/components.d.ts
+++ b/docs/components.d.ts
@@ -11,6 +11,7 @@ declare module '@vue/runtime-core' {
export interface GlobalComponents {
BrowserWindow: typeof import('./src/components/BrowserWindow.vue')['default']
CodeBlock: typeof import('./src/components/CodeBlock.vue')['default']
+ copy: typeof import('./src/components/TheFooter copy.vue')['default']
Features: typeof import('./src/components/Features.vue')['default']
Hero: typeof import('./src/components/Hero.vue')['default']
Installation: typeof import('./src/components/Installation.vue')['default']
@@ -19,5 +20,6 @@ declare module '@vue/runtime-core' {
RouterView: typeof import('vue-router')['RouterView']
SubSection: typeof import('./src/components/SubSection.vue')['default']
TheFooter: typeof import('./src/components/TheFooter.vue')['default']
+ TheHeader: typeof import('./src/components/TheHeader.vue')['default']
}
}
diff --git a/docs/src/components/TheHeader.vue b/docs/src/components/TheHeader.vue
new file mode 100644
index 00000000..12c40da7
--- /dev/null
+++ b/docs/src/components/TheHeader.vue
@@ -0,0 +1,33 @@
+
+
+
+
+
diff --git a/docs/src/layouts/default.vue b/docs/src/layouts/default.vue
index 10e78ac3..7b4fd431 100644
--- a/docs/src/layouts/default.vue
+++ b/docs/src/layouts/default.vue
@@ -6,29 +6,10 @@ useHead({
-
+
+
+ Guide
+
+
diff --git a/docs/src/layouts/docs.vue b/docs/src/layouts/docs.vue
index 2a512548..b716cbaa 100644
--- a/docs/src/layouts/docs.vue
+++ b/docs/src/layouts/docs.vue
@@ -1,8 +1,6 @@
-
+
diff --git a/docs/src/styles/main.css b/docs/src/styles/main.css
index 4688b88b..1f38121e 100755
--- a/docs/src/styles/main.css
+++ b/docs/src/styles/main.css
@@ -7,10 +7,10 @@ html:not(.dark) .shiki-dark {
}
-a:not(header a):not(nav a) {
- @apply decoration-underline hover:text-teal-600;
+a:not(header *):not(nav *) {
+ @apply underline hover:text-teal-600;
}
-header a {
- @apply hover:text-teal-600;
+header > nav > a {
+ @apply hover:text-teal-600 transition duration-200 ease-in-out ;
}
diff --git a/docs/unocss.config.ts b/docs/unocss.config.ts
index 81270a08..d12079be 100644
--- a/docs/unocss.config.ts
+++ b/docs/unocss.config.ts
@@ -14,7 +14,8 @@ export default defineConfig({
shortcuts: [
['btn', 'px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
['icon-btn', 'text-[0.9em] inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-teal-600 !outline-none'],
- ['main-bg', 'bg-light dark:bg-dark'],
+ ['main-bg', 'bg-main-light dark:bg-main-dark'],
+ [/^circle-(\w+)$/, ([, c]) => `rounded-full bg-${c}500 w-3 h-3`],
],
transformers: [
transformerDirectives(),
@@ -42,8 +43,8 @@ export default defineConfig({
theme: {
colors: {
brand: 'hsl(44, 100%, 77%)',
- light: '#eff0eb',
- dark: '#1e1e20',
+ mainLight: '#eff0eb',
+ mainDark: '#1e1e20',
},
},
})