diff options
author | 2018-07-22 21:13:09 +0200 | |
---|---|---|
committer | 2018-07-22 21:13:09 +0200 | |
commit | f967721b6e7acc827f5242e211d9a46a0f9aaddf (patch) | |
tree | deaabdf3416d516b1affcd9c23ef43b9c53ff560 /pysite/constants.py | |
parent | fixed tests that were breaking. hooo-ey. (diff) |
Now doing role colorization instead of random colors for the cleanlog template.
Diffstat (limited to 'pysite/constants.py')
-rw-r--r-- | pysite/constants.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pysite/constants.py b/pysite/constants.py index 69c73492..d7453871 100644 --- a/pysite/constants.py +++ b/pysite/constants.py @@ -101,6 +101,26 @@ JAM_QUESTION_TYPES = [ "slider" ] +# Server role colors +ROLE_COLORS = { + "owners": "#ffa3a1", + "admins": "#e76e6c", + "moderators": "#ce3c42", + "python": "#6f9fed", + "bots": "#6f9fed", + "admin bots": "#6f9fed", + "devops": "#a1d1ff", + "helpers": "#e0b000", + "subreddit moderators": "#d897ed", + "partners": "#b66fed", + "streamers": "#833cba", + "developers": "#fcfcfc", + "muted": "#fcfcfc", + "code jam champions": "#b108b4", + "jammers": "#258639", + "contributors": "#55cc6c" +} + # CSRF CSRF = CSRFProtect() |