From cf69b51afc508834e96911ea8f8c3654d9d93f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 9 Nov 2024 17:55:40 +0100 Subject: [PATCH] Updated configuration and theme --- Documentation/.vitepress/config.js | 42 +++++++++++------------ Documentation/.vitepress/theme/custom.css | 36 +++++++++++-------- 2 files changed, 42 insertions(+), 36 deletions(-) diff --git a/Documentation/.vitepress/config.js b/Documentation/.vitepress/config.js index 2f57e59..ed5097f 100644 --- a/Documentation/.vitepress/config.js +++ b/Documentation/.vitepress/config.js @@ -1,41 +1,41 @@ export default { - title: "Synethia", - logo: "/logo.png", - base: "/synethia/", + title: 'Synethia', + logo: '/logo.png', + base: '/synethia/', description: - "A basic C# algorithm that can determine the behavior of a user with an application.", + 'A basic C# algorithm that can determine the behavior of a user with an application.', lastUpdated: true, - outDir: "../dist", - head: [["link", { rel: "icon", href: "/synethia/logo.png" }]], + outDir: '../dist', + head: [['link', { rel: 'icon', href: '/synethia/logo.png' }]], themeConfig: { nav: [ - { text: "Guide", link: "/get-started" }, - { text: "Reference", link: "/reference" }, + { text: 'Guide', link: '/get-started' }, + { text: 'Reference', link: '/reference' }, ], - repo: "Leo-Corporation/Synethia", - docsDir: "documentation", - docsBranch: "main", + repo: 'Leo-Corporation/Synethia', + docsDir: 'documentation', + docsBranch: 'main', editLink: { pattern: - "https://github.com/Leo-Corporation/Synethia/edit/main/Documentation/:path", - text: "Edit this page on GitHub", + 'https://github.com/Leo-Corporation/Synethia/edit/main/Documentation/:path', + text: 'Edit this page on GitHub', }, footer: { - message: "Released under the MIT License.", - copyright: "Copyright © 2023 Devyus", + message: 'Released under the MIT License.', + copyright: `Copyright © ${new Date().getFullYear()} Devyus`, }, socialLinks: [ { - icon: "github", - link: "https://github.com/Leo-Corporation/Synethia", + icon: 'github', + link: 'https://github.com/Leo-Corporation/Synethia', }, { - icon: "twitter", - link: "https://twitter.com/LeoCorpNews", + icon: 'twitter', + link: 'https://twitter.com/LeoCorpNews', }, { - icon: "youtube", - link: "https://www.youtube.com/channel/UC283Dtf6EJ8eKfRoo0ISmqg", + icon: 'youtube', + link: 'https://www.youtube.com/channel/UC283Dtf6EJ8eKfRoo0ISmqg', }, ], outline: [1, 3], diff --git a/Documentation/.vitepress/theme/custom.css b/Documentation/.vitepress/theme/custom.css index babe36b..244d1d7 100644 --- a/Documentation/.vitepress/theme/custom.css +++ b/Documentation/.vitepress/theme/custom.css @@ -1,21 +1,27 @@ :root { - /* brand colors */ - --vp-c-brand: #00A3FF; - --vp-c-brand-light: #00A3FF; - --vp-c-brand-lighter: #00FADC; - --vp-c-brand-dark: #00A3FF; - --vp-home-hero-name-color: transparent; - --vp-home-hero-name-background: -webkit-linear-gradient(135deg, #00A3FF 0%, #00FADC 100%); + /* brand colors */ + --vp-c-brand: #00a3ff; + --vp-c-brand-light: #00a3ff; + --vp-c-brand-lighter: #00fadc; + --vp-c-brand-dark: #00a3ff; + --vp-home-hero-name-color: transparent; + --vp-home-hero-name-background: -webkit-linear-gradient( + 135deg, + #00a3ff 0%, + #00fadc 100% + ); } html.dark { - /* brand colors */ + /* brand colors */ - /* background colors */ - --vp-c-bg: #0a0a1e; - --vp-c-bg-light: #141428; - --vp-c-bg-lighter: #1e1e32; - --vp-code-bg-color: #1e1e32; - --vp-c-black-mute: #1e1e32; - --vp-c-black: #1e1e32; + /* background colors */ + --vp-c-bg: #0a0a1e; + --vp-sidebar-bg-color: #141428; + --vp-code-block-bg: #141428; + --vp-c-bg-light: #141428; + --vp-c-bg-lighter: #1e1e32; + --vp-code-bg-color: #1e1e32; + --vp-c-black-mute: #1e1e32; + --vp-c-black: #1e1e32; } \ No newline at end of file