mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
fix test & typo
This commit is contained in:
parent
3149413b3a
commit
6f5c7e1926
2 changed files with 1 additions and 2 deletions
|
@ -672,7 +672,6 @@ describe('themeConfig', () => {
|
|||
const colorMode: ThemeConfig['colorMode'] = {
|
||||
defaultMode: 'dark',
|
||||
disableSwitch: false,
|
||||
respectPrefersColorScheme: true,
|
||||
};
|
||||
expect(testValidateThemeConfig({colorMode})).toEqual({
|
||||
...DEFAULT_CONFIG,
|
||||
|
|
|
@ -48,7 +48,7 @@ function ColorModeToggle({
|
|||
}),
|
||||
system: () =>
|
||||
translate({
|
||||
message: 'autsystemo mode',
|
||||
message: 'system mode',
|
||||
id: 'theme.colorToggle.ariaLabel.mode.system',
|
||||
description: 'The name for the system color mode',
|
||||
}),
|
||||
|
|
Loading…
Add table
Reference in a new issue