438 62
Sign in to rate

(Legacy) Night Mode

0.03MB. Updated 2020-01-30.
The author has shared 2 other item(s).


This plugin offered the function of night mode, similar to the one implemented in AnkiDroid*. It is no longer supported as newer Anki versions come with a built-in night mode. It remains here for the users who wish to continue to use it with older Anki versions. DOES NOT WORK WITH ANKI 2.1.20+ It adds a "view" menu with options like: - Automatic (i.e. at a specified time) or manual switching of the night mode - Inverting colors of images or latex formulas - Defining custom color substitution rules It provides shortcut ctrl+n to quickly switch mode and a color picker to adjust background and text colors to your liking. After enabling night mode, add-on changes colors of the menubar, toolbar, bottom bars, and contents. When the option "Enable in dialogs" is ticked, it also changes colors of most of the dialog windows (like: 'Add card', 'Browser', 'Statistics', etc.). This add-on is Anki 2.1 compatible. If "force transparent latex" is enabled, new latex formulas should be generated with transparent background (delete old files to regenerate formulas created before). If you want to contribute, report a bug or translate the add-on to your native language, please visit the GitHub repository: krassowski/Anki-Night-Mode. DOES NOT WORK WITH ANKI 2.1.20 Changelog == 2.3.3 - January 29, 2020 - Fix compatibility with other add-ons (thanks to @lovac42) == 2.3.2 - January 25, 2020 - Fix the "sidebar not resizing" bug (thanks to @lovac42) - Fix the profile switching bug (thanks to @lovac42) Note: the Anki 2.1.20 will ship with built-in Night Mode and this add-on will become deprecated. If you like risk and want to help others so they can experience a smooth transition, please take part in beta testing and report any missing Night Mode features or problems with styling to the Anki author. == 2.3.1 - January 17, 2020 - Fix/improve the browser's sidebar compatibility issues related to the 2.1.17 release (thanks to @lovac42) == 2.3.0 - January 12, 2020 - Delay loading to allow for compatibility with @lovac42's (and potentially others) add-ons (thanks to @lovac42) - Adapt styling of the browser's sidebar to the changes introduced in Anki 2.1.17 (thanks to @zjosua) == 2.2.4 - April 20, 2019 - Improve styling to eliminate the white rectangle around buttons in the editor in night mode (introduced by Anki 2.1.8) The full changelog is available here. Tips and tricks To modify colors on your cards further, you can utilize night_mode CSS class. For example, to modify color of clozes in night mode, use: .night_mode .cloze { color: red!important } Please use the follwoing links to see more examples and screenshots for: cloze color change, selective element background modification. Known issues - DOES NOT WORK WITH ANKI 2.1.20+ - At times some internal formatting breaks when pasting, cutting or entering a new line and causes edited line/text to appear completely white (issue #27). A workaround for that issue was included in 2.2 version. If you need help removing the white backgrounds, please see this issue (#18). Night-Mode integrates well with Anki-Zoom for 2.1 - don't forget to check it out! * The add-on is not affiliated with AnkiDroid. Installation of the add-on on your desktop will not affect how your mobile client works. DOES NOT WORK WITH ANKI 2.1.20


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.

All Anki 2.1.x Add-Ons


on 1682701842
no funciona
on 1680992864
It doesn't work.
on 1670874325
most useful add-on. props!
on 1668725724
not working for version
on 1659752082
not working...!!!
on 1644059016
Works as expected in v2.1.15 on Debian. :)
on 1643934919
Please update for latest version
on 1642565367
Need compatibility with newer versions
on 1639567021
please update
on 1638833192
on 1638697613
on 1636639145
on 1634347678
Doesn't work with latest version
on 1630416624
Works well.
on 1626488791
pleaseplease update TVT
on 1625299653
version 2.1.44 cannot install
on 1625023859
on 1624550228
on 1622486124
Lol look at all these illiterates
on 1622131826
Doesn't work with Anki 2.1.43.
on 1620904041
This is what I needed. Scheduled dark (night) mode for desktops!. Reminder that it only works with versions PRIOR TO 2.1.20
on 1620068836
Doesn't work with Anki 2.1.43
on 1619913913
on 1615278900
Works easily with latest version, looks great
on 1615041826
Please update for the last version of Anki.
on 1615013086
Update it!
on 1612014870
Thanks for the info. I didn't realize the new anki has a dark mode itself.
on 1610229025
The Newer version of Anki has a built in night mode so that why the code is not working. Here is how to enable the night mode if your on desktop:
1.) click on tools
2.) click on preferences
3.) click on night mode
Restart Anki and night mode should be working
on 1609968999
i cant use in this new version, please uptade this extension
on 1608844774
Please support anki 2.1.2 version
on 1607960581
had to press 'ctrl + n' to activate!! works, its nicer
on 1605374073
Sehr gut.
on 1604811796
Can't install it, I think it's because I have the newer version 2.1.35? Anyone knows how to enable the built in Night mode in Anki, since I can't find it anywhere. I use Anki on window 10. Thanks!
on 1603446157
this is good.
on 1602878253
PLEASE update for newer versions
on 1602700142
Post-coffee update:
OK, it is working for me in 2.1.15 now... I forgot I had to hit Cmd-N to enable it. I got so used to using this dark mode over the past year that I forgot it was even an add-on, let alone that it had a keystroke to enable it.

