Блог пользователя darkmodelover

Автор darkmodelover, история, 20 месяцев назад, По-английски

Hi Codeforces Community, Can someone fix sigma_g's (so sorry for ping) Dark Theme for new codeforces test case feature? I tried changing and adding some things and so much if's but I couldn't do it.

My eyes hurt :(
  • Проголосовать: нравится
  • +11
  • Проголосовать: не нравится

»
20 месяцев назад, # |
Rev. 3   Проголосовать: нравится +8 Проголосовать: не нравится

try to migrate to dark reader extension on google, it works better

edit : initially it enables dark mode everywhere in chrome, but in settings you can specify that you want only dark mode on some specific websites (like codeforces.com)

»
20 месяцев назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

Here you go:

Add these two functions to usercript file:

code

It is a hack but it works

preview:

Preview: h

  • »
    »
    20 месяцев назад, # ^ |
    Rev. 2   Проголосовать: нравится +3 Проголосовать: не нравится

    (This is more of a personal choice but still)

    In fixTextInOddTestCasesInput(), redColorJustPassesA11Y is little painful. We can replace it with other shades of red.

    I have used Imperial Red (#ED2939). The difference is very subtle yet little less painful to eyes.

»
19 месяцев назад, # |
  Проголосовать: нравится +13 Проголосовать: не нравится

Hey all! Very sorry but I am not actively using CF anymore. I was notified of this issue on GitHub by two helpful community members last week (https://github.com/GaurangTandon/codeforces-darktheme/issues/46) and I had then immediately patched the issue. Please re-install the theme if you didn't get any update.

Thanks to everyone for using my dark theme for so long, and hopefully this fix will help you to continue using it for longer! :-)
If you ever face any issue, please notify me on my GitHub repository, and I will do my best to fix it asap.

Cheers!