/** * Pre-made themes you can import. */ export declare const themes: { light: ThemeConfig; dark: ThemeConfig; }; import type { CustomThemeConfig, ThemeConfig } from './@types/component'; import type { Snippet } from 'svelte'; type Base = 'light' | 'dark'; interface Props { /** Custom theme object. Can be a partial theme with just * what you want to change. */ theme?: CustomThemeConfig | ThemeConfig; /** * Base theme is one of `light` or `dark` and will be merged * with your custom theme to fill in any values you don't * explicitly set. */ base?: Base; /** Content wrapped inside `Theme` */ children: Snippet; } /** * A wrapper that applies a theme to its children as CSS custom properties, merging a custom theme over a light or dark base. * * [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-theming-theme--docs) */ declare const Theme: import("svelte").Component; type Theme = ReturnType; export default Theme;