tsparticles
Version:
Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
23 lines (22 loc) • 573 B
TypeScript
import type { IOptions } from "../IOptions";
import type { IThemeDefault } from "./IThemeDefault";
import type { RecursivePartial } from "../../../Types";
/**
* The options to configure themes that can be easily switched
* [[include:Options/Themes.md]]
* @category Options
*/
export interface ITheme {
/**
* Theme name, use it when changing theme
*/
name: string;
/**
* Options to set the default theme
*/
default: IThemeDefault;
/**
* All options the theme will override
*/
options?: RecursivePartial<IOptions>;
}