diff --git a/docs/components/TitleBar.vue b/docs/components/TitleBar.vue
index e35f0d8..721ea41 100644
--- a/docs/components/TitleBar.vue
+++ b/docs/components/TitleBar.vue
@@ -7,14 +7,22 @@ const route = useRoute()
+ :class="[route.path !== '/' ? 'border-b-neutral-100 dark:border-b-neutral-800' : 'border-b-transparent dark:border-b-transparent']"
+ >
- RayineSoft ©
- Common Components
+
+ RayineSoft ©
+
+
+ Common Components
+
- Docs
+ Docs
diff --git a/docs/components/Toc.vue b/docs/components/Toc.vue
index 6b3c3de..89f26f3 100644
--- a/docs/components/Toc.vue
+++ b/docs/components/Toc.vue
@@ -1,19 +1,19 @@
-
-
+
{{ item.text }}
-
-
+
{{ child.text }}
diff --git a/docs/components/content/ComponentPreview.vue b/docs/components/content/ComponentPreview.vue
index e1da870..9fc6523 100644
--- a/docs/components/content/ComponentPreview.vue
+++ b/docs/components/content/ComponentPreview.vue
@@ -1,15 +1,11 @@
@@ -84,21 +81,21 @@ const { data: codeRender, error: codeRenderError } = await useAsyncData(`${compo
-
+
{{ filename }}
-
+
-
{{ codeRenderError }}
+
{{ codeRenderError }}
diff --git a/docs/components/icon/TablerTerminal.vue b/docs/components/icon/TablerTerminal.vue
index 45d449d..9b61646 100644
--- a/docs/components/icon/TablerTerminal.vue
+++ b/docs/components/icon/TablerTerminal.vue
@@ -1,10 +1,16 @@
-
-
+
\ No newline at end of file
+
diff --git a/docs/components/icon/VscodeIconsFileTypeJsOfficial.vue b/docs/components/icon/VscodeIconsFileTypeJsOfficial.vue
index a5c7dbf..5b1b331 100644
--- a/docs/components/icon/VscodeIconsFileTypeJsOfficial.vue
+++ b/docs/components/icon/VscodeIconsFileTypeJsOfficial.vue
@@ -1,10 +1,9 @@
-
-
+
\ No newline at end of file
+
diff --git a/docs/components/icon/VscodeIconsFileTypeTypescriptOfficial.vue b/docs/components/icon/VscodeIconsFileTypeTypescriptOfficial.vue
index fd5d2c8..3e8a4cd 100644
--- a/docs/components/icon/VscodeIconsFileTypeTypescriptOfficial.vue
+++ b/docs/components/icon/VscodeIconsFileTypeTypescriptOfficial.vue
@@ -1,10 +1,16 @@
-
-
+
\ No newline at end of file
+
diff --git a/docs/components/icon/VscodeIconsFileTypeVue.vue b/docs/components/icon/VscodeIconsFileTypeVue.vue
index 992b15c..17db77b 100644
--- a/docs/components/icon/VscodeIconsFileTypeVue.vue
+++ b/docs/components/icon/VscodeIconsFileTypeVue.vue
@@ -1,10 +1,9 @@
-
-
+
\ No newline at end of file
+
diff --git a/docs/layouts/default.vue b/docs/layouts/default.vue
index a83bef0..d8d70a6 100644
--- a/docs/layouts/default.vue
+++ b/docs/layouts/default.vue
@@ -1,6 +1,6 @@
@@ -8,7 +8,7 @@ useSeoMeta({
-
+
@@ -23,7 +23,6 @@ body {
background-color: rgba(0, 0, 0, 0) !important;
} */
-
/*
@media (prefers-color-scheme: dark) {
diff --git a/docs/nuxt.config.ts b/docs/nuxt.config.ts
index a4f9d1b..f12c30a 100644
--- a/docs/nuxt.config.ts
+++ b/docs/nuxt.config.ts
@@ -1,49 +1,49 @@
-import module from "../src/module";
-import defaultTheme from "tailwindcss/defaultTheme";
+import defaultTheme from 'tailwindcss/defaultTheme'
+import module from '../src/module'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
- compatibilityDate: "2024-04-03",
- modules: ["@nuxt/content", "@nuxt/fonts", "@nuxtjs/color-mode", module],
+
+ modules: ['@nuxt/content', '@nuxt/fonts', '@nuxtjs/color-mode', module],
devtools: { enabled: true },
+ colorMode: {
+ preference: 'system',
+ classSuffix: '',
+ },
+ content: {
+ highlight: {
+ langs: ['postcss', 'mdc', 'html', 'vue', 'ts', 'js', 'bash'],
+ },
+ },
+ mdc: {
+ highlight: {
+ theme: {
+ light: 'material-theme-lighter',
+ dark: 'material-theme',
+ },
+ themes: ['material-theme-lighter', 'material-theme'],
+ },
+ },
+ routeRules: {
+ '/components': { redirect: '/components/button' },
+ }, compatibilityDate: '2024-04-03',
+ typescript: {
+ includeWorkspace: true,
+ },
rayui: {
// @ts-ignore
globalComponents: true,
- safeColors: ["amber", "emerald", "red", "sky", "violet", "cyan"],
- },
- routeRules: {
- "/components": { redirect: "/components/button" },
+ safeColors: ['amber', 'emerald', 'red', 'sky', 'violet', 'cyan'],
},
tailwindcss: {
config: {
theme: {
extend: {
fontFamily: {
- sans: ["Rubik", '"Noto Sans SC"', ...defaultTheme.fontFamily.sans],
+ sans: ['Rubik', '"Noto Sans SC"', ...defaultTheme.fontFamily.sans],
},
},
},
},
},
- colorMode: {
- preference: "system",
- classSuffix: "",
- },
- content: {
- highlight: {
- langs: ["postcss", "mdc", "html", "vue", "ts", "js", "bash"],
- },
- },
- mdc: {
- highlight: {
- theme: {
- light: "material-theme-lighter",
- dark: "material-theme",
- },
- themes: ["material-theme-lighter", "material-theme"],
- },
- },
- typescript: {
- includeWorkspace: true,
- },
-});
+})
diff --git a/docs/pages/[...slug].vue b/docs/pages/[...slug].vue
index 899f9bc..21944a2 100644
--- a/docs/pages/[...slug].vue
+++ b/docs/pages/[...slug].vue
@@ -1,5 +1,5 @@