Still giving thumbs down, as it needs an update for 2.1.20+ If you can go with an older version, then it works.

Pre-coffee review:
Sadly, this is not working for me on 2.1.15, though it USED to work for me. I made the mistake of upgrading today to 2.1.35, which broke my dark-mode, so after learning it is only for <2.1.20 I went and downgraded to 2.1.15 (latest version <2.1.20 with a Mac .dmg) but sadly, even after restarting Anki (multiple times) I can't get the dark-mode to return! Doh! This is very unfortunate since had colored the text of most of my flash cards to work with a dark grey background - now many of them are unreadable :-(
on 1601482348
works well on the eyes
on 1599710271
love this forever, my eyes are drained so much less lol
on 1599054960
Worked great for old versions. NOTE TO OTHER USERS: ANKI NOW HAS NIGHT MODE BUILT IN. Read the description of this add-on, it explains at the very top how to enable it.
on 1598670847
PLEASE update for newer versions!
on 1598589625
does not work
on 1598278031
This was one of my fave add-on for 2.1! Thank you for making it so easy to use. (I wish the newer Anki reserved "Ctrl+N" for night mode).
on 1597821687
Not work in Anki 2.1.29
on 1597629500
on 1597179495
waste of time
on 1595563059
on 1595435567
Not upgraded yet so I can use this plugin, love it, flexible with css or full font color replacement.
Doesn't work with Morphman but you just need to put some background color, you can play with transparency
.night_mode .meaning
{ background:rgba(255,9,9,0.1);}
on 1594987310
Would be kind of the developer if integrated into Anki 2.1.20+ !!
on 1594981753
Does not work
on 1594733439
Anki version 2.1.22 cannot be installed
on 1594218587
on 1594213177
It seems that I'm stuck on 2.1.15 on ubuntu, so this is great!
on 1593757222
How can you set a timer?

edit: Thank you for the very long support! It's reasonable to cease development for new versions, since Anki has built-in night mode now.
on 1593549901
Amazing! Thank you so much!!!
on 1593224033
My eyes say thank you!
on 1592750114
on 1592192963
Thanks for the good work.
on 1591411178
Great for the eyes
on 1591385611
It is working for me: Version 2.1.19
on 1591364926
Not working in latest version.
on 1590505176
on 1590056707
on 1589884977
Does not work with the latest version
on 1589840963
I love this Add-on, used it a lot, but it wasn't working on the recent Anki version, so I got very upset.
Now I just found out new Anki (2.1.26) has its own night mode.
Just go to "Preferences", then on basic it will show "Night mode" :)
You are welcome 2.1.26 Ankiers.
on 1589346209
wt* with you guys, he already said that "DOES NOT WORK WITH ANKI 2.1.20+" and you guys still downvoted because it's not working for your version, dump af
on 1589223046
Não funcionou meu anki 2.1.26... affz, odeio essa porra branca
ja vi q vou ter estudar pelo celular!
on 1589126500
Does not work in Anki 2.1.26
on 1588796716
thanks a lot!! <3
on 1588707600
Works nicely! My eyes thank you!

Just install the add-on and then press Ctrl+N, guys!

Best wishes to the add creator!
on 1588478304
on 1588453208
This add-on is the only reason why I'm still using Anki 2.1.15. Anki's built-in night mode does not have an automatic (scheduled) mode.
on 1588366431
You're saving my eyes, thank you. But I would change the german tranlation of "view" on the top from "Aussicht" to "Ansicht" because it's the wrong word in this context. T
Thank you!
on 1588256442
Not working for version 2.1.22. Expecting for an update!
on 1588254550
I love your night mode better than the new official night mode - any plans to update to work with latest builds of Anki?
on 1588080894
on 1588019103
Not work for my version
on 1587892975
Looks great!
on 1587448562
It's a great extension,but it needs an update! Dude! It's unavailable.
on 1587428821
I love this Night Mode, but it needs an update!!! I just did a fresh install of Anki and can no longer get this add-on! Please update soon! :)
on 1586889692
Works perfectly
on 1586809348
Need an update!
on 1586362722
on 1586333047
Please update this to work with the latest anki version! The default night mode built into anki is an annoying greyish color and doesn't do the job :(
on 1586152556
Not working anymore! Please update! I need you!!!
on 1585903470
Thanks on behalf of my old eyes 😎
on 1585176991
Geniuses... Downvoting because it isn't supported for the newest versions of Anki, when it's because it now has NATIVE night mode (╬▔皿▔)╯
on 1585096017
Guys please read, since Anki 2.1.20 Night Mode is native in the preferences, that's why this doesnt work, bc its unnecesary! If you have 2.19 or older, this works great as always.
on 1584546039
2.1.22 unsupported......
on 1584479621
It doesn't works on the version 2.1.21 (f1734a47)
on 1583981889
on 1583951883
Any idea how I can change the hyperlink text in the browser
on 1583928647
on 1583805134
Overall great. I have one annoying issue that when I change to dark mode my home screen is a bit zoomed in. Can I change this somewhere?
on 1583709300
I just switched to Anki version 2.1.21 and now it's stuck in night mode. I deleted the add on, tried turning on the new dark mode, and have tried restarting many times. There is no option like in the prior version to turn off night mode.

