Dmitrii Savelev
be260fda6e
fix(theme): use nav height css var for curtain top in sidebar ( #4993 )
1 month ago
Brainshaker95
113d230478
fix(theme): disable whitespace wrapping for VPBadge ( #4968 )
2 months ago
Miroma
34cfa91b6f
feat(theme): allow passing functions for nav links ( #4963 )
2 months ago
Divyansh Singh
d46107fa25
fix(client,a11y): improve focus handling and scrolling behavior in router ( #4943 )
3 months ago
Joaquín Sánchez
187bf250e6
feat(i18n,a11y): change last update logic ( #4935 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 months ago
Divyansh Singh
c2eaccd0d2
fix(theme): avoid use of `:where` in selector list for now
...
x-ref: #4923
3 months ago
Divyansh Singh
f0b29d7ef3
fix(theme): add lang and dir attributes to language picker
3 months ago
Divyansh Singh
82fac5d22c
fix(theme): adjust margin of code blocks inside containers
...
closes #4921
3 months ago
Divyansh Singh
1c8815d53e
fix(theme): use clipboard-check instead of clipboard-copy for code copied icon
4 months ago
Divyansh Singh
43b36c0c19
fix(theme): fix local nav alignment and increase touch area
4 months ago
Divyansh Singh
b83799a6e7
chore: bump deps
4 months ago
Divyansh Singh
7df3052512
fix(theme): nav background doesn't extend fully and gap after sidebar with non-overlay scrollbars
...
closes #4653
Co-authored-by: Burrito <burritoyangster@gmail.com>
4 months ago
Artea
0ca25ca314
refactor(nav,layout): use `InjectionKey` ( #4880 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
Artea
f97635916e
refactor: `VPMenu` related component use generic type for component ( #4883 )
4 months ago
Divyansh Singh
eb7658d406
fix(theme): don't add `rel=me` for team members
4 months ago
Andrey Nering
34886c667d
feat(theme): add `rel="me"` to social links by default ( #4873 )
4 months ago
Divyansh Singh
8b232171cc
fix(search): style tweaks for when searches are empty
4 months ago
Divyansh Singh
162c6a69bf
fix(search): input placeholder being cut off in smaller viewports
4 months ago
Dylan Tientcheu
ac61abe7d7
feat(search): upgrade search to DocSearch v4-beta ( #4843 )
...
BREAKING CHANGE: Uses DocSearch v4 beta. No change is required if you're not customizing the styles of navbar search button or modal. DocSearch AI features are in private beta, you can apply for them at https://forms.gle/iyfb5pC2CiiwszUKA
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
Divyansh Singh
3c51b22ac9
fix(theme): remove duplicate text in sponsors grid
...
closes #4854
4 months ago
noy4
c8fc80e438
fix(theme): remove extra slash when concatenating base with sidebar links
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
5 months ago
Mazel
21fcecce05
fix(theme): prevent error in handleSearchHotKey method ( #4782 )
...
x-ref: https://redirect.github.com/microsoft/TypeScript/issues/59631
6 months ago
Divyansh Singh
a643347530
fix(theme/regression): code blocks not aligned properly in rtl layouts
7 months ago
Artea
2c4944f06c
fix(theme): hide native search input cancel button ( #4723 )
7 months ago
Divyansh Singh
19faa16169
feat: add dir=ltr by default on code block pre elements instead of relying on css
8 months ago
Alexander Lichter
0b70397197
feat(default-theme): make VPButton slottable ( #4689 )
8 months ago
Divyansh Singh
e5ab0676a9
perf: hoist expensive operations in useLayout
8 months ago
Yuxuan Zhang
544cd81259
feat(theme)!: add `isHome` frontmatter option ( #4673 )
...
BREAKING CHANGE: `useLocalNav` and `useSidebar` are removed in favor of `useLayout`. To migrate, just do find and replace. Sidebar controls are no longer exported, but I didn't find any usage on GitHub. If there is demand, we can export respective composables later. `DefaultTheme.DocSidebar` and `DefaultTheme.DocLocalNav` types are also removed.
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: userquin <userquin@gmail.com>
8 months ago
Yuxuan Zhang
0267dcafa2
feat(theme): make "Take me home" button's link customizable ( #4658 )
8 months ago
Divyansh Singh
db58af5c66
fix!: don't remove shiki styles from `pre` and remove unnecessary transformers ( #4652 )
...
BREAKING CHANGE: `vp-adaptive-theme` class is no longer added to code blocks when there is single theme. Theme authors supporting single code theme can use `.shiki:not(.shiki-themes)` as selector. Alternatively, it might be better to use the bg/fg variables set on the `.shiki` block to keep things generic.
BREAKING CHANGE: `vp-code` class is no longer added to code blocks. Use `.shiki` or `pre.shiki` or `[class*='language-'] pre` instead.
People not customizing their themes are not affected. But if you see weird stuff, you know what to change.
8 months ago
GabrielxD
7d94481920
fix(theme-default): ensure proper sizing of SVG hero images ( #4639 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
9 months ago
Divyansh Singh
a62ea6a832
feat: dynamic routes plugin overhaul ( #4525 )
...
BREAKING CHANGES: Internals are modified a bit to better support vite 6 and handle HMR more correctly. For most users this won't need any change on their side.
9 months ago
Will Hack
5dccaeef05
fix(theme): code block contrast ratio ( #4487 )
10 months ago
Divyansh Singh
6031dbcdb7
chore: bump deps
10 months ago
Ebrahim Fallah
091d5840ae
fix(theme): allow interactions behind scroll shadow ( #4537 )
10 months ago
Divyansh Singh
e0350275b3
fix: temporary fix for docsearch navigation
11 months ago
Divyansh Singh
37dbe895d4
fix(theme): broken hero heading in certain viewports
11 months ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
11 months ago
Divyansh Singh
096bba19fb
fix(theme): don't show external link icon for images
11 months ago
Leo
fe48943640
fix(theme): apply `externalLinkIcon` option on `VPHome` ( #4492 )
11 months ago
Florian Sattler
6442e17483
feat(theme): expose VPFeatures ( #4356 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Divyansh Singh
23522ab83f
feat(theme): export VPNavBarSearch
...
closes #4476
11 months ago
Leo
bd896c638f
fix(theme): includes text to h1 tag for hero page ( #4472 )
...
closes #4453
11 months ago
Divyansh Singh
241d17d983
fix: out of order css in prod builds
...
closes #4098
11 months ago
Amirhossein Alibakhshi
a3f994b71e
docs: add Persian language ( #4089 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
12 months ago
Divyansh Singh
ff254dcbe6
feat(theme): allow customizing skip to content label
...
closes #4288
1 year ago
Divyansh Singh
18858f7dec
chore: simplify code
1 year ago
Divyansh Singh
183261753b
fix(theme): ignore footnote-ref for outline
...
closes #4402
1 year ago
Divyansh Singh
05f2f0d261
feat: on demand social icons ( #4339 )
1 year ago
Sun .P.M
81fc148198
style(theme): do not copy `lang` when copying text ( #4316 )
...
style(theme/vp-doc): let lang unselectable.
1 year ago