diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index 71c9844..036a096 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -23,7 +23,7 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "en",
- locales: ["en"],
+ locales: ["en"]
},
presets: [
@@ -32,21 +32,13 @@ const config = {
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
- sidebarPath: require.resolve("./sidebars.js"),
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
+ sidebarPath: require.resolve("./sidebars.js")
},
blog: {
- showReadingTime: true,
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- editUrl: "https://github.com/antstackio/hover-design/issues/new",
- },
- theme: {
- customCss: require.resolve("./src/css/custom.css"),
- },
- }),
- ],
+ showReadingTime: true
+ }
+ })
+ ]
],
themeConfig:
@@ -56,28 +48,28 @@ const config = {
title: "Hover Design",
logo: {
alt: "My Site Logo",
- src: "img/logo.svg",
+ src: "img/logo.svg"
},
items: [
{
type: "doc",
docId: "intro",
position: "left",
- label: "Documentation",
+ label: "Documentation"
},
{
type: "doc",
docId: "wiki/home",
position: "left",
sidebarId: "wiki",
- label: "Wiki",
+ label: "Wiki"
},
{
href: "https://github.com/antstackio/hover-design",
label: "GitHub",
- position: "right",
- },
- ],
+ position: "right"
+ }
+ ]
},
footer: {
style: "dark",
@@ -87,13 +79,13 @@ const config = {
items: [
{
label: "Tutorial",
- to: "/docs/intro",
+ to: "/docs/intro"
},
{
label: "Wiki",
- to: "/docs/wiki/home",
- },
- ],
+ to: "/docs/wiki/home"
+ }
+ ]
},
{
@@ -101,19 +93,19 @@ const config = {
items: [
{
label: "GitHub",
- href: "https://github.com/antstackio/hover-design",
- },
- ],
- },
- ],
+ href: "https://github.com/antstackio/hover-design"
+ }
+ ]
+ }
+ ]
// copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
- darkTheme: darkCodeTheme,
- },
+ darkTheme: darkCodeTheme
+ }
}),
- plugins: ["docusaurus-plugin-vanilla-extract"],
+ plugins: ["docusaurus-plugin-vanilla-extract"]
};
module.exports = config;
diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css
deleted file mode 100644
index 8d7ec0e..0000000
--- a/docs/src/css/custom.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Any CSS included here will be global. The classic template
- * bundles Infima by default. Infima is a CSS framework designed to
- * work well for content-centric websites.
- */
-
-/* You can override the default Infima variables here. */
-:root {
- --ifm-color-primary: #dc4d60;
- --ifm-color-primary-dark: #29784c;
- --ifm-color-primary-darker: #277148;
- --ifm-color-primary-darkest: #205d3b;
- --ifm-color-primary-light: #33925d;
- --ifm-color-primary-lighter: #359962;
- --ifm-color-primary-lightest: #3cad6e;
- --ifm-code-font-size: 95%;
- --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
-}
-
-/* For readability concerns, you should choose a lighter palette in dark mode. */
-[data-theme="dark"] {
- --ifm-color-primary: #dc4d60;
- --ifm-color-primary-dark: #21af90;
- --ifm-color-primary-darker: #1fa588;
- --ifm-color-primary-darkest: #1a8870;
- --ifm-color-primary-light: #29d5b0;
- --ifm-color-primary-lighter: #32d8b4;
- --ifm-color-primary-lightest: #4fddbf;
- --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
-}
diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx
index f25ca5d..dce1069 100644
--- a/docs/src/pages/index.tsx
+++ b/docs/src/pages/index.tsx
@@ -1,53 +1,9 @@
import React from "react";
-import clsx from "clsx";
-import Layout from "@theme/Layout";
-import Link from "@docusaurus/Link";
-import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
-import styles from "./index.module.css";
-import HomepageFeatures from "@site/src/components/HomepageFeatures";
-function HomepageHeader() {
- const { siteConfig } = useDocusaurusContext();
- return (
-