From 1844daeb8cd962db2e93ac2cab37e1c50a94f3da Mon Sep 17 00:00:00 2001 From: Sherman Boyd Date: Mon, 21 Oct 2024 11:03:30 -0700 Subject: [PATCH 1/4] Removed lines between list items: spacing them out creates separate lists. We should use css to control padding between list items. --- docs/docs/getting-started/install.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/docs/getting-started/install.md b/docs/docs/getting-started/install.md index da04e8468..cf7adbe5b 100644 --- a/docs/docs/getting-started/install.md +++ b/docs/docs/getting-started/install.md @@ -7,9 +7,7 @@ keywords: [install, installation, getting started, vs code, jetbrains] ## VS Code 1. Click `Install` on the [Continue extension page in the Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Continue.continue) - 2. This will open the Continue extension page in VS Code, where you will need to click `Install` again - 3. The Continue logo will appear on the left sidebar. For a better experience, move Continue to the right sidebar ![move-to-right-sidebar](/img/move-to-right-sidebar.gif) @@ -21,9 +19,7 @@ If you have any problems, see the [troubleshooting guide](troubleshooting.md) or ## JetBrains 1. Open your JetBrains IDE and open **Settings** using `cmd/ctrl + ,` - 2. Select **Plugins** on the sidebar and search for "Continue" in the marketplace - 3. Click `Install`, which will cause the Continue logo to show up on the right toolbar ![jetbrains-getting-started.png](/img/jetbrains-getting-started.png) From b828ff1de06b612fe0ade2820fa4bc1fdb6cf64b Mon Sep 17 00:00:00 2001 From: Sherman Boyd Date: Mon, 21 Oct 2024 11:18:10 -0700 Subject: [PATCH 2/4] Doubled the spacing on the infima theme used by docusaurus. This custom.css file seems to be the place where we should overwrite style changes. --- docs/src/css/custom.css | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index da6a4abd6..723c60129 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -15,6 +15,7 @@ --ifm-color-primary-lightest: rgb(67, 31, 242); --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); + --ifm-list-item-margin: 0.50rem; } /* For readability concerns, you should choose a lighter palette in dark mode. */ From da18a0168e0d9bc011d7377dc791469123963c87 Mon Sep 17 00:00:00 2001 From: Sherman Boyd Date: Mon, 21 Oct 2024 14:08:20 -0700 Subject: [PATCH 3/4] Using the kbd tag adds clarity to keyboard combos. Added styling for both themes to custom.css. --- docs/docs/getting-started/install.md | 2 +- docs/src/css/custom.css | 39 ++++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/docs/docs/getting-started/install.md b/docs/docs/getting-started/install.md index cf7adbe5b..e894596fb 100644 --- a/docs/docs/getting-started/install.md +++ b/docs/docs/getting-started/install.md @@ -18,7 +18,7 @@ If you have any problems, see the [troubleshooting guide](troubleshooting.md) or ## JetBrains -1. Open your JetBrains IDE and open **Settings** using `cmd/ctrl + ,` +1. Open your JetBrains IDE and open **Settings** using cmd/ctrl + , 2. Select **Plugins** on the sidebar and search for "Continue" in the marketplace 3. Click `Install`, which will cause the Continue logo to show up on the right toolbar diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 723c60129..ecfa4fe9b 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -15,7 +15,14 @@ --ifm-color-primary-lightest: rgb(67, 31, 242); --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); - --ifm-list-item-margin: 0.50rem; + --ifm-list-item-margin: 0.70rem; + /* These vars control the colors of the kdb tag 3d keycap */ + --kbd-keycap-bg-color: #ffffffce; + --kbd-keycap-border-color: #ccc; + --kbd-text-color: #ca3a18; + --kbd-shadow-color: #b4b4b4; + --kbd-shadow-color-outer: #9c9c9c; + --kbd-shadow-tint: rgba(0, 0, 0, .4); } /* For readability concerns, you should choose a lighter palette in dark mode. */ @@ -27,5 +34,33 @@ --ifm-color-primary-light: #59bc89ff; --ifm-color-primary-lighter: #59bc89ff; --ifm-color-primary-lightest: #59bc89ff; - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.4); + /* These vars control the colors of the kdb tag 3d keycap */ + --kbd-keycap-bg-color: #414859; + --kbd-keycap-border-color: #495265; + --kbd-text-color: #9ad7fa; + --kbd-shadow-color: #2e3341; + --kbd-shadow-color-outer: #373e4b; + --kbd-shadow-tint: rgba(173, 212, 247, 0.4); +} + +kbd { + display: inline-block; + padding: 0.3em 0.4em; + font-family: var(--ifm-font-family-monospace); + font-size: .8rem; + font-weight: 500; + line-height: .8; + color: var(--kbd-text-color); + text-align: center; + white-space: nowrap; + background-color: var(--kbd-keycap-bg-color); + border: 1px solid var(--kbd-keycap-border-color); + border-radius: 0.3em; + box-shadow: + 0 2px 0 1px var(--kbd-shadow-color), + 0 3px 0 2px var(--kbd-shadow-color-outer), + 0 4px 6px var(--kbd-shadow-tint); + position: relative; + top: 0; } From 5fc9e1e9c6915613d1f9de3e453665ba9c1768ec Mon Sep 17 00:00:00 2001 From: Sherman Boyd Date: Mon, 21 Oct 2024 14:18:28 -0700 Subject: [PATCH 4/4] typo fix --- docs/src/css/custom.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index ecfa4fe9b..6002807cc 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -16,7 +16,7 @@ --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); --ifm-list-item-margin: 0.70rem; - /* These vars control the colors of the kdb tag 3d keycap */ + /* These vars control the colors of the kbd tag 3d keycap */ --kbd-keycap-bg-color: #ffffffce; --kbd-keycap-border-color: #ccc; --kbd-text-color: #ca3a18; @@ -35,7 +35,7 @@ --ifm-color-primary-lighter: #59bc89ff; --ifm-color-primary-lightest: #59bc89ff; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.4); - /* These vars control the colors of the kdb tag 3d keycap */ + /* These vars control the colors of the kbd tag 3d keycap */ --kbd-keycap-bg-color: #414859; --kbd-keycap-border-color: #495265; --kbd-text-color: #9ad7fa;