From 5983984414866839a234e5acf0bf32ae43651e31 Mon Sep 17 00:00:00 2001 From: hieu-jan <150573299+hieu-jan@users.noreply.github.com> Date: Tue, 21 Nov 2023 11:56:26 +0900 Subject: [PATCH] Revert "fix: scroll issue" This reverts commit eedc520155d7ad6f2c2a64cc56f0197aa9669087. --- docs/redocly.yaml | 18 ++++++++++++++++++ docs/src/styles/base.scss | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 docs/redocly.yaml diff --git a/docs/redocly.yaml b/docs/redocly.yaml new file mode 100644 index 000000000..fc8c6bc5b --- /dev/null +++ b/docs/redocly.yaml @@ -0,0 +1,18 @@ +# NOTE: Only supports options marked as "Supported in Redoc CE" +# See https://redocly.com/docs/cli/configuration/ for more information. + +extends: + - recommended + +rules: + no-unused-components: error + +theme: + # See https://redocly.com/docs/api-reference-docs/configuration/functionality/ + openapi: + disableSearch: true + # See https://redocly.com/docs/api-reference-docs/configuration/theming/ + theme: + colors: + primary: + main: '#32329f' diff --git a/docs/src/styles/base.scss b/docs/src/styles/base.scss index a59df6f73..27f85cb28 100644 --- a/docs/src/styles/base.scss +++ b/docs/src/styles/base.scss @@ -1,4 +1,7 @@ @layer base { + html { + @apply scroll-smooth; + } html[data-theme="light"] { --ifm-background-color: white; --ifm-color-primary: #2563eb; /* New Primary Blue */