Anki 2.1.21 (f1734a47) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.14.5
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-03-08 19:06:09

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Frozen Fields ['516643804', 2020-02-29T23:12, 'None', '']
Hierarchical Tags Addon 20 21 ['1835859645', 2019-08-09T01:14, 'None', '']
Pokemanki ['633922407', 2020-03-06T18:31, 'None', '']
Pop-up Dictionary beta ['153625306', 2019-08-09T01:18, 'None', '']
Progress Bar ['2091361802', 2019-08-09T01:18, 'None', '']
Quick note and deck buttons Fork for 21 ['1331140127', 2020-02-22T06:32, 'None', '']
ReviewHeatmap ['723520343', 2019-08-09T01:16, 'None', '']
Search and Replace Tags ['138501288', 2019-08-09T01:18, 'None', '']

===IDs of active AnkiWeb add-ons===
1331140127 138501288 153625306 1835859645 2091361802 516643804 633922407 723520343

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
on 1583230251

"night mode" on vanilla Anki kinda sucks compared to this ^
I love changing the background colors to a nice Navy Blue 😥

Any ETA on how long it will take to work on 2.1.20?
on 1582965807
I appreciate the fact I can set a timer for night mode to turn itself on automatically
on 1582780254
Dark mode is now apart of the 2.1.20 build of Anki, just like the author said. Can be enabled via Tools/Preferences -> check box Night mode.
on 1582761777
No longer works in 2.1.20 :(
on 1582535777
It doesn't work anymore sadly.
on 1582491531
The dark mode generally looks just fine. But I'm learning languages by typing in the answers and the answer field (where the right answer is shown in comparison to your input) is not covered by the add-on, so it stands out being the only field with dark text on light background. I would very much appreciate a fix!

I use Anki 2.1.7 on Windows
on 1582377164
Thank god there's less eye strain from now on, thank you!!
on 1581905436
I am no longer blind
on 1581778537
on 1581647971
Não funciona no Anki Versão 2.1.20 (47a1bf8b)/ Does not work on Anki Version 2.1.20 (47a1bf8b)
on 1581043849
So much easier on the eyes!
on 1580571616
on 1580475579
i use only darkmode on my mobile phone. If I choose wrong font color on desktop version, i can't read the text later on mobile phone.
on 1580342648
on 1580003476
Everything in the most recent update is working, thanks for fixing that sidebar issue
on 1579972027
Good for night studying
on 1579854717
on 1579815716
Latest version works with upto 2.1.20 beta3

REMINDER: Addons that are disabled do not auto update.
on 1579671164
Honestly shouldn't be a plugin and needs to be part of Anki in the next update.
Amazing nonetheless, works perfectly.
Comment from author
The full Night Mode will be part of the next Anki update :)
on 1579618038
Had to redownload for 2.1.19, works now
on 1579309837
Great addon!
on 1579257821
Awsome, everything should have a night mode
on 1579170394
Great add-on
on 1579068548
Thank you...
on 1578981722
Saves sensitive eyes from the light!
on 1578874506
Awesome. Saving 2h of battery on my laptop.
on 1578727597
My eyes say thank you!
on 1578535613
on 1578526807
on 1577872029
Really nice QOL
on 1577743716
on 1577658549
My eyes really love it, but some other Add-Ons hate it!
- PopUp Dictionary doesn´t work at all
- Blitzkriegs Advanced Browser does work if the Browser is unticked
- Highlight Search Results bugs sometimes
on 1577605552
on 1577442043
Very useful.
on 1577134161
Looks and works great!
on 1577084482
It's good but I have a lot of colors on my cards and it's exhausting to add all of them one by one in "Customize color swapping".
suggestion: It was very good if it had some option to make all colors brighter by some factor so they can be visible in dark mode
for example if I set that option to 50% all colors will be brighter 50% and dark blues will be bright blue or dark greens will be light green.
on 1577032615
good for the eyes
on 1577013531
Can't disable inverting image color.
Running latest anki & addon versions, tried disabling other addons.
on 1577007702
this add-on is good for me!
thank you!
on 1576161019
makes the app look super neat
on 1576157251
saves battery life and easy on the eyes
on 1575708647
I've been using anki and your add-on for years. I've recently updated anki to release 2.1.15 as well as your add-on. It works fine as always but one thing. When you open the browser, your add-on keep it from opening as the last time it was opened. That is, browser is always open with the vertical slider scrolled close to the left side. I think it's just a silly bug but it's quite inconvenient when you open and close that window many times as I do.
on 1575110819
on 1575091041
on 1574973853
Just love the night mode. thx.
: )
on 1574709767
For some reason this addon keeps refreshing my Anki when it's enabled. Very frustrating when I'm trying to do reviews because it'll "refresh" and show the previous review I just did
on 1574656077
on 1574626040
Works great. Thank you.
on 1574534259
Very useful!
on 1574441940
Fixed the awful GTK dark theme in linux KDE. Thanks!!
on 1574244559
THX so much fixed my Unreadable GTK THEME
on 1574163839
Awesome! Exactly what I need.
on 1574026595
on 1573819520
it works great
on 1573071617
on 1572985004
very usefull. Far from perfect but it nicely does the job.
Thanks a lot
on 1572966828
on 1572884288
on 1572627460
on 1572438720
Amzing !!
on 1572210969
works great.
on 1572171258
Hate to thumbs-down but for me this is a deal breaker. It breaks a piece of my main workflow: flags.

For whatever card is selected in the browser, you can't tell what flag is set.
on 1571677884
That's great. thx
on 1571618050
makes everything neat looking
on 1571279961
Works and looks nice. Great for my eyes
on 1571147734
useful, works well
on 1570543097
Love this addon
on 1570457160
works well
on 1570309814
thank you
on 1570043434
It's awesome to have such an option. Thanks
on 1569818609
Even on Linux distribution that include built-in night mode to anki : this night mode still better...
on 1569812528
Should come standard
on 1569690695
Amazing for those late-night study sessions.
on 1569349440
on 1569180703
This is so essential for me. Anki should come with it bundled as default!
on 1568714954
Muito Bom. Obrigado
on 1568620214
I love it, but Anki crashes way more often when I am in night mode
on 1568448235
This add-on helps reduce my eye-strain.
on 1568339781
Very clean, well made
on 1567990322
on 1567658923
It works
on 1567343799
Amazing! So glad I found this add-on!

Does exactly what I've been trying to do for the past few weeks.

It lets me choose the background color, the text color, and I was able to go into the code and change the cloze color easily.

Thank you so much for this!
on 1567234733
on 1566914064
Works well.
on 1566475800
on 1566283050
some blocks is blank
on 1566083744
Looks great!
on 1566025984
on 1565233670
on 1564953401
I'd like it
on 1564656142
Looks much better than the original night mode.
on 1564628443
Flashes white every time a button is clicked on the main page
Comment from author before post was edited
Hi there! If you've got a specific problem with the add-on, please explain it in detail so it could be fixed. Best
on 1564429369
on 1564202525
on 1564164019
Less strain on my eyes, love it!
on 1564100258
much better looking now
on 1564067390
This is awesome!
on 1564049040
Dark theme is quite much a requirement if you have a lot to review.
on 1563803419
Możliwość edycji kolorów.
on 1563415251
Very good!
on 1563395637
on 1563284243
very good for study in the work
on 1563112856
on 1562637795
on 1562230223
on 1562222379
Looks gorgeous thank you!
on 1561657684
This looks really nice!
on 1561582749
Does what it's suppose to for me

