Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/bootstrap #63

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Feature/bootstrap #63

wants to merge 3 commits into from

Conversation

lukavdplas
Copy link
Contributor

Replaces bulma and primeNG with bootstrap / ng-bootstrap.

Also closes #52 (which was a bulma issue)

@lukavdplas lukavdplas requested a review from oktaal December 10, 2024 17:22
Copy link
Contributor

@oktaal oktaal left a comment

Choose a reason for hiding this comment

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

Looks great! Will need a few minor tweaks

<nav class="navbar navbar-expand-lg bg-body-tertiary" aria-label="main navigation"
data-bs-theme="dark">
<div class="container-fluid">
<div class="navbar-brand" i18n>
Copy link
Contributor

Choose a reason for hiding this comment

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

image

Aaaaaargh this is apparently standard Bootstrap (added the line to highlight the nope-nope-nope)

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add fs-6 fw-bold

$yellow: #FFCD00,
$blue: #5287C6);
@use 'bulma/bulma';
@use 'bootstrap';
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps something like

// University Brand Colors
$primary: #FFCD00;
$green: #24A793;
$success: $green;
$red: #C00A35;
$danger: $red;
$yellow: #FFCD00;
$warning: $yellow;
$blue: #5287C6;
$info: $blue;
$link-color: $blue;
$link-color-dark: $blue;

@import "bootstrap/scss/bootstrap.scss";

To not lose the UU colors (the yellow in the menu is quite something though)

Copy link
Contributor Author

@lukavdplas lukavdplas Jan 14, 2025

Choose a reason for hiding this comment

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

Most of our applications don't use UU brand colours, but since we're switching to bootstrap, I know ITS has a UU bootstrap theme (which they use for Yoda), and I think portaldev or ILS may have made one too?

I hadn't looked into this yet, but when that becomes relevant, we can probably borrow something instead of making our own theme.

Co-Authored-By: Sheean Spoel <[email protected]>
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.

Text contrast
2 participants