Skip to content

Add feature: UC Davis theme (colours, buttons, type) - #1

Open
ango-dev wants to merge 1 commit into
BridgeSuite:mainfrom
ango-dev:feature/uc-davis-theme
Open

ango-dev wants to merge 1 commit into
BridgeSuite:mainfrom
ango-dev:feature/uc-davis-theme

Conversation

@ango-dev

Copy link
Copy Markdown

Pull Request: UC Davis theme

Description

What does this PR do?
Restyles the Assignment Maker in UC Davis's brand, using the tokens ucdavis.edu declares:

  • Colours: the academic scale is recoloured, so every screen follows. The header is the site's blue band with a gold wordmark, page titles are heavy blue with gold dots, and the footer is #14447a.
  • Buttons and cards: 5px bold buttons, with a gold accent variant for Export and Save; cards are 12px.
  • Type: Figtree replaces Inter and Merriweather, self-hosted with its OFL notice, as the free stand-in for Proxima Nova.

Type of Change

  • Other: visual theme

Educator/Student Impact

  • Educators creating assignments

JSON Format Changes

  • No changes to JSON format

Testing

I have tested this on:

  • Chrome (Chromium)
  • Firefox
  • Safari
  • Edge

npm test: 20 of 20 suites pass, including the export hash goldens. bundle-tests checks for Figtree and the new palette ends.

Privacy & Client-Side Verification

  • Yes, all processing stays in browser. The font is self-hosted.

PDF Generation / Gradescope Compatibility

  • No changes to PDF generation (the export goldens are byte-identical)
  • No impact on Gradescope

Breaking Changes

  • No

Additional Notes

Changes were made with an AI coding assistant (Claude) and reviewed by me.

- The academic scale is re-coloured with the brand tokens ucdavis.edu
  declares (--ucd-blue #022851, --brand-primary-*), so every screen follows;
  aggie-500 (#13639e) for page titles and the header band, and Aggie Gold
  (#ffbf00) as the accent.
- Header: the site's #13639e band with a gold wordmark (Target, pts and the
  Finalize help circle drawn in white on it); footer #14447a. Page titles are
  heavy blue with the site's row of gold dots.
- Buttons as on the site: 5px corners, bold; navy for ordinary actions, a new
  gold `accent` variant for the one that finishes the job (Export on the
  dashboard, Save in the editor). Cards are 12px.
- Type: Figtree replaces Inter and Merriweather. It is the free (OFL) face
  closest to UC Davis's licensed Proxima Nova, self-hosted with its notice;
  proxima-nova is named first for computers that have it. Headings are the
  same face at a heavy weight, as on the site.
- bundle-tests and the README follow the new palette ends and the one face.
  The exports are unchanged: the export hash tests are byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JxJ2SDjshGhT77PBwFrVVJ

This branch has not been deployed

No deployments
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