Dark theme for TOKI's TLX

Revision en42, by juancarlovieri, 2021-07-19 16:33:44

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en42 English juancarlovieri 2021-07-19 16:33:44 2 Tiny change: 'pdate 20/06/21**:<br>' -> 'pdate 20/07/21**:<br>'
en41 English juancarlovieri 2021-07-19 16:33:27 178
en40 English juancarlovieri 2021-06-19 05:41:45 18 Tiny change: 't version. Expect some bugs.\n\nError' -> 't version.\n\nError'
en39 English juancarlovieri 2021-06-19 05:41:04 18 Tiny change: 't version.\n\nError' -> 't version. Expect some bugs.\n\nError'
en38 English juancarlovieri 2021-06-19 05:32:13 2 Tiny change: ' tlx's webiste which m' -> ' tlx's website which m'
en37 English juancarlovieri 2021-06-19 05:24:45 182
en36 English juancarlovieri 2021-03-10 15:00:13 75
en35 English juancarlovieri 2021-03-06 16:38:21 177
en34 English juancarlovieri 2021-01-06 14:53:39 158
en33 English juancarlovieri 2021-01-01 13:09:31 46
en32 English juancarlovieri 2021-01-01 13:01:52 6 Tiny change: '1/01/21**:\n- Added "S' -> '1/01/21**:<br>- Added "S'
en31 English juancarlovieri 2021-01-01 13:01:33 88
en30 English juancarlovieri 2020-12-31 09:36:12 160
en29 English juancarlovieri 2020-12-31 05:02:39 343 Tiny change: ' screen.\nYou can ' -> ' screen.\n\nYou can '
en28 English juancarlovieri 2020-12-30 06:09:50 40 Tiny change: 'creen.\n\nSpecia' -> 'creen.\n\nError codes can be found on the repo\n\nSpecia'
en27 English juancarlovieri 2020-12-30 06:04:47 311
en26 English juancarlovieri 2020-11-15 04:49:37 9 Tiny change: '/11/20**: Rating predictor' -> '/11/20**: Delta predictor'
en25 English juancarlovieri 2020-11-13 18:45:15 19 Tiny change: 'edictor). PS: If "A usersc' -> 'edictor). \nPS: If a dialog showing "A usersc'
en24 English juancarlovieri 2020-11-13 18:44:16 248
en23 English juancarlovieri 2020-10-11 06:17:56 23 Tiny change: 'platform, TLX.\n\nI did' -> 'platform, [TLX](https://tlx.toki.id).\n\nI did'
en22 English juancarlovieri 2020-10-11 06:16:04 180
en21 English juancarlovieri 2020-10-08 06:28:21 2 Tiny change: 'e 21/09/2020**: Adde' -> 'e 21/09/20**: Adde'
en20 English juancarlovieri 2020-10-08 06:28:08 115
en19 English juancarlovieri 2020-10-08 06:26:44 3 Tiny change: ', problemsets, clarifi' -> ', problems, clarifi'
en18 English juancarlovieri 2020-10-08 06:26:33 129
en17 English juancarlovieri 2020-10-08 06:25:56 366
en16 English juancarlovieri 2020-10-08 06:25:36 17 Tiny change: 'mples.\n\nYou can us' -> 'mples.\n\nUpdate 08/10/20: You can us'
en15 English juancarlovieri 2020-10-08 06:25:18 167
en14 English juancarlovieri 2020-09-24 16:05:42 1 Tiny change: 'he repo :)\n\nSpeci' -> 'he repo :))\n\nSpeci'
en13 English juancarlovieri 2020-09-23 11:24:05 99 Tiny change: 'ight now.~~ FIXED! :' -> 'ight now.~ FIXED! :'
en12 English juancarlovieri 2020-09-23 11:16:56 25
en11 English juancarlovieri 2020-09-23 06:41:48 1 Tiny change: 'e some bug with the ' -> 'e some bugs with the '
en10 English juancarlovieri 2020-09-23 06:41:18 72
en9 English juancarlovieri 2020-09-23 05:02:04 0 (published)
en8 English juancarlovieri 2020-09-23 04:52:50 90
en7 English juancarlovieri 2020-09-23 04:41:58 30 Tiny change: 'to report the bug by openin' -> 'to report a bug or giving any suggestions by openin'
en6 English juancarlovieri 2020-09-22 16:11:56 26
en5 English juancarlovieri 2020-09-22 15:50:48 59
en4 English juancarlovieri 2020-09-22 15:44:05 2
en3 English juancarlovieri 2020-09-22 14:43:23 46
en2 English juancarlovieri 2020-09-22 14:40:55 172
en1 English juancarlovieri 2020-09-22 14:38:11 253 Initial revision (saved to drafts)