Skip to content

Commit c40eb3a

Browse files
committed
Tweak theming
1 parent 029c448 commit c40eb3a

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.vitepress/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { h } from 'vue'
33
import type { Theme } from 'vitepress'
44
import DefaultTheme from 'vitepress/theme'
5-
import '@catppuccin/vitepress/theme/mocha/red.css'
5+
import '@catppuccin/vitepress/theme/mocha/sapphire.css'
66
import './style.css'
77

88
export default {

.vitepress/theme/style.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
:root {
22
--vp-nav-logo-height: 36px;
3+
--vp-c-brand-alt-1: #d20f39;
4+
--vp-c-brand-alt-2: rgb(187, 13, 51);
5+
--vp-c-brand-alt-3: #d20f39;
6+
/* --vp-c-brand-alt-1: #209fb5; */
7+
/* --vp-c-brand-alt-2: rgb(28, 140, 160); */
8+
/* --vp-c-brand-alt-3: #209fb5; */
9+
10+
--vp-home-hero-name-color: var(--vp-c-brand-alt-1);
11+
}
12+
13+
.dark {
14+
--vp-c-brand-alt-1: #f38ba8;
15+
--vp-c-brand-alt-2: rgb(241, 115, 151);
16+
--vp-c-brand-alt-3: #f38ba8;
17+
/* --vp-c-brand-alt-1: #74c7ec; */
18+
/* --vp-c-brand-alt-2: rgb(93, 189, 233); */
19+
/* --vp-c-brand-alt-3: #74c7ec; */
20+
}
21+
22+
.pager,
23+
.header-anchor,
24+
.vp-doc :not(pre, h1, h2, h3, h4, h5, h6) > code,
25+
.VPSidebar
26+
{
27+
--vp-c-brand-1: var(--vp-c-brand-alt-1);
28+
--vp-c-brand-2: var(--vp-c-brand-alt-2);
29+
--vp-c-brand-3: var(--vp-c-brand-alt-3);
330
}
431

532
.odoc-breadcrumbs {

0 commit comments

Comments
 (0)