WizardsBowl
b28667b6b0
fix(theme): navbar menu group is incorrectly highlighted ( #5113 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 weeks ago
Divyansh Singh
f1bef95eee
fix(theme): keep pnum,tnum features in Inter
...
closes #5096
4 weeks ago
Tatsunori Uchino
f09593b073
fix(theme): add `rel="alternate"` and `hreflang` to links in language menu ( #5108 )
4 weeks ago
Tatsunori Uchino
a01bba0cad
feat(theme): add Japanese translation for "copied" label ( #5106 )
4 weeks ago
Divyansh Singh
d7effffdbb
feat(theme): enable text-autospace and text-spacing-trim ( closes #4996 )
4 weeks ago
Divyansh Singh
3146ce48ed
feat(theme): support specifying list of details in home page features ( closes #5101 )
4 weeks ago
Dylan Tientcheu
0d646a66cd
feat(theme): upgrade DocSearch to 4.5 with sidepanel ( #5092 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 weeks ago
Divyansh Singh
a28e171604
fix(theme): remove margin between code groups and blocks in markdown containers
...
closes #5099
1 month ago
hotdogc1017
f8d8c0d712
feat(theme): use `@layer __vitepress_base` to wrap the styles in base.css ( #4905 )
1 month ago
seeksky
923aa90252
fix(theme): highlight active link in mobile nav menu ( #5086 ) ( closes #5068 , closes #5074 )
2 months ago
seeksky
b2008654ff
fix(theme): align badges in h1 and h2 ( #5087 ) ( closes #5063 )
2 months ago
Michael Cozzolino
f119b18e39
fix(theme): add fallback for `heroImageSlotExists` ( #5076 )
...
for users who are importing VPHero in custom theme
2 months ago
Divyansh Singh
8ed6ea048c
fix(theme): overflow clip is buggy on safari
...
closes #5050
x-ref: 06f0e1a (#5039 ), 0ee7158 (#5027 )
3 months ago
Divyansh Singh
06f0e1a5c9
fix(theme): navbar overflowing on mobile devices
...
closes #5039
3 months ago
Divyansh Singh
0ee71588de
fix(theme): sidebar alignment when scrollbar is there on page
...
closes #5027
4 months ago
Dmitrii Savelev
be260fda6e
fix(theme): use nav height css var for curtain top in sidebar ( #4993 )
4 months ago
Brainshaker95
113d230478
fix(theme): disable whitespace wrapping for VPBadge ( #4968 )
5 months ago
Miroma
34cfa91b6f
feat(theme): allow passing functions for nav links ( #4963 )
5 months ago
Divyansh Singh
d46107fa25
fix(client,a11y): improve focus handling and scrolling behavior in router ( #4943 )
6 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>
6 months ago
Divyansh Singh
c2eaccd0d2
fix(theme): avoid use of `:where` in selector list for now
...
x-ref: #4923
6 months ago
Divyansh Singh
f0b29d7ef3
fix(theme): add lang and dir attributes to language picker
6 months ago
Divyansh Singh
82fac5d22c
fix(theme): adjust margin of code blocks inside containers
...
closes #4921
6 months ago
Divyansh Singh
1c8815d53e
fix(theme): use clipboard-check instead of clipboard-copy for code copied icon
7 months ago
Divyansh Singh
43b36c0c19
fix(theme): fix local nav alignment and increase touch area
7 months ago
Divyansh Singh
b83799a6e7
chore: bump deps
7 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>
7 months ago
Artea
0ca25ca314
refactor(nav,layout): use `InjectionKey` ( #4880 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
7 months ago
Artea
f97635916e
refactor: `VPMenu` related component use generic type for component ( #4883 )
7 months ago
Divyansh Singh
eb7658d406
fix(theme): don't add `rel=me` for team members
7 months ago
Andrey Nering
34886c667d
feat(theme): add `rel="me"` to social links by default ( #4873 )
7 months ago
Divyansh Singh
8b232171cc
fix(search): style tweaks for when searches are empty
7 months ago
Divyansh Singh
162c6a69bf
fix(search): input placeholder being cut off in smaller viewports
7 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>
7 months ago
Divyansh Singh
3c51b22ac9
fix(theme): remove duplicate text in sponsors grid
...
closes #4854
7 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>
8 months ago
Mazel
21fcecce05
fix(theme): prevent error in handleSearchHotKey method ( #4782 )
...
x-ref: https://redirect.github.com/microsoft/TypeScript/issues/59631
9 months ago
Divyansh Singh
a643347530
fix(theme/regression): code blocks not aligned properly in rtl layouts
10 months ago
Artea
2c4944f06c
fix(theme): hide native search input cancel button ( #4723 )
10 months ago
Divyansh Singh
19faa16169
feat: add dir=ltr by default on code block pre elements instead of relying on css
11 months ago
Alexander Lichter
0b70397197
feat(default-theme): make VPButton slottable ( #4689 )
11 months ago
Divyansh Singh
e5ab0676a9
perf: hoist expensive operations in useLayout
11 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>
11 months ago
Yuxuan Zhang
0267dcafa2
feat(theme): make "Take me home" button's link customizable ( #4658 )
11 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.
11 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>
12 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.
1 year ago
Will Hack
5dccaeef05
fix(theme): code block contrast ratio ( #4487 )
1 year ago
Divyansh Singh
6031dbcdb7
chore: bump deps
1 year ago
Ebrahim Fallah
091d5840ae
fix(theme): allow interactions behind scroll shadow ( #4537 )
1 year ago