Match auth template color scheme to instructor/student blue#1234
Merged
Conversation
Replace the magenta/red palette in the auth templates with the blue scheme used by the instructor and student templates: #ab1059 -> #4a90e2, #8a0d49 -> #357abd, #f0d0de -> #c8dff5, #fdf0f5 -> #f0f7ff The semantic "danger zone" reds in profile.html (account deletion) are left unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the admin auth templates’ inline CSS palette to match the instructor/student blue theme, replacing the prior magenta/red accents for a more consistent UI.
Changes:
- Replaced primary/hover/accent colors in auth templates from
#ab1059/#8a0d49/ pink tints to#4a90e2/#357abd/ light-blue tints. - Updated headings, section underlines, buttons, and badges in the auth templates to use the new blues.
- Adjusted StudyClues widget course allowlist formatting and added a newly enabled course (
umsi101_fall26). (This is a functional behavior change outside the PR’s stated scope.)
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| components/rsptx/templates/admin/auth/register.html | Updates section label color + underline accent to blue palette. |
| components/rsptx/templates/admin/auth/profile.html | Updates section label color + underline accent to blue palette (danger-zone reds unchanged). |
| components/rsptx/templates/admin/auth/my_courses.html | Updates heading/section/button/badge colors to blue palette and light-blue hover tints. |
| components/rsptx/templates/admin/auth/courses.html | Updates heading/section/button colors to blue palette. |
| components/rsptx/templates/admin/auth/_auth_base.html | Updates shared auth base heading/button colors to blue palette. |
| bases/rsptx/interactives/runestone/common/js/bookfuncs.js | Reformats StudyClues allowlist and adds a newly enabled course entry. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
829
to
+833
| const enabledBasecourses = ["csawesome2", "py4e-int", "thinkcspy", "httlacs", "PTXSB", "cppds2"]; | ||
| const enabledCourses = ["SI201-W26-MW", "SI201-W26-TTh", "DukeCS101SP26", "mcd-csa-schoology", "mcd-csa-canvas", "csawesome2-MOOC", "test_py4e-int_api", "bc_cppds_s26", "Test-py4e-int", "virginiatech_py4e-int_spring26"]; | ||
| const enabledCourses = ["SI201-W26-MW", "SI201-W26-TTh", "DukeCS101SP26", | ||
| "mcd-csa-schoology", "mcd-csa-canvas", "csawesome2-MOOC", | ||
| "test_py4e-int_api", "bc_cppds_s26", "Test-py4e-int", | ||
| "virginiatech_py4e-int_spring26", "umsi101_fall26"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The auth templates in
components/rsptx/templates/admin/auth/used a magenta/red palette that clashed with the blue scheme used by the instructor and student templates ("too much red"). This updates the auth templates to match.Color mapping
#ab1059#4a90e2#8a0d49#357abd#f0d0de#c8dff5#fdf0f5#f0f7ffThese map to the instructor menu's primary blues (
#4a90e2/#357abd) and light-blue tints already used in the student templates.Left unchanged
#5b9fc8— the "instructor" badge inmy_courses.htmlwas already blue.profile.html(#dc3545,#f5c6cb,#fff8f8,#721c24) — semantic warning colors for the "Delete Account" section.Color values only; no markup changes.
🤖 Generated with Claude Code