Skip to content

juancarlovieri/tlx-dark-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tlx-dark-theme

This is a dark theme script for tlx.

How to install:

  1. Install Tampermonkey if you don't have it here. If you are using chrome, just go here
  2. Install the script

Script should update itself every 24 hours by default.

If your script is not updating:

  1. Click Tampermonkey on the top right of your browser and go ahead to the dashboard.
  2. Search for "tlx dark theme".
  3. On the actions column, click edit.
  4. Go to the settings tab by clicking "settings" below the title "tlx dark theme" and beside the text "Editor"
  5. On updates, enable "Check for updates"
  6. Hit save below the text "Update URL"

You can find the error codes at the buttom of this README

Any feedbacks are welcome :D

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:

  • Code 1: You need to include the '#' character at the beginning of the Hex Color Code
  • Code 2: The Hex Color Code needs to be 7 characters long
  • Code 3: The Color needs to be in Hex Color Code
  • Code 4: Report to developer
  • Code 5: Report to developer

demo-1

demo-2

demo-3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published