AnKing-VIP / ankiweb-placeholder

2 stars 2 forks source link

How to change only the text color only main browser navigation window and cards? #74

Open zakg opened 11 months ago

zakg commented 11 months ago

Which add-on is this about?

Custom Background, also Recolor

Problem description

I am trying to change only the text colour within the browser navigation to white (please see the image). Recolor add on cannot seem to do this. I change "Main Text" to white but then it a) Does not change the text color of my cards (it is still black), yet it b) Does change the text color within all other parts of Anki (which I do not want.

I only wish to change the text color in the main browser navigation and the cards themselves.

Switching to night mode is not the solution for me, since when I do this it messes up the appearance of the Review Heatmap, which I need to keep.

Can you offer a solution? Thanks yoiu.

CleanShot 2023-12-28 at 16 20 11@2x

Checklist

Please replace the space inside the brackets with an x if the following items apply:

What Anki version are you using?

*Please open Anki, go to Help → About (windows) or Anki → About Anki (mac) to find the version. Edit the value between the backticks below

2.1.##

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

AnKingMed commented 11 months ago

@abdnh do you have any idea how to do this?

@BlueGreenMagick maybe you do since you wrote this addon?

AnKingMed commented 11 months ago

@zakg for the note type, you may need to individually adjust the note styling to change the text color. ReColor shouldn't affect that part at all

BlueGreenMagick commented 11 months ago

You can't do this with ReColor, but it should be possible with Custom Background add-on. That add-on lets you customize css file for different Anki windows. You need to setup custom css for the main deckbrowser to change color to white.

Add

* {
color: white;
}

to deckbrowser.css file. (Follow the instructions in ankiweb description)