Skip to content

Commit 0a93d32

Browse files
branding
1 parent 81455ec commit 0a93d32

File tree

8 files changed

+25
-17
lines changed

8 files changed

+25
-17
lines changed

.vitepress/config/shared.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ export const shared = defineConfig({
77
title: 'AiScript',
88
srcDir: 'docs',
99

10+
themeConfig: {
11+
logo: '/icons/aiscript_gd.svg',
12+
},
13+
14+
head: [
15+
['link', { rel: 'icon', href: '/favicon.ico' }],
16+
['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' }],
17+
],
18+
1019
markdown: {
1120
math: true,
1221
codeTransformers: [

.vitepress/theme/style.css

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
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: #e017a9;
53+
--vp-c-brand-2: #e017a9;
54+
--vp-c-brand-3: #ff1ebd;
55+
--vp-c-brand-soft: rgba(181, 18, 133, 0.14);
5656

57-
--vp-c-tip-1: var(--vp-c-brand-1);
58-
--vp-c-tip-2: var(--vp-c-brand-2);
59-
--vp-c-tip-3: var(--vp-c-brand-3);
60-
--vp-c-tip-soft: var(--vp-c-brand-soft);
57+
--vp-c-tip-1: var(--vp-c-indigo-1);
58+
--vp-c-tip-2: var(--vp-c-indigo-2);
59+
--vp-c-tip-3: var(--vp-c-indigo-3);
60+
--vp-c-tip-soft: var(--vp-c-indigo-soft);
6161

6262
--vp-c-warning-1: var(--vp-c-yellow-1);
6363
--vp-c-warning-2: var(--vp-c-yellow-2);
@@ -94,15 +94,10 @@
9494
--vp-home-hero-name-color: transparent;
9595
--vp-home-hero-name-background: -webkit-linear-gradient(
9696
120deg,
97-
#bd34fe 30%,
98-
#41d1ff
97+
#ff1ebd 30%,
98+
#ff958a
9999
);
100100

101-
--vp-home-hero-image-background-image: linear-gradient(
102-
-45deg,
103-
#bd34fe 50%,
104-
#47caff 50%
105-
);
106101
--vp-home-hero-image-filter: blur(44px);
107102
}
108103

docs/en/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ layout: home
44

55
hero:
66
name: AiScript
7-
text: "Script language\nthat runs in the browser"
8-
tagline: Safely run user-created scripts
7+
text: "Script language, \nbut it runs in the browser"
8+
tagline: Perfect for user-created plugins and mini-games
99
image:
10+
src: /icons/aiscript_gd.svg
1011
alt: AiScript
1112
actions:
1213
- theme: brand

docs/ja/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ hero:
77
text: "ブラウザで動く\nユーザースクリプト用言語"
88
tagline: ユーザーが作成するプラグインやミニゲームを安全に作動
99
image:
10+
src: /icons/aiscript_gd.svg
1011
alt: AiScript
1112
actions:
1213
- theme: brand

docs/public/favicon.ico

14.7 KB
Binary file not shown.

docs/public/icons/aiscript_gd.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/public/icons/aiscript_sq.svg

Lines changed: 1 addition & 0 deletions
Loading
6.57 KB
Loading

0 commit comments

Comments
 (0)