Files
documentation/node_modules/@docusaurus/theme-common/lib/hooks/usePrismTheme.d.ts
2024-03-22 03:47:51 +05:30

13 lines
469 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type { PrismTheme } from 'prism-react-renderer';
/**
* Returns a color-mode-dependent Prism theme: whatever the user specified in
* the config. Falls back to `palenight`.
*/
export declare function usePrismTheme(): PrismTheme;
//# sourceMappingURL=usePrismTheme.d.ts.map