feat: redesign UI — migrate from PicoCSS to Bootstrap 5#46
Draft
mroderick wants to merge 3 commits into
Draft
Conversation
9ec79e1 to
c292321
Compare
Add Bootstrap 5 (minified CSS + JS bundle) and custom codebar brand overrides. The custom CSS provides: - btn-cb-primary (Trust Blue), btn-cb-green, btn-cb-magenta buttons - alert-cb-info, alert-cb-success, alert-cb-error alert variants - card-header-cb accent (magenta bottom border) - codebar logo from codebar.io
Replace PicoCSS colour classes with custom Bootstrap brand variants: - Alerts: alert-cb-error, alert-cb-success, alert-cb-info - Buttons: btn-cb-primary (Trust Blue), btn-outline-danger (logout) - Layout: nav bar with codebar logo + 'auth' wordmark, Open Sans font - Cards: Bootstrap card with card-header-cb (magenta accent stripe) - Tables: Bootstrap table-hover with table-light header row - Home: centered welcome page with codebar logo for signed-out state - Profile: description list (dl.row) layout inside card - Login: centered layout with full-width auth method buttons - Navigation: links styled as outline-secondary buttons
- Home: simplify to pass Layout only LoginStatus (h1 moved to component) - Auth (login): centered layout, remove FormSection wrapper - Auth (magic link): centered layout with form-label and form-control - Auth (GitHub OAuth): default callbackURL to /profile - Profile: use outline-secondary back link, outline-danger logout - Admin: cleaned up commented query params, Bootstrap button styles
c292321 to
10e3229
Compare
till
reviewed
Jul 14, 2026
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
| <link | ||
| href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap" |
Collaborator
Author
There was a problem hiding this comment.
Good point! I will fix that!
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
Redesign all pages of the codebar auth app using Bootstrap 5 with the codebar brand palette. Switches from PicoCSS to Bootstrap 5, adds custom brand CSS, and restructures components/routes to match.
Commits
4066a9d1f2d9f19ec79e1Changes
data-bs-theme="auto"for dark modeTests
161/161 passing. Removed
FormSectionexport (no longer used),default callbackURL in GitHub OAuth changed to
/profile.