feat(theme): OS-default color mode #4861
Annotations
2 errors
Docusaurus Jest Tests:
packages/docusaurus-theme-translations/locales/__tests__/locales.test.ts#L41
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
@@ -82,10 +82,11 @@
"theme.blog.sidebar.navAriaLabel": "Blog recent posts navigation",
"theme.blog.tagTitle": "{nPosts} tagged with \"{tagName}\"",
"theme.colorToggle.ariaLabel": "Switch between dark and light mode (currently {mode})",
"theme.colorToggle.ariaLabel.mode.dark": "dark mode",
"theme.colorToggle.ariaLabel.mode.light": "light mode",
+ "theme.colorToggle.ariaLabel.mode.system": "system mode",
"theme.common.editThisPage": "Edit this page",
"theme.common.headingLinkTitle": "Direct link to {heading}",
"theme.common.skipToMainContent": "Skip to main content",
"theme.contentVisibility.draftBanner.message": "This page is a draft. It will only be visible in dev and be excluded from the production build.",
"theme.contentVisibility.draftBanner.title": "Draft page",
at Object.toEqual (packages/docusaurus-theme-translations/locales/__tests__/locales.test.ts:41:26)
|
Docusaurus Jest Tests
Process completed with exit code 1.
|
Loading