Skip to content

Commit

Permalink
feat: improve the appearance of theme (#124)
Browse files Browse the repository at this point in the history
Co-authored-by: Dolyn157 <[email protected]>
  • Loading branch information
2 people authored and Zh40Le1ZOOB committed Sep 27, 2024
1 parent 0d3a896 commit b9e857f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/.vitepress/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export {}
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
AppearanceToggle: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/AppearanceToggle.vue')['default']
AppFooter: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/AppFooter.vue')['default']
AppSBox: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/AppSBox.vue')['default']
ArticlesMenu: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/ArticlesMenu.vue')['default']
CopyrightInfo: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/CopyrightInfo.vue')['default']
HomeContent: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/HomeContent.vue')['default']
PageInfo: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/PageInfo.vue')['default']
ReadingTime: typeof import('./../../node_modules/.pnpm/@[email protected].0_@[email protected]_@babel+parse_gm2fnbu3epb4x32gbmiyr3d5ti/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/ReadingTime.vue')['default']
AppearanceToggle: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/AppearanceToggle.vue')['default']
AppFooter: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/AppFooter.vue')['default']
AppSBox: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/AppSBox.vue')['default']
ArticlesMenu: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/ArticlesMenu.vue')['default']
CopyrightInfo: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/CopyrightInfo.vue')['default']
HomeContent: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/HomeContent.vue')['default']
PageInfo: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/PageInfo.vue')['default']
ReadingTime: typeof import('./../../node_modules/.pnpm/@[email protected].1727360260_@[email protected]_@ba_muwynviweuyavl3bvvmxcmno2y/node_modules/@project-trans/vitepress-theme-project-trans/dist/components/ReadingTime.vue')['default']
}
}
14 changes: 10 additions & 4 deletions src/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
}

.dark:root {
--vp-c-brand-1: #E91E63;
--vp-c-brand-2: #EC407A;
--vp-c-brand-3: #EC407A;
--vp-c-brand-1: #fa7087;
--vp-c-brand-2: #fd88a4;
--vp-c-brand-3: #fd88a4;
--vp-c-brand-soft: rgb(183 28 28 / 16%);
}

Expand All @@ -38,7 +38,7 @@

:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #5BCEFA, #F5A9B8, #FFFFFF, #F5A9B8, #5BCEFA);
--vp-home-hero-name-background: -webkit-linear-gradient(110deg, #5BCEFA, #F5A9B8,#F5A9B8, #F5A9B8, #e6cfe6, #F5A9B8,#F5A9B8, #F5A9B8, #5BCEFA);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #5BCEFA, #F5A9B8, #FFFFFF, #F5A9B8, #5BCEFA);
--vp-home-hero-image-filter: blur(44px);
Expand All @@ -55,3 +55,9 @@
--vp-home-hero-image-filter: blur(68px);
}
}

.dark {
--vp-c-bg: #181715;
--vp-c-bg-soft:#272523;
}

0 comments on commit b9e857f

Please sign in to comment.