diff options
| author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2023-12-29 16:50:43 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-29 16:50:43 +0100 |
| commit | a87602b3c45b1f7903460adfd6268c65c8669682 (patch) | |
| tree | 9c330d5c330b1e4fe85320fed753475c167d9f2c /docs | |
| parent | 945acc151f01d87613cb5c13fd3841b982428254 (diff) | |
| download | faker-a87602b3c45b1f7903460adfd6268c65c8669682.tar.xz faker-a87602b3c45b1f7903460adfd6268c65c8669682.zip | |
chore(deps): update doc-dependencies (#2301)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/.vitepress/config.ts | 9 | ||||
| -rw-r--r-- | docs/.vitepress/theme/index.css | 4 | ||||
| -rw-r--r-- | docs/api/ApiIndex.vue | 6 |
3 files changed, 10 insertions, 9 deletions
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 6dc31dd6..cdb0ae9e 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -1,5 +1,5 @@ -import { defineConfig } from 'vitepress'; -import { DefaultTheme } from 'vitepress/theme'; +import type { UserConfig } from 'vitepress'; +import type { DefaultTheme } from 'vitepress/theme'; import { apiPages } from './api-pages'; import { currentVersion, oldVersions, versionBannerInfix } from './versions'; @@ -55,7 +55,8 @@ function extendSideNav(current: SidebarItem): SidebarItem[] { return links; } -const config = defineConfig({ +// TODO @Shinigami92 2023-12-28: reuse `defineConfig` from vitepress, when we can go esm-only +const config: UserConfig<DefaultTheme.Config> = { title: 'Faker', description, @@ -259,7 +260,7 @@ const config = defineConfig({ __BANNER__: versionBannerInfix ?? false, }, }, -}); +}; if (versionBannerInfix) { config.head?.push([ diff --git a/docs/.vitepress/theme/index.css b/docs/.vitepress/theme/index.css index f6981bb9..0d8e1853 100644 --- a/docs/.vitepress/theme/index.css +++ b/docs/.vitepress/theme/index.css @@ -15,6 +15,6 @@ table td ul li { } .VPHero .action:not(:last-child) a.VPButton.alt { - border-color: var(--vp-button-brand-border) !important; - color: var(--vp-button-brand-border) !important; + border-color: var(--vp-button-brand-bg) !important; + color: var(--vp-button-brand-text) !important; } diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue index 7ef64a80..3d2130cd 100644 --- a/docs/api/ApiIndex.vue +++ b/docs/api/ApiIndex.vue @@ -120,7 +120,7 @@ h2 { h3 { letter-spacing: -0.01em; - color: var(--vp-c-green); + color: var(--vp-c-brand-1); font-size: 18px; margin-bottom: 1em; transition: color 0.5s; @@ -147,7 +147,7 @@ h3 { } .api-groups ul a:hover { - color: var(--vp-c-green); + color: var(--vp-c-brand-1); transition: none; } @@ -181,7 +181,7 @@ h3 { } .api-filter:focus { - border-color: var(--vp-c-green-light); + border-color: var(--vp-c-brand-2); } .no-match { |