Thanks for the add-on
on 1561469144
Works good
on 1560644003
Gnome default theme is white, but this addon adds a very good night mode
on 1560577354
Thank you very much for this! Works and looks great!
on 1560466315
Must have
on 1560337912
looks better than white (normally I don't like night modes) - really useful!
on 1560197598
on 1560102100
Sieht in schwarz richtig gut aus.
on 1560004963
good to use
on 1559569629
on 1558887331
on 1558841271
Amazing add-on!
on 1558766680
awesome dark mode been looking for. good job
on 1558493009
Doesn't work with the new update
on 1558433885
Doesn't seem like there's any way to change the individual font colors for cards. Everything defaults to white.
on 1558409287
works well
on 1558068798
works well
on 1558049626
where is Review Heatmap?
on 1558046396
easy on the eyes
on 1557428989
looks way better
on 1557072361
The ability to edit the color of close deletion is very helpful with the text: .night_mode .cloze { color: red!important }

Is it possible to do the same thing for the “Extra” text? -thanks
on 1556977690
on 1556622102
on 1556585405
Is a verry good addon.
on 1556115477
I like it
on 1556076500
Thank you! Studying before bed is now a little less painful.
on 1556013611
works great, thank you
on 1555853607
awesome theme! Thanks
on 1555713978
Thanks, great job!
on 1555518002
on 1555507886
i couldn't use it
on 1555434705
Very useful
on 1554892420
Pretty good except for the bug that causes white text which also stops html links from working properly;
to stop that bug: (1) view --> nightmode --> turn off "enable in dialogs" or (2) never copy and paste within Anki to Anki while "enable in dialogs" is on.

If the bug affects your flashcards, in edit mode, use shift command x or ctrl shift x to see the code that is spanning your text and remove it.
on 1554637495
I'm not sure I could live without this!
on 1554324202
Could be improved to have schedule automatically detect sunset/sunrise instead of having a flat time that has to be changed throughout the year
on 1554308028
on 1554069229
on 1553337252
Overall good expirience
on 1553181500
Reduces stress on my eyes, when studying late at night.
It basically negates all the colors in Anki
on 1552875679
Does what it says it does
on 1552845450
Perfect! No more migraines
on 1552464622
My eyes and i thanks you!
on 1552416634
Made Anki to crash frequently. It was worst Anki Addon Experience for me.
on 1552304544
Love it!!
on 1552282230
on 1552138836
i love this night mode
on 1551485796
It rescues my eyesights.
on 1551424083
on 1550901018
on 1550867649
on 1550752361
on 1550446210
on 1550212993
i like this add-on
on 1550192881
on 1549968654
ıt seems good.
on 1549924961
Works with gtk theme united gnome
on 1549740487
Works as advertised
on 1549659093
Nicht Mode is right.
on 1549283320
Comment from author before post was edited
It is likely just another extension that you are using (the add-on was tested with 2.1.8 and the tags worked). Please be so kind and follow the "kind requests" section which explains why you should use the issue tracker (https://github.com/krassowski/Anki-Night-Mode/issues) to report bugs. It's fine if you just don't like the add-on to thumb it down - however, if you wish to have a problem solved, you would need to provide more information.
on 1549237705
on 1549078219
Very nice.
on 1548845675
very good
on 1548703771
My eyes thank you.
on 1548629745
A lot of interfaces offer a "night mode" now, probably because people are finding it less strenuous on the eyes to use darker screen colors and lower contrasts--and, of course, because sometimes you want to keep lights lower at night before sleeping. It's great to see that somebody created a somewhat customizeable night mode plugin for Anki.
on 1548537193
Well done!
on 1548161070
Looks nice
on 1548111336
My eyes are saved.
on 1548102754
Works perfectly. Struggled a bit with modifying the colours defined in CSS but krassowski explained an easy way here: https://github.com/krassowski/Anki-Night-Mode/issues/52
Thanks a lot!
on 1548014602
I like this night mode BUT, that white thing really distracts me... https://imgur.com/a/qiRBM2Y can you make it darker?
on 1548007480
eye saving! thank you
on 1547807867
Design of the plug-in is great
on 1547544670
on 1547542008
Better to read.
on 1547399640
Love it!
on 1547370154
on 1547156792
on 1545967596
awesome mode
on 1545670879
On KDE standard dark theme is pretty ugly.
on 1545426200
Thank you so much for this!
on 1545357293
i like it
on 1545299736
The true is on the dark side.
on 1545282316
Looks great, but would it be possible to make tags more visible in 2.1? The colour of the tags are really light and you can't see them very clearly...
https://imgur.com/a/XpmjZZb I'm using MacOS High Sierra, Anki Version 2.1.6
Here is my list of add ons: https://imgur.com/a/q2ejgQc
Comment from author before post was edited
Hi there! I am happy to help, but - as with most of the user complains - I do not have this problem. That's because Anki is used on so many different platforms (Mac, Windows, Linux) in different versions, with different system libraries and importantly with different sets of add-ons which all interfere with each other.

Please, provide your add-on, Anki and OS versions as well as a screenshot and a list of other add-ons installed to help me understand what might be the culprit.

PS. If you use tag-edit subtag completion add-on, this other add-on might be the culprit, see: https://github.com/krassowski/Anki-Night-Mode/issues/45

PS2. Folks, I am doing this in my free time and there is a reason why I ask in the descriptions to follow bug reporting rules on GitHub - instead of using this time to bring improvements to Anki add-ons I spend time asking everyone for the details of their configuration so I can understand their problems - and often without any response/follow-up. So yeah...
on 1545098713
It's a good plugin, that's all.
on 1544629686
Looks and works great.
on 1544329237
on 1544012856
অসাধারন। Its night mode, and that's it
on 1543951407
Tnx, love this theme ^_^
on 1543743558
You can't style cloze deletion answers if you use this plug in. Other than that very good, but this was a deal breaker for me.
Comment from author
Yes, you can: https://github.com/krassowski/Anki-Night-Mode/issues/54#issuecomment-443502016
on 1543627853
Excelente para quem não gosta de muita luminosidade
on 1542969242
Very good
on 1542909193
on 1542853381
Great, has extra settings to change colours of text, etc. Good on the eyes.
on 1542668120
Everything needs a dark mode in 2018 and beyond. Glad to see something that adds anki to the list.
Now my eyes can rest a little while my brain is being flung to the walls (b>.<)b
on 1542555250
Would have been perfect if it was compatible with Power Format Pack add-on. You cannot view formatted texts properly in night mode. shame
Comment from author
I am sorry that it does not work for you. If you wish to report a problem with the add-on, please create a new issue, following instructions at https://github.com/krassowski/Anki-Night-Mode/issues. However, as per my understanding of how the Power Format Pack works, the issue might be actually caused by the power pack itself. If you could provide a reproducible example on the issue tracker, I would be happy to help and fix it.
on 1542115945
Wow, now I can set my Anki not only as "night mode", but also as I desire (for example, dark brown background and solid yellow text)!!
some notes for developers, if needed:
- if the background is light (for example, cyan or light grey), labels of decks still have the same colour and illegible (I know, that night mode wasn't supposed to use light back, so I'm smiling);
- the add-on's label of menu "view" isn't translated to the chosen main menu language and remains as English "view";
- maybe additional colours for every element (button, menu etc.)? (:blush-smile:)
on 1541506941
I love it!
on 1541066189
Lessens strains for night study. Overall a good addition to the program.
on 1540748319
Simple and easy. Looks fantastic. Thanks!
on 1540559376
Dude awesome!! You deserve at least the nobel prize for your night-mode themeing of anki!
on 1540510990
Looks rad
on 1540491047
Awesome update, thanks! Keep up the great work :)
on 1540145625
Great update thanks !
on 1539641716
Շատ լավ հավելում է: Ծրագիրը հաճելի տեսք է ստանում:
on 1539635615
Well done. And essential to work with Anki at night.
Lot's of useful configurations.
on 1539528023
funziona bene e lo stile black mi piace di più
on 1539520382
Looks much better than the default night settings I presume anki was getting from kde plasma and still fits with my theme.
on 1539107376
The design is pleasantly relaxing for the eyes. Thanks for the effort.
on 1538830175
It's really usefull to use at the night, i doesn't damage too much your eyes
on 1538544135
Simple and effective :)
on 1538000823
Looks great!
on 1537118532
At last, night mode on the desktop! No longer Android-only.
on 1536602165
on 1536352460
Very good for resting eyes. a lot thanks to the developers
on 1536341885
on 1536167116
on 1535928109
Ooo! I like; I like.
on 1535922862
Works well!
on 1535534194
Looks great
on 1535312189
I like night modes. This is a good night mode.
on 1535003000
Thank you immensely!

I really love this feature in AnkiDroid and now can happily enjoy using it in desktop version.
on 1534905682
on 1534712846
Very nice and polished. Congrats!
on 1534699084
on 1534127606
Great! Almost all parts working with a great appearance.
on 1532365699

If you have severe problems with staring at a bright computer screen, consider:
(a) increasing your intake of vitamin A (if your eyes hurt when you look at a computer screen, that is a telltale sign of vitamin A deficiency)
(b) installing the free software called Flux (download: https://justgetflux.com/) on your computer. The purpose of this software is exactly to make your eyes not hurt when you look at the computer screen. It does so by lowering the blue-spectre color of the screen (which is what causes the sensation of eye burning). Install Flux, then set it to lower the blue-spectre color of your computer screen: you will notice that the "eye burning" sensation magically goes away and you can use the computer normally.

The add-on is good and all, but I want to point those things out. :)


Update: I just found out that there is a Chrome extension that does to every website you visit, what this add-on does to Anki — apply a dark theme. Pretty amazing! It's called "Dark Reader": https://chrome.google.com/webstore/detail/dark-reader/eimadpbcbfnmbkopoojfekhnkhdbieeh — Also for Firefox: https://addons.mozilla.org/en-US/firefox/addon/darkreader/
on 1532265578
Easy on the eyes.
on 1532218355

The left side browser menu is unusable. Cannot be expanded I only see a sliver of the menu
on 1531432008
good job
on 1530638159
on 1530438156
Makes the experience a whole lot better. Thanks.

