polish(core): better styling for error screens (#8736)

Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
Tanner Dolby 2023-03-09 08:13:19 -07:00 committed by GitHub
parent e21591c073
commit 7961c5b8d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 52 additions and 12 deletions

View file

@ -31,7 +31,6 @@ const EXPECTED_CSS_MARKERS = [
// See https://github.com/facebook/docusaurus/pull/6222
'.markdown>h2',
'.button--outline.button--active',
'.DocSearch-Hit-content-wrapper',
'--ifm-color-scheme:light',
'.col[class*=col--]',
'.padding-vert--xl',
@ -49,6 +48,7 @@ const EXPECTED_CSS_MARKERS = [
// Lazy-loaded lib
'.DocSearch-Modal',
'.DocSearch-Hit-content-wrapper',
];
const cssDirName = fileURLToPath(new URL('build/assets/css', import.meta.url));