#Lapis note type coloring not working

7 messages · Page 1 of 1 (latest)

peak drum
#

On the front of the card the target word is supposed to be a different color than every other word in the sentence but for any new card I add it's not a different color. On the back of the card the target word is supposed to be the same color as whatever pitch the word is in but it isn't. Everything looks just fine on the example card though for both the front and back side of the card and the color even changes properly when the styling is edited.

peak drum
#

Here is the styling code, when you change the hex on the bold color section, it works fine for the example card yet not for any new card made

soft heart
#

@peak drum I think I know what's going on. I'm guessing the SentenceFurigana field in your mining cards is not being generated in such a way that the expression is surrounded by <b> tags.

Check this section of the Lapis card readme and especially the bottom paragraph: https://github.com/donkuri/lapis?tab=readme-ov-file#how-to-use-lapis

If I'm right, you need to make sure the SetenceFurigana field in your Yomitan anki card configuration is empty, and that the AJT add-on is installed and configured in Anki as documented in: https://github.com/donkuri/lapis/blob/main/docs/anki_setup.md
That's what determines how the SentenceFurigana field gets generated in a typical Lapis setup

(afaik, this is how things should already be set up if you followed the Anki setup instructions in Lazyguide: https://lazyguidejp.github.io/jp-lazy-guide/setupAnki/)

GitHub

Lapis is a modern Anki note type designed with compatibility in mind. - donkuri/lapis

GitHub

Lapis is a modern Anki note type designed with compatibility in mind. - donkuri/lapis

peak drum
#

everything else is working fine with the note type the only issue im having now is the color one

soft heart
#

Well, my best guess is that the colour issue you're seeing has something to do with the settings I've referred to above.

peak drum
soft heart