mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-02 14:49:16 +02:00
23 lines
836 B
TypeScript
23 lines
836 B
TypeScript
import Contents from "./contents";
|
|
import Rendition from "./rendition";
|
|
|
|
export default class Themes {
|
|
constructor(rendition: Rendition);
|
|
register(themeObject: object): void;
|
|
register(theme: string, url: string): void;
|
|
register(theme: string, themeObject: object): void;
|
|
default(theme: object | string): void;
|
|
registerThemes(themes: object): void;
|
|
registerCss(name: string, css: string): void;
|
|
registerUrl(name: string, input: string): void;
|
|
registerRules(name: string, rules: object): void;
|
|
select(name: string): void;
|
|
update(name: string): void;
|
|
inject(content: Contents): void;
|
|
add(name: string, contents: Contents): void;
|
|
override(name: string, value: string, priority?: boolean): void;
|
|
overrides(contents: Contents): void;
|
|
fontSize(size: string): void;
|
|
font(f: string): void;
|
|
destroy(): void;
|
|
}
|