Skip to content

Commit

Permalink
add cos colors, modify others for groups
Browse files Browse the repository at this point in the history
  • Loading branch information
mart2070 committed May 3, 2024
1 parent 8ebb445 commit 192d661
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tdx-enhanced.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name tdx-enhanced
// @namespace ecn
// @version 2024-05-03-04
// @version 2024-05-03-05
// @description enhanced tdx coloring & formatting. follows system color scheme.
// @author Purdue STEM IT - it@purdue.edu
// @match https://service.purdue.edu/TDNext/*
Expand All @@ -19,18 +19,22 @@
//from main webqueue script
var colorsByQueue = {
'aae': {'bg' : '#7030A0', 'txt' : 'white' },
'abe' : {'bg' : '#996633', 'txt' : 'white'},
'abe' : {'bg' : '#256f78', 'txt' : 'white'},
'bidc' : {'bg' : '#C5FFC5', 'txt' : 'black'},
'biology' : {'bg' : '#67c1ee', 'txt' : 'black'},
'bme' : {'bg' : '#0D69FF', 'txt' : 'white'},
'ce' : {'bg' : '#008000', 'txt' : 'white' },
'che' : {'bg' : '#00FF00', 'txt' : 'black'},
'chem' : {'bg' : '#ffb1b7', 'txt' : 'black'},
'coea' : {'bg' : '#00D6BD', 'txt' : 'black'},
'coep' : {'bg' : '#FFDDB7', 'txt' : 'black'},
'comp.sci.' : {'bg' : '#772212', 'txt' : 'white'},
'dp' : {'bg' : '#0070A8', 'txt' : 'white'},
'doe': {'bg' : 'red', 'txt' : 'white'},
'ece' : {'bg' : '#FF6600', 'txt' : 'white'},
'ecnaccts' : {'bg' : '#98A4AE', 'txt' : 'white'},
'students' : {'bg' : '#98A4AE', 'txt' : 'white'},
'eaps' : {'bg' : '#629454', 'txt': 'white'},
'eee' : {'bg' : '#F66A6A', 'txt' : 'white'},
'ene': {'bg' : '#A45CD0', 'txt': 'white' },
'epics': {'bg' : '#E399E3', 'txt' : 'black'},
Expand All @@ -40,15 +44,19 @@
'imi' : {'bg' : '#FFB96D', 'txt' : 'black'},
'apple' : {'bg' : '#666666', 'txt' : 'white'},
'mailman' : {'bg' : 'white', 'txt' : 'black'},
'math' : {'bg' : '#f7977a', 'txt' : 'black'},
'me' : {'bg' : '#b30000', 'txt' : 'white'},
'mse': {'bg' : '#EFD3F5', 'txt' : 'black'},
'ne': {'bg' : '#FFE1E1', 'txt' : 'black'},
'ne': {'bg' : '#af6377', 'txt' : 'white'},
'pari' : {'bg' : '#3f5c8a', 'txt': 'white'},
'physics' : {'bg' : '#07622f', 'txt': 'white'},
//'potr' : {'bg' : '#663300', 'txt' : 'white'},
'president' : {'bg' : '#cfb991', 'txt' : 'black'},
'sitemgrs' : {'bg' : '#98A4AE', 'txt' : 'white'},
'stat' : {'bg' : '#ff6f44', 'txt' : 'white'},
'swt' : {'bg' : '#000ED6', 'txt' : '#FFEE00'},
'polytechnic' : {'bg' : 'black', 'txt' : 'white'},
'cnit' : {'bg' : '#434343', 'txt' : 'white'},
'uds' : {'bg' : '#98A4AE', 'txt' : 'white'},
'udsprojects': {'bg' : '#98A4AE', 'txt' : 'white'},
//'wang' : {'bg' : '#000099', 'txt' : 'white'},
Expand Down

0 comments on commit 192d661

Please sign in to comment.