Skip to content

Commit

Permalink
feat: use new theme color
Browse files Browse the repository at this point in the history
  • Loading branch information
ozline committed Jun 4, 2024
1 parent d97a52c commit 40730bb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 51 deletions.
53 changes: 9 additions & 44 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const config: Config = {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'My Site',
title: 'west2-online',
logo: {
alt: 'My Site Logo',
src: 'img/logo.svg',
Expand All @@ -73,56 +73,21 @@ const config: Config = {
},
{to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/facebook/docusaurus',
href: 'https://github.com/west2-online',
label: 'GitHub',
position: 'right',
},
{
href: 'https://fzuhelper.w2fzu.com/',
label: 'fzuhelper',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Tutorial',
to: '/docs/intro',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
to: '/blog',
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
links: [],
copyright: `Copyright © ${new Date().getFullYear()} west2-online, Inc. Built with Docusaurus. <a href="https://beian.miit.gov.cn/#/Integrated/index">闽ICP备19020557号-3</a>`,
},
prism: {
theme: prismThemes.github,
Expand Down
14 changes: 7 additions & 7 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--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-color-primary: #0d96ff;
--ifm-color-primary-dark: #47afff;
--ifm-color-primary-darker: #5ab7ff;
--ifm-color-primary-darkest: #80c8ff;
--ifm-color-primary-light: #a6d9ff;
--ifm-color-primary-lighter: #b9e1ff;
--ifm-color-primary-lightest: #f3faff;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
Expand Down

0 comments on commit 40730bb

Please sign in to comment.