note: Use Zoom 2.0 (2.1 404s)
on 1529945370
One of those addons that should be pulled into the official program.
on 1529777707
Thank you
on 1529367551
Fantastic. Works well with the Zanki deck and the Zoom add-on.
on 1529005879
on 1528973660
something that should be there by default, but this also works, dark mode ftw
on 1528588800
Nice addon, much more confortable to do reviews with Night Mode enabled!
on 1527292800
Nice! For some reason, the text on my anki browser was extremely hard to see against a similarly light background -- now I can see stuff perfectly! It looks pretty nice, and is easy on the eyes.
on 1526947200
Your add-on saved my eye! Thanks!
on 1525651200
Just what I needed.
on 1525392000
on 1524960000
Super cool at night :)
on 1524700800
2/5 incompatible with a lot of other add-ons. But my biggest complaints lies within not being able to select which deck to activate "night mode" on, and which deck not using night mode on, since it ruins the look of decks that use heavily CSS theming.
on 1524528000
Saves my sanity
on 1524441600
Aesthetically pleasing and easy on the eyes
on 1523923200
on 1523404800
Makes it a lot more pleasant to study these cards at night now
on 1522627200
Very good!
on 1522627200
Works as intended
on 1522108800
It works great.
on 1521849600
on 1521244800
Well done!
on 1520985600
on 1520985600
Nice black
on 1520899200
helps my eyes
on 1520553600
on 1520035200
I love this!
on 1519862400
Dark mode is what I love on my monitor.
on 1519257600
Thank you, my eyes aren't particularly fond of staring at the bright screen for long periods of time so this is very helpful!
on 1517702400
Very good, but is there any way to change the color of the "Extra Text" in cloze like Ankidroid does it (yellow on black)... Dark blue on black is unreadable, was able to change cloze text in code but can't find extra.
on 1517097600
Good extension, very useful!
on 1517011200
on 1516579200
Great Addon!

