Skip to content

Commit

Permalink
feat: change default color theme
Browse files Browse the repository at this point in the history
  • Loading branch information
namqdam authored and nguyenquangkhai2210 committed May 24, 2024
1 parent f727741 commit b5145d0
Show file tree
Hide file tree
Showing 14 changed files with 3,480 additions and 3,378 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
};
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file is for unifying the coding style for different editors and IDEs
# See editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
34 changes: 22 additions & 12 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config";

// https://astro.build/config
export default defineConfig({
Expand All @@ -10,28 +9,39 @@ export default defineConfig({
integrations: [
starlight({
title: "My Docs",
customCss: ["./src/tailwind.css"],
social: {
twitter: "https://x.com/polymeer_xyz",
},
sidebar: [
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{
label: "Example Guide",
link: "/guides/example/",
},
],
label: "Introduction",
autogenerate: {
directory: "introduction",
},
},
{
label: "Reference",
label: "Background",
autogenerate: {
directory: "reference",
},
},
{
label: "Knowledge Base",
autogenerate: {
directory: "knowledge-base",
},
},
{
label: "About Us",
autogenerate: {
directory: "about-us",
},
},
],
}),
tailwind(),
tailwind({
applyBaseStyles: false,
}),
],
});
1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

Loading

0 comments on commit b5145d0

Please sign in to comment.