Skip to content

Match auth template color scheme to instructor/student blue#1234

Merged
bnmnetp merged 2 commits into
mainfrom
auth-blue-theme
Jun 10, 2026
Merged

Match auth template color scheme to instructor/student blue#1234
bnmnetp merged 2 commits into
mainfrom
auth-blue-theme

Conversation

@bnmnetp

@bnmnetp bnmnetp commented Jun 10, 2026

Copy link
Copy Markdown
Member

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

Old (red/magenta) New (blue) Role
#ab1059 #4a90e2 Primary — headings, buttons, badges, links
#8a0d49 #357abd Button/hover dark shade
#f0d0de #c8dff5 Light section-title underlines
#fdf0f5 #f0f7ff Light hover backgrounds

These 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 in my_courses.html was already blue.
  • The danger-zone reds in profile.html (#dc3545, #f5c6cb, #fff8f8, #721c24) — semantic warning colors for the "Delete Account" section.

Color values only; no markup changes.

🤖 Generated with Claude Code

bnmnetp and others added 2 commits June 8, 2026 11:02
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>
Copilot AI review requested due to automatic review settings June 10, 2026 20:17
@bnmnetp bnmnetp merged commit 43a1bdd into main Jun 10, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants