Skip to content

use a custom font in the book. #788

@shubh978

Description

@shubh978

Not able to apply my custom font to the book using themes.css. Changing the color of text and Font size is happening but font change is not happening. Please help.

themes.txt
themes.txt file is my themes.css and in code, I have used:

rendition.themes.register("dark", "themes.css");
rendition.themes.select("dark");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions