Skip to content

Commit 72b5958

Browse files
committed
#9 Переключатель на светлую\тёмную тему
1 parent 7bfb88d commit 72b5958

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import hljs from 'highlight.js';
99
// https://vitepress.dev/reference/site-config
1010
export default defineConfig({
1111

12-
appearance:'force-dark',
12+
appearance: 'dark',
1313
markdown: {
1414
// https://github.com/markdown-it/markdown-it#syntax-highlighting
1515
highlight(str: string, lang: string, attrs: string) {

.vitepress/theme/style.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@
101101
--vp-button-brand-bg: #CF6E3B;
102102
--vp-button-brand-hover-bg: #AD5933;
103103
--vp-c-brand-1: #CF6E3B;
104-
--vp-c-bg: #141211;
105-
--vp-c-bg-soft:#231A15;
106-
--vp-sidebar-bg-color:#141211;
107104
--vp-home-hero-image-background-image: linear-gradient(
108105
-45deg,
109106
#F59D34 50%,

0 commit comments

Comments
 (0)