This is an automated email from the ASF dual-hosted git repository. jiafengzheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 426efda3717 (feat) use theme dracula (#298) 426efda3717 is described below commit 426efda371731a4ef0d97412ec2523c92f2d4556 Author: Jeffrey <color.d...@gmail.com> AuthorDate: Thu Aug 24 16:01:43 2023 +0800 (feat) use theme dracula (#298) --- docusaurus.config.js | 2 +- prepare_local_dev.sh | 3 ++- src/scss/_variables.scss | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 6e010195f28..b615aef60b1 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -2,7 +2,7 @@ const themes = require('prism-react-renderer').themes; const { ssrTemplate } = require('./config/ssrTemplate'); const customDocusaurusPlugin = require('./config/custom-docusaurus-plugin'); const versionsPlugin = require('./config/versions-plugin'); -const lightCodeTheme = themes.github; +const lightCodeTheme = themes.dracula; /** @type {import('@docusaurus/types').Config} */ const config = { diff --git a/prepare_local_dev.sh b/prepare_local_dev.sh index 5120e157dbc..612007b52a9 100644 --- a/prepare_local_dev.sh +++ b/prepare_local_dev.sh @@ -41,4 +41,5 @@ mkdir -p i18n/zh-CN/docusaurus-plugin-content-docs-community/current/ cp -R doris/docs/zh-CN/community/* i18n/zh-CN/docusaurus-plugin-content-docs-community/current/ cp -R doris/docs/sidebarsCommunity.json . -cp -R doris/docs/images static/ \ No newline at end of file +cp -R doris/docs/images static/ +rm -rf doris \ No newline at end of file diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index fe42458dc3c..535a12e0cfe 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -39,7 +39,7 @@ html[lang="en-US"] { --global-colors-text-black: #162033; --global-colors-text-primary: #232D3E; --global-colors-text: #63646D; - --global-colors-background: #F5F7FA; + // --global-colors-background: #F5F7FA; --global-colors-split: #DADDE1; --global-colors-white: #FFFFFF; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org