Skip to content

Commit 0865bd7

Browse files
committed
🌷 UI(themes): change main color and logo
1 parent 93a19d3 commit 0865bd7

7 files changed

Lines changed: 1088 additions & 14 deletions

File tree

docs/.vitepress/config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import { defineConfig } from 'vitepress'
44
export default defineConfig({
55
title: "Unicom Studio",
66
description: "Studio for Unicom",
7+
head: [
8+
['link', { rel: "shortcut icon", href: "/Unicom.ico"}],
9+
],
710
themeConfig: {
811
// https://vitepress.dev/reference/default-theme-config
912
nav: [

docs/.vitepress/theme/style.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
--vp-c-default-3: var(--vp-c-gray-3);
5050
--vp-c-default-soft: var(--vp-c-gray-soft);
5151

52-
--vp-c-brand-1: var(--vp-c-indigo-1);
53-
--vp-c-brand-2: var(--vp-c-indigo-2);
54-
--vp-c-brand-3: var(--vp-c-indigo-3);
55-
--vp-c-brand-soft: var(--vp-c-indigo-soft);
52+
--vp-c-brand-1: var(--vp-c-red-1);
53+
--vp-c-brand-2: var(--vp-c-red-2);
54+
--vp-c-brand-3: var(--vp-c-red-3);
55+
--vp-c-brand-soft: var(--vp-c-red-soft);
5656

5757
--vp-c-tip-1: var(--vp-c-brand-1);
5858
--vp-c-tip-2: var(--vp-c-brand-2);
@@ -94,14 +94,14 @@
9494
--vp-home-hero-name-color: transparent;
9595
--vp-home-hero-name-background: -webkit-linear-gradient(
9696
120deg,
97-
#bd34fe 30%,
98-
#41d1ff
97+
#ed5a65 30%,
98+
#c04851
9999
);
100100

101101
--vp-home-hero-image-background-image: linear-gradient(
102102
-45deg,
103-
#bd34fe 50%,
104-
#47caff 50%
103+
#ed5a65 50%,
104+
#f07c82 50%
105105
);
106106
--vp-home-hero-image-filter: blur(44px);
107107
}

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ hero:
1414
text: 服务介绍
1515
link: /services
1616
image:
17-
src: /logo.png
17+
src: /Unicom.svg
1818
alt: "Unicom Studio"
1919

2020
features:

docs/public/Unicom.ico

4.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)