149 Commits

Author SHA1 Message Date
Luffy
1ad5763216
[release] 5.0.0-rc.3 2025-09-05 12:24:11 +08:00
Luffy
400ecbc813
[release] 5.0.0-rc.2 2025-09-05 12:19:04 +08:00
Luffy
22ac7e855d
fix: enhance focus handling (#2595) 2025-08-21 16:12:56 +08:00
Luffy
8d41cbed7b
[release] 5.0.0-rc.1 2025-05-27 10:36:20 +08:00
Luffy
2d090efa68
Merge remote-tracking branch 'upstream/master' into develop 2025-05-06 15:07:17 +08:00
John Hildenbiddle
77d93fae78
feat: v5 style overhaul (#2469)
Style updates:

- New "core" theme serves as base for all other themes (official and third-party)
- New CSS custom properties for simplified customization of "core" theme
  **Note:** List of available properties will be made available in documentation by embedding soruce CSS in docs after merge. Merge is required because embedded CSS needs to be in `main` branch. For now, see `_vars.css` and `_vars-advanced.css` for details.
- New theme "add-ons" modify core theme properties and/or add custom declarations as needed.
- New Prism.js theme support
- New configurable sidebar toggle design
- New typography defaults to system sans-serif and monospace fonts instead of relying on external web font.
- New "Core Dark" theme addon provide dark theme styles. Can optionally be applied based on operating system's light/dark setting using `@media` attribute on `<link>` element.
- New "Vue" theme addon. Closely replicated popular v4 theme while allowing for v5 enhancements.
- New CSS class names available for adding loading indicators, adding sidebar expand/collapse icons, adding sidebar group styles, clamping sidebar links to a single line with ellipses, and changing the sidebar toggle icon.
- New auto-generated gradient background for cover page (ensure gradient hue is > 50 degree apart, use OKLCH color if supported, randomize grandient angle, reduce brightness in dark mode)
- New button styles (basic, primary, secondary)
- New form element styles (text input, radio, checkbox, )
- New "callouts" (previously "important" and "tip" helpers)
- New default syntax highlighting theme (from [docsify-themeable](https://jhildenbiddle.github.io/docsify-themeable/))
- New auto-generated theme color shade and tint colors
- New auto-generated monochromatic color palette
- New form element styles (fields, legend, text input, text area, checkbox, radio, toggles, and select)
- New "headerless" tables
- New `kbd` styles
- New task list style
- New merged navbar styles (consistent with sidebar nav styles)
- New search plugin styles and keyboard shortcut indicators
- Add ability restore previously focused content element after hiding sidebar
- Add "focus trap" when sidebar is visible on mobile (accessibility)
- Add ability for sidebar links to wrap by default (previous single-line w/ ellipsis display available as CSS class on `<body>` option)
- Add sidebar `page-link`, `group`, and `group-title` CSS classes to sidebar markup.
- Add reduced motion media query to set all animation/transition timings to zero
- Update Google Font imports (use new variable vs older fixed width fonts)
- Update primary/secondary button order on coverpage (primary should be first)
- Fix missing merged navbar when loading at desktop resolution then resizing to mobile
- Fix inverted open/close sidebar visibility state at desktop/mobile resolutions
- Fix overflow setting to prevent clipping of element focus ring
- Fix safe area inset margins on mobile in landscape orientation
- Fix inverted "tip" and "warn" class names
- Fix scroll padding to prevent headers from touching top edge of viewport when scrolled to
- Remove Stylus dependency (now using only PostCSS)
- Remove legacy themes "Buble", "Dark", "Dolphin", and "Pure".

Documentation updates:

- New "UI Kit" page showcasing all elements styled by Docsify
- Update "Quick Start" page template
- Update "Adding pages" page with information on how to properly create sidebar group titles and navbar drop-down menus
- Update "Themes" page with theme and class toggles
- Update "Configuration" page with deprecation warnings for `themeColor` and `topMargin`
- Move "Edit Page" link to footer
- Remove [docsify-themeable](https://jhildenbiddle.github.io/docsify-themeable/) endorsement (currently not compatible with v5 and future is unknown)

Miscellaneous updates:

- New search plugin options: `insertBefore` and `insertAfter`
- Add PostCSS config file
- Update BrowserSync config (disable "ghost" mode)
- Update tests
- Fix Jest + Prettier 3 conflict
- Fix `getAndRemoveDocisfyIgnoreConfig` name type (now `Docisfy` => `Docsify`)
- Fix execution of sidebar-generating code when `hiddenSidebar` is `true`
- Remove `inBrowser` constant (SSR deprecated, so no longer needed)
2024-07-19 15:34:51 +00:00
sy-records
a7b8a5ecdf
[build] 4.13.1 2023-06-24 15:25:52 +08:00
i544693
a6701d6d23 [build] 4.13.0 2022-10-26 21:45:48 +08:00
i544693
8fcd92baa3 [build] 4.12.4 2022-10-26 17:53:55 +08:00
i544693
7db2434a1a [build]: 4.12.3 2022-10-26 17:21:50 +08:00
i544693
e405120e08 [build] 4.12.2 2022-01-06 16:55:22 +08:00
sy-records
d1b77c7134 [build] 4.12.1 2021-03-07 11:00:41 +08:00
sy-records
ed4b5be698 [build] 4.12.0 2021-02-08 09:21:40 +08:00
sy-records
238dada7a5 [build] 4.11.6 2020-08-22 19:37:00 +08:00
sy-records
dfa5616cfc [build] 4.11.5 2020-08-21 19:15:36 +08:00
Kirby Fernandez
163681a059
docs: remove bundle size from the home page and documentation (#1257)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2020-07-02 21:02:47 +05:30
anikethsaha
3f4c035369 [build] 4.11.4 2020-06-18 23:46:39 +05:30
anikethsaha
a2be53aea7 chore: updated dep and docs 2020-03-25 13:35:34 +05:30
Anix
a137d38416 [build] 4.11.2 2020-03-09 21:13:36 +05:30
Anix
b7e81f7ff4 [build] 4.11.1 2020-03-09 18:10:33 +05:30
Anix
ec0409969e [build] 4.11.0 2020-03-09 17:11:29 +05:30
anikethsaha
9a90b9b927 [build] 4.10.2 2019-12-17 03:19:55 +05:30
anikethsaha
b62b213435 [build] 4.10.0 2019-12-16 22:58:51 +05:30
Anton Wilhelm
c78f2117e3 [build] 4.9.4 next 2019-05-05 18:50:31 +02:00
Anton Wilhelm
6162eb234d [build] 4.9.2 next 2019-05-05 18:50:31 +02:00
liqingwei
29d9cda3de [build] 4.9.1 2019-02-21 17:26:40 +08:00
liqingwei
d1c72686bb [build] 4.9.0 2019-02-19 11:26:53 +08:00
Qingwei Li
a07a613312 [build] 4.8.6 2018-11-12 10:24:21 +08:00
qingwei.li
5b6525b8f1 [build] 4.8.5 2018-11-02 08:59:34 +08:00
qingwei.li
f84242d380 [build] 4.8.4 2018-11-02 02:17:36 +08:00
qingwei.li
58b130996e [build] 4.8.3 2018-11-01 19:09:50 +08:00
Qingwei Li
9a09458eee [build] 4.8.2 2018-11-01 13:53:26 +08:00
qingwei.li
e89a2b3fea chore: update file size 2018-10-31 22:17:55 +08:00
qingwei.li
fce40eae25 [build] 4.8.1 2018-10-31 22:08:23 +08:00
qingwei.li
137ae8d5b8 [build] 4.8.0 2018-10-31 20:46:04 +08:00
Qingwei Li
8336769127 [build] 4.7.1 2018-08-30 12:09:24 +08:00
jingsam
393e4ec044 Update _coverpage.md (#609) 2018-08-20 17:32:25 +08:00
Johannes Rappen
73a38c3878 chore: update german docs, fix links (#560)
* updated german links
* fixed links where `QingWei-Li` should've been `docsifyjs`
  * naturally excluded donate links and links to private projects like `vuep` unrelated to docsify

---

See commit for details. If you have a question, just ask.
2018-07-01 13:48:44 +08:00
qingwei.li
3c94178805 [build] 4.7.0 2018-06-29 21:36:13 +08:00
qingwei.li
cb1a56d89b [build] 4.6.10 2018-04-04 06:12:26 +09:00
qingwei.li
531e483c31 [build] 4.6.9 2018-03-10 11:17:06 +08:00
qingwei.li
4c91fbc7cb [build] 4.6.8 2018-03-06 11:58:40 +08:00
qingwei.li
a850b29545 [build] 4.6.7 2018-03-03 23:29:16 +08:00
qingwei.li
87129c0fb2 [build] 4.6.6 2018-03-03 23:21:11 +08:00
qingwei.li
75222209da [build] 4.6.5 2018-03-03 22:57:34 +08:00
qingwei.li
1335baa22f [build] 4.6.4 2018-03-01 22:42:48 +08:00
qingwei.li
7cdf751cc5 [build] 4.6.3 2018-02-15 18:34:47 +08:00
qingwei.li
4b5185f0d7 [build] 4.6.2 2018-02-14 13:17:25 +08:00
qingwei.li
149d9929f8 [build] 4.6.1 2018-02-12 16:28:37 +08:00
qingwei.li
8fb74a2d87 [build] 4.6.0 2018-02-11 22:25:14 +08:00