Skip to content

Commit 6d21ad2

Browse files
committed
main 🧊 add logo
1 parent bb8d051 commit 6d21ad2

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

‎packages/docs/app/.vitepress/config.mts

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ export default async () => {
7474
label: 'English',
7575
lang: 'en',
7676
themeConfig: {
77+
logo: {
78+
src: '/logo.svg',
79+
alt: 'reactuse'
80+
},
7781
editLink: {
7882
pattern: ({ filePath, params }) => {
7983
if (filePath.includes('hooks') && params?.name) {

‎packages/docs/app/.vitepress/theme/global.css

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@
44
:root {
55
--vp-home-hero-name-color: transparent;
66
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #61dafb, #205dae);
7-
7+
--vp-home-hero-image-background-image: linear-gradient(130deg, #006EFF, #00C8FF);
8+
--vp-home-hero-image-filter: blur(40px) opacity(0.35);
9+
810
--vp-c-bg: #ffffff;
911

10-
--vp-c-brand-1: #52b6d2;
12+
--vp-c-brand-1: #087EA4;
1113
--vp-c-brand-2: #4ca8c6;
12-
--vp-c-brand-3: #5fc6e9;
14+
--vp-c-brand-3: #52BDE9;
1315
}
1416

1517
.dark {
18+
--vp-c-brand-1: #58C4DC;
1619
--vp-c-bg: #181818;
1720
--vp-c-bg-soft: #1f1f1f;
1821
--vp-c-bg-alt: #1d1c1c;

‎packages/docs/app/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ hero:
66
name: reactuse
77
text: the largest and most useful hook library
88
tagline: Improve your react applications with our library 📦 designed for comfort and speed
9+
image:
10+
src: /logo.svg
11+
alt: reactuse
912
actions:
1013
- theme: brand
1114
text: Get Started

‎packages/docs/app/public/logo.svg

+15
Loading

0 commit comments

Comments
 (0)