Skip to content

Commit

Permalink
🌷 UI(themes): change main color and logo
Browse files Browse the repository at this point in the history
  • Loading branch information
easterNday committed Aug 4, 2024
1 parent 93a19d3 commit 0865bd7
Show file tree
Hide file tree
Showing 7 changed files with 1,088 additions and 14 deletions.
3 changes: 3 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: "Unicom Studio",
description: "Studio for Unicom",
head: [
['link', { rel: "shortcut icon", href: "/Unicom.ico"}],
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
Expand Down
16 changes: 8 additions & 8 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
--vp-c-default-3: var(--vp-c-gray-3);
--vp-c-default-soft: var(--vp-c-gray-soft);

--vp-c-brand-1: var(--vp-c-indigo-1);
--vp-c-brand-2: var(--vp-c-indigo-2);
--vp-c-brand-3: var(--vp-c-indigo-3);
--vp-c-brand-soft: var(--vp-c-indigo-soft);
--vp-c-brand-1: var(--vp-c-red-1);
--vp-c-brand-2: var(--vp-c-red-2);
--vp-c-brand-3: var(--vp-c-red-3);
--vp-c-brand-soft: var(--vp-c-red-soft);

--vp-c-tip-1: var(--vp-c-brand-1);
--vp-c-tip-2: var(--vp-c-brand-2);
Expand Down Expand Up @@ -94,14 +94,14 @@
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#bd34fe 30%,
#41d1ff
#ed5a65 30%,
#c04851
);

--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#bd34fe 50%,
#47caff 50%
#ed5a65 50%,
#f07c82 50%
);
--vp-home-hero-image-filter: blur(44px);
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ hero:
text: 服务介绍
link: /services
image:
src: /logo.png
src: /Unicom.svg
alt: "Unicom Studio"

features:
Expand Down
Binary file added docs/public/Unicom.ico
Binary file not shown.
Loading

0 comments on commit 0865bd7

Please sign in to comment.