Skip to content

Use fallback CSS color variables to fix default rendering in Anki #110

Closed

Description

@stephenmk

Jitendex uses CSS variables defined by Yomitan to adjust the colors of text and shapes when Yomitan's theme is changed from light mode to dark mode. These color variables are not exported to Anki when flashcards are created, so entries are not rendered correctly if the variables have not been defined manually by the user.

I can add fallback variables to Jitendex styles so that the appropriate Anki variables will be used instead if the Yomitan variables cannot be found.

BeforeAfter

before

after

Activity

  1. self-assigned this
    on Oct 6, 2024
  2. stephenmk commented on Oct 7, 2024

    @stephenmk
    MemberAuthor

    Fixed in version 2024.10.07.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions