docusaurus/packages/create-docusaurus/templates
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
..
classic feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator (#5822) 2022-01-20 14:51:18 +08:00
classic-typescript fix(create-docusaurus): add useBaseUrl for image URLs (#6368) 2022-01-15 12:57:59 +08:00
facebook feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator (#5822) 2022-01-20 14:51:18 +08:00
shared docs: audit grammar issues (#6203) 2021-12-27 19:34:04 +08:00
README.md feat: npm init docusaurus, yarn create docusaurus (#5635) 2021-10-07 16:06:42 +02:00

Templates

Official templates provided by Docusaurus. They are designed to be selected when using the npm init docusaurus CLI command.

Guide to Test Templates for Developer

  1. yarn install in the root of the repo (one level above this directory).
  2. Go to any template's directory, example: cd classic && yarn start.