From 0709d64595f736f96c0a11668da971a97fc30345 Mon Sep 17 00:00:00 2001 From: "@andatoshiki" Date: Wed, 13 Sep 2023 18:38:50 -0700 Subject: [PATCH] style(backgroud): add custom stylesheets and transperaent svg as tempalte to customize the overall background appearances to grid styled specifically in dark mode but currently commented due to transparent block background incomptability --- docs/.vitepress/theme/styles/custom.scss | 7 +++++++ docs/public/grid.svg | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 docs/public/grid.svg diff --git a/docs/.vitepress/theme/styles/custom.scss b/docs/.vitepress/theme/styles/custom.scss index f1fa0f07..79a23749 100644 --- a/docs/.vitepress/theme/styles/custom.scss +++ b/docs/.vitepress/theme/styles/custom.scss @@ -378,3 +378,10 @@ html.dark { } // link preview markdown-it plugin dark mode style ends + +// vitepress dark mode grid styled notebook background texture style starts +// .dark .VPContent { +// background-color: rgb(30, 30, 32); +// background-image: url("/grid.svg"); +// } +// vitepress dark mode grid styled notebook background texture style ends \ No newline at end of file diff --git a/docs/public/grid.svg b/docs/public/grid.svg new file mode 100644 index 00000000..d467ad6d --- /dev/null +++ b/docs/public/grid.svg @@ -0,0 +1,5 @@ + + + + +