When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

juancarlovieri's blog

By juancarlovieri, history, 3 years ago, In English

Hi, I recently made a dark theme for TOKI's coding platform, TLX.

I did not simply use a color inverter for better results.

You can find it at my GitHub repo (along with the installation instruction). The script is new so there might be some bugs. Feel free to report a bug or giving any suggestions by opening an issue at the repo :))

Update 21/09/20:
- Added copy button to copy the samples.

Update 07/10/20:
- You can use alt + arrow up or arrow down on your keyboard to move between contest menus (overview, announcement, problems, clarification, scoreboard, etc.)

Update 08/10/20:
- You can easily toggle between light and dark mode using the button at the top right corner of the screen.

Update 11/10/20:
- You can now customize the color of the problem statement by clicking the preference button below the Dark/Light button (at the top-right corner of the screen).

Update 13/11/20:
- Delta predictor has been added to the scoreboard so participants can predict their new rating. (just like CF predictor).
PS: If a dialog showing "A userscript wants to access a cross-origin resource." appears, click on "Always allow".

Update 30/12/20:
- Added beta mode. To enable, click "enable beta" on the top right corner of the screen.
- You can now view all problems in one page by pressing "view all problems" below every problem lists. However, this feature is still in beta mode.

Update 31/12/20:
- Added "User Search" feature where you can search for people in TLX by their username. However, this feature is still in beta mode.

Update 01/01/21:
- Added "Settings" tab instead of clutters on top right screen. However, this feature is still in beta mode.

Update 06/01/21:
- All beta features are moved to stable release. This include: User search tab, Settings tab and Viewing all problems in one page.

Update 06/03/21:
- Added automatic switching between dark and light mode. This feature is accessible in the settings tab. However, this feature is still in beta mode.

Update 10/03/21:
- Automatic switching is no longer in beta mode

Update 19/06/21:
- There have been a few changes in tlx's website which made the script broken. This issue have been fixed. Please update the script to the newest version.

Update 20/07/21:
- There have been a few changes in tlx's API which made the script broken. This issue have been fixed. Please update the script to the newest version.

Error codes can be found on the repo

Special thanks to fushar for the amazing platform and sigma_g for guiding me. Check out his awesome dark theme for codeforces

  • Vote: I like it
  • +32
  • Vote: I do not like it

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by juancarlovieri (previous revision, new revision, compare).

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by juancarlovieri (previous revision, new revision, compare).

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Hey juancarlovieri ! will toki allow copying user's submission anytime soon?

  • »
    »
    2 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I am not TLX's developer, but I am pretty sure that they will never allow users to copy others' submissions. However, you can still view them in the form of an image.

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      but why? every platform have it. Is it about ownership of code?