Only major bug I've been experiencing is that Anki Crashes when Syncing!
I have the zanki deck loaded (1gb), so this may play a part in it. If anyone/the dev know of a solution, please let me know!
on 1516233600
on 1516233600
Does what is advertised and more. The color swapping is very useful for quick changes. I realise this is called Night Mode and all but with it's versatility could you implement themes/presets so a person can switch from dark to sepia etc on the fly.
Also thanks to the kind reviewer down below suggesting f.lux.
on 1516060800
Pair this up with https://ankiweb.net/shared/info/1333758373 and properly thank your eyes for all the hard work they do when you're at the computer.
on 1515974400
not working on beta 31 (anki 2.1) :(
still giving it a thumbs up
on 1515542400
Excellent! Just what my eyes needed.
on 1515456000
on 1515024000
on 1513728000
Font colours keep getting messed up when editing existing notes.

For example, as I learn new kanji, I modify existing flash cards during my review to include the new kanji I have learned. When I do this I like to hit CTRL+Home and then press enter a few times to create space in the expression field of a flashcard for me to type words with updated kanji. I then paste these words into the original sentence, and reading. I then delete the extra unneeded characters. I have better luck doing this as I'm pretty picky with my furigana readings on my cards. If I do this with this add-on installed and enabled, the font colours get screwed up on my cards. When text should be white in night mode, it starts to show up as black, and when it should be black in night mode it shows up at white.

I un-installed because of this.
on 1513036800
Its works!
on 1512518400
The eyes refuse to work without this addon. Well done!
on 1512259200
Great looking dark theme
on 1511740800
love it !
on 1511740800
Gut fuer nacht lernen.
on 1511395200
Much needed.
on 1511395200
on 1511222400
on 1510790400
It looks so much better! Would like more of these skins to make Anki feel less old school.
on 1510704000
very useful
on 1510704000
on 1510358400
on 1509753600
on 1508630400
on 1508544000
on 1507852800
on 1507334400
on 1506988800
on 1506988800
on 1506816000
on 1506384000
on 1505520000
on 1505088000
on 1504310400
on 1503792000
on 1503100800
on 1502928000
How to fix issues with multiple plugins

As someone else has mentioned in the reviews, other plugins do not always work well with this plugin.
The workaround for this is to edit the plugins. See menu bar: Tools>add ons>your addon>edit

Example #1: for a font plugin set font color 000000 (black) to ffffff (white)
(this worked with the plugin KanjiInfo)
Example #2: for a replay button plugin, set button color black to white
(this worked with the plugin Replay buttons on card)
on 1501977600
on 1501804800
on 1501459200
on 1500768000
on 1500508800
on 1499990400
This is awesome!

Unfortunately it has minor issues with other plugins but it's completely fine.
on 1499731200
on 1499731200
on 1499731200
on 1499126400
on 1499040000
on 1498089600
on 1496620800
on 1495670400
on 1495238400
on 1494892800
on 1494288000

That's really beautiful. I love it.
on 1493424000
Thank you!

It's very useful , thank you author.
on 1493251200
on 1492300800
on 1492128000
on 1491696000
on 1491523200
on 1491523200
Beautiful, but...

I am using the version from March 2017. I have experienced only two issues, so far:
1. If the file browser window is not maximized completely, the user is not allowed to resize and widen the left panel. When maximized, he is allowed to resize it, but still not as much as before installing your addon.
2. The first few drop-down menus on the left side of the screen look great, but the last few menus retain their original color scheme.
Some of this may be the fault of other addons conflicting with yours, but I noticed these things only after installing your addon, so I assume that it is because of your addon.
Thanks for your hard work: the rest is working well, and makes everything easier to read.
on 1491436800
on 1491091200
on 1489881600
on 1489363200
on 1488326400
on 1488153600
on 1488067200
on 1487203200

That's what I was looking for!

Thanks man!
on 1486598400
on 1485561600
The button's on the bottom are skewed

Gave this 3 stars pending a fix on the buttons that become large and skewed when night mode is activated during study. The "again, hard, good and easy" buttons are not visible at all. Also, the review card amount tracker is not enabled.
on 1484438400
on 1483401600
on 1482624000
on 1482278400

Works fine.
on 1482105600
on 1482105600
on 1480204800
on 1480032000
on 1479686400
on 1478995200
on 1478476800
on 1477785600
on 1475971200
on 1475452800
on 1474502400
on 1472428800
Pretty good

YSK that you can use it to have different CSS in day mode and night mode. tag <body> has a class "night_mode", so you can use something like this to style other classes.

.q {color: #494a7f;} /* normal mode */
.night_mode .q {color: #a9aaef;} /* night mode */

Copying text from dialogues sometimes copies the the text colored, so that's a bit of a drawback
on 1471824000
on 1471305600
on 1471132800
on 1468368000
on 1467849600
on 1467072000
on 1464566400
Anki graphs

please add Night Mode for Anki graphs like this style. thank you.

on 1463702400
Must have this one.

Takes care of your eyes.
on 1463529600
on 1461283200
Looks awesome!

Smooth functionality and looks sweet. No more nighttime eye strain.
on 1461283200
on 1460678400
on 1459814400
on 1458864000
on 1458691200
on 1457308800

This theme is fantastic. Thank you.

Minor issue: the scrollbar in the Browser is still black.
on 1456790400
Almost perfect!

Almost perfect. That's exactly what I was looking for. There is a minor imperfection, though: the review buttons don't get highlighted when they have the focus, so you can't tell which button is currently selected,

Apart from that, great great addon! Don't forget to check the Enable In Dialogs menu check boxs as well!
on 1455148800
on 1454803200
on 1454112000
on 1454112000
Excellent, almost perfect

This add-on has made my evening reviews much easier on the eyes and also more fun :) I noticed that there are still UI text elements that are black, such as the "+-" expand/contract to the left of each deck with subdecks. This being fixed, it would be perfect.

EDIT (1/29/2016): Thank you for the fix! It's perfect now!
on 1453852800
on 1453161600
on 1453161600
on 1453075200
on 1452902400
so great for protecting your eyes..........

I like this addon so much.......it really helps to protect my eyes.......thank you for your addon......it's very useful..........
on 1451692800
on 1451260800
Amazing unless you use hyperlinks[Fixed]

Amazing now....
on 1450828800
could be great...

all of my cards contain LaTeX equations and it kind of defeats the purpose to go into Night Mode since it doesn't invert the color of the PDFs ... just get a bright white block with equation on a black background...
on 1448841600

I've been waiting for this kind of addon for so long. Thank you so much!
on 1448323200

This is one of my favorite add-ons :D
on 1447545600
on 1446595200
on 1446336000
on 1444953600
on 1444867200

Does what the title says.
Very Nice! Missed this function before.
on 1441497600
on 1439856000
on 1439596800
on 1439510400
on 1438214400
invert image

Firstly, I would like to say "thank you" for developer of this add-on!
But I can invert image with this add-on actually!
Hope you can fix as soon as possible!
Thanks again!^^
on 1437868800
Very useful

I use it even at daytime because I hate bright light.
Some minor problem/s:
Usually buggy, especially when syncing Anki would sometimes crash (or maybe that's just me because I have a really large collection).
Doesn't work on some dialogs (browser, options, etc)
on 1437264000
on 1434931200
Bug report.

on 1434067200
on 1433203200
Great for studying in the dark

I agree with my foretalkers: Great addon!

I also agree on the major drawback: Brower and Add-Dialog should be styled black too.

Another drawback is the missing ".night"-CSS-Styles, that are supported in AnkiMobile.

One Solution is to overwrite Anki's function for generating the card's html with one that also interprets the nm_state_on variable:

from anki.utils import isMac, isWin
from anki import js
import anki
from aqt import webview

def stdHtml(self, body, css="", bodyClass="", loadCB=None, js=None, head=""):
# this is new:
if nm_state_on:
bodyClass = bodyClass + " night"

if isMac:
button = "font-weight: bold; height: 24px;"
button = "font-weight: normal;"
<!doctype html>
button {

<body class="%s">%s</body></html>""" % (
button, css, js or anki.js.jquery+anki.js.browserSel,
head, bodyClass, body), loadCB)

webview.AnkiWebView.stdHtml = stdHtml
on 1432771200
on 1432512000
on 1432339200
on 1430870400
Great plugin

Great plugin. thanks for taking the time to write this.
on 1428451200
on 1428364800