docusaurus/packages
Joshua Chen abdcad7316
feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator (#5822)
* docs: update website palette to pass WCAG test

* Darker palette in light mode

* Fix CodeBlock

* Fix front page

* Fix announcement color

* Unify primary color

* Add contrast check in website

* Fix color input not updating

* Use website for preview; allow changing background

* Persist in localStorage

* Fixes

* Fix SSR

* Edit dark mode separately

* Fix light mode palette

* Fix storage reset

* Fix CSS

* Fix

* fix toggling when not on styling-layout

* require 100% lighthouse accessibility score

* use sessionStorage

* refactor

* tweak light color

* update comments

Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-20 14:51:18 +08:00
..
create-docusaurus feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator (#5822) 2022-01-20 14:51:18 +08:00
docusaurus feat(core): check imported API name when extracting translations (#6405) 2022-01-19 17:04:33 +01:00
docusaurus-cssnano-preset test: improve test coverage (#6387) 2022-01-18 16:29:40 +08:00
docusaurus-logger fix(logger): properly stringify objects for logging (#6384) 2022-01-17 20:46:38 +08:00
docusaurus-mdx-loader feat(mdx-loader): read image dimensions when processing Markdown (#6339) 2022-01-19 12:45:14 +01:00
docusaurus-migrate refactor: clean up TODO comments (#6399) 2022-01-19 12:10:50 +08:00
docusaurus-module-type-aliases feat(core, theme-classic): allow overriding htmlLang (#6371) 2022-01-19 12:38:42 +01:00
docusaurus-plugin-client-redirects test: improve test coverage (#6387) 2022-01-18 16:29:40 +08:00
docusaurus-plugin-content-blog feat(content-blog): include tags in feed (#6388) 2022-01-18 17:20:37 +08:00
docusaurus-plugin-content-docs feat(content-docs): displayed_sidebar front matter (#5782) 2022-01-19 16:00:42 +01:00
docusaurus-plugin-content-pages fix(content-pages): declare hide_table_of_contents as boolean (#6413) 2022-01-20 10:58:36 +08:00
docusaurus-plugin-debug chore: upgrade lint-staged and globs (#6369) 2022-01-15 16:33:09 +08:00
docusaurus-plugin-google-analytics misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
docusaurus-plugin-google-gtag misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
docusaurus-plugin-ideal-image misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
docusaurus-plugin-pwa misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
docusaurus-plugin-sitemap misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
docusaurus-preset-classic refactor: move exported type definitions to declaration file (#6300) 2022-01-09 22:02:31 +08:00
docusaurus-remark-plugin-npm2yarn chore: minor typo cleanup (#6324) 2022-01-13 14:36:53 +08:00
docusaurus-theme-classic feat(content-pages): front matter validation, include front matter in metadata (#6400) 2022-01-19 13:44:58 +01:00
docusaurus-theme-common test: improve test coverage (#6387) 2022-01-18 16:29:40 +08:00
docusaurus-theme-live-codeblock misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
docusaurus-theme-search-algolia chore: enable eslint-plugin-jest (#6375) 2022-01-16 15:53:23 +08:00
docusaurus-theme-translations test: improve test coverage (#6387) 2022-01-18 16:29:40 +08:00
docusaurus-types feat(core, theme-classic): allow overriding htmlLang (#6371) 2022-01-19 12:38:42 +01:00
docusaurus-utils fix(logger): properly stringify objects for logging (#6384) 2022-01-17 20:46:38 +08:00
docusaurus-utils-common chore: enable eslint-plugin-jest (#6375) 2022-01-16 15:53:23 +08:00
docusaurus-utils-validation chore: regenerate yarn.lock (#6341) 2022-01-14 15:52:12 +01:00
lqip-loader misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
stylelint-copyright chore: enable eslint-plugin-jest (#6375) 2022-01-16 15:53:23 +08:00