IO: Change Default Mask Colours

Problem


I often mistakenly guess an inactive mask instead of the active one, and I think that has to do with the default inactive colour, which is yellow. (Usually happens when I’m reviewing fast or the active mask is in a weird position, my brain just goes for an inactive mask).

Suggestion


I think we should have a more subtle colour than yellow for inactive masks, perhaps something lighter (closer to white) given most image occlusion images have a white background.

I haven’t experimented with the IO maks colours myself, but I did try something like this for my hide-all cloze cards and changing colours hugely reduced invalid attempts.

Also sidenote, given a “hide-all-guess-one” cloze mode is in the plans, the default for active/inactive colours should probably be consistent in both IO and cloze notes.

@krmanik @glutanimate do you remember why the original colors were chosen? Did you end up copying them over from IOE?

1 Like

If I remember correctly then there were discussion in the PR about, then after some discussion the color of IOE was used.
Feature image occlusion by krmanik · Pull Request #2367 · ankitects/anki · GitHub
Feature image occlusion by krmanik · Pull Request #2367 · ankitects/anki · GitHub

1 Like

Thanks, that’s good to know, and I appreciate you taking the time to look it up :slight_smile:

@sorata I have no personal feelings on what the colors should be used, but imagine we might upset some users if we change this. Recommend you do a poll so we can get a mild approximation of what the majority may want.

doesn’t the template include this piece of code?

#image-occlusion-canvas {
    --inactive-shape-color: #ffeba2;
    --active-shape-color: #ff8e8e;
    --inactive-shape-border: 1px #212121;
    --active-shape-border: 1px #212121;
    --highlight-shape-color: #ff8e8e00;
    --highlight-shape-border: 1px #ff8e8e;
}

I thought the change could be made so that it only applies to new users.

Not sure what options to include, really. If someone knows how to do it, go ahead.

Sorry, you’re right. No objections from me if you can find consensus on a better default.