Simon-Initiative / oli-torus

Next Generation OLI Authoring and Delivery Platform
https://proton.oli.cmu.edu
MIT License
78 stars 35 forks source link

[FEATURE] [MER-3292] Fetch background color from an environment variable #4947

Closed simonchoxx closed 5 days ago

simonchoxx commented 1 week ago

MER-3292

This PR modifies the way the background color is set for a student's login view.

Changes are made to take the color from an environment variable declared on the server.

An environment variable called STUDENT_SIGNIN_BACKGROUND_COLOR whose value is a color value in hex format must be declared.

The colors for the different environments should be:

Proton (default) -> #FF82E4 Tokamak -> #54E5A4 Stellarator -> #DB